Up: GEOS SDK TechDocs | Up | Prev: GrDrawLine() ... | Next: GrDrawRoundRect() ...

GrDrawRect()

void	GrDrawRect(
        GStateHandle		gstate,			/* GState to draw to */
        sword		left,			/* bounds of rectangle to draw */
        sword		top,
        sword		right,
        sword		bottom);

Draws the outline of a rectangle.

Include: graphics.h

GrDrawRectTo()

void	GrDrawRectTo(
        GStateHandle		gstate,			/* GState to draw to */
        sword		x,			/* opposite corner of rectangle */
        sword		y);

Draws the outline of a rectangle, with one corner defined by the current position.

Include: graphics.h

GrDrawRegion()

void	GrDrawRegion(
        GStateHandle		gstate,			/* GState to draw to */
        sword		xPos,			/* Position at which to draw */
        sword		yPos,
        const	Region	* reg,			/* Region definition */
        sword		param0,			/* value to use with
					 * parameterized coordinates */
        sword		param1);			/* value to use with
					 * parameterized coordinates */

Draw a region. The area will be rendered filled with the GState's area attributes.

Include: graphics.h

GrDrawRegionAtCP()

void	GrDrawRegionAtCP(
        GStateHandle		gstate,			/* GState to draw to */
        const	Region 	* reg,			/* region definition */
        sword	param0,	/* Value to use with parameterized coordinates */
        sword	param1,	/* Value to use with parameterized coordinates */
        sword	param2,	/* Value to use with parameterized coordinates */
        sword	param3);	/* Value to use with parameterized coordinates */

Draw a region at the current pen position. The area will be rendered filled with the GState's area attributes.

Include: graphics.h

GrDrawRelArc3PointTo()

void 	GrDrawRelArc3PointTo(
        const ThreePointRelArcToParams *params);

Draw a circular arc relative to the current point given two additional points: the other endpoint and any other point on the arc, both described in relative coordinates.

Include: graphics.h

GrDrawRelLineTo()

void 	GrDrawRelLineTo(
        GStateHandle 		gstate,			/* GState to draw to */
        WWFixedAsDWord 		x,			/* horizontal offset of second point */
        WWFixedAsDWord 		y);			/* vertical offset of second point */

Draw a line from the current pen position, given a displacement from the current pen position to draw to.

Include: graphics.h


Up: GEOS SDK TechDocs | Up | Prev: GrDrawLine() ... | Next: GrDrawRoundRect() ...