Up: GEOS SDK TechDocs | Up | Prev: GrDrawCurve() ... | Next: GrDrawRect() ...

GrDrawLine()

void	GrDrawLine(
        GStateHandle		gstate,			/* GState to draw to */
        sword		x1,			/* First coordinate of line */
        sword		y1,
        sword		x2,			/* Second coordinate of line */
        sword		y2);

Draw a line.

Include: graphics.h

See Also: GrDrawLineTo(), GrDrawHLine(), GrDrawVLine().

GrDrawLineTo()

void	GrDrawLineTo(
        GStateHandle		gstate,			/* GState to draw to */
        sword		x,			/* Second coordinate of line */
        sword		y);

Draw a line starting from the current position.

Include: graphics.h

See Also: GrDrawLine(), GrDrawHLineTo(), GrDrawVLineTo().

GrDrawPath()

void	GrDrawPath(
        GStateHandle gstate);			/* GState to draw to */

Draws the stroked version of the current path, using the current graphic line attributes.

Include: graphics.h

GrDrawPoint()

void	GrDrawPoint(
        GStateHandle		gstate,			/* GState to draw to */
        sword 		x,			/* Coordinates of point to draw */
        sword 		y);

Draw a pixel.

Include: graphics.h

GrDrawPointAtCP()

void	GrDrawPointAtCP(
        GStateHandle gstate);			/* GState to draw to */

Draw a pixel.

Include: graphics.h

GrDrawPolygon()

void	GrDrawPolygon(
        GStateHandle		gstate,				/* GState to draw to */
        const	Point 	* points,				/* array of points in polygon */
        word		numPoints);				/* number of points in array */

Draws a connected polygon.

Include: graphics.h

GrDrawPolyline()

void	GrDrawPolyline(
        GStateHandle		gstate,				/* GState to draw to */
        const	Point	* points,				/* array of points in polyline */
        word		numPoints);				/* number of points in array */

Draws a simple polyline.

Include: graphics.h


Up: GEOS SDK TechDocs | Up | Prev: GrDrawCurve() ... | Next: GrDrawRect() ...