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

GrEndGString()

GStringErrorType GrEndGString( 
        GStateHandle gstate);			/* GState to draw to */

Finish the definition of a graphics string.

Structures:

        	typedef enum { 
		GSET_NO_ERROR, 				
		GSET_DISK_FULL 
} GStringErrorType;

Include: graphics.h

GrEndPath()

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

Finish definition of a path. Further graphics commands will draw to the display, as normal.

Include: graphics.h

GrEndUpdate()

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

Unlocks window from an update.

Include: win.h

GrEnumFonts()

word	GrEnumFonts( /* Return value = number of fonts found */
        FontEnumStruct		* buffer,			/* buffer for returned values */
        word		size,			/* number of structures to return */
        FontEnumFlags		flags,			/* FontEnumFlags */
        word		family);			/* FontFamily */

Generate a list of available fonts. The font information includes both the font's ID and a string name.

Structures:

        	typedef struct {
		FontID FES_ID; 
		char FES_name[FID_NAME_LEN];
} FontEnumStruct; 

Include: font.h

GrEscape()

void	GrEscape(
        GStateHandle		gstate,			/* GState to draw to */
        word		code,			/* escape code */
        const	void	* data,			/* pointer to the data */
        word		size);			/* Size of data, in bytes */

Write an escape code to a graphics string.

Include: graphics.h

GrFillArc()

void	GrFillArc(
        GStateHandle		gstate,				/* GState to draw to */
        sword		left,				/* bounding rectangle */
        sword		top,
        sword		right,
        sword		bottom,
        word		startAngle,				/* angles in degrees
        word		endAngle				 * counter-clockwise */
        ArcCloseType 		closeType);				/* OPEN, CHORD, or PIE */

Fill an elliptical arc. The arc is defined by the bounding rectangle of the base ellipse and two angles. Depending on how the arc is closed, this will result in either a wedge or a chord fill.

Include: graphics.h

GrFillArc3Point()

void	GrFillArc3Point(
        GStateHandle		gstate,				/* GState to draw to */
        const ThreePointParams *params);

Fill an arc. Depending on how the arc is closed, this will result in either a wedge or a chord fill. The arc is defined in terms of its endpoints and one other point, all of which must lie on the arc.

Include: graphics.h

GrFillArc3PointTo()

void	GrFillArc3PointTo(
        GStateHandle		gstate,				/* GState to draw to */
        const ThreePointArcParams 	*params);			

As GrFillArc3Point() , above, except that one endpoint of the arc is defined by the current position.

Include: graphics.h

GrFillBitmap()

void 	GrFillBitmap (
        GStateHandle 		gstate,				/* GState to draw to */
        sword 		x,				/* point at which to draw */
        sword 		y,
        const Bitmap 		* bm,				/* pointer to bitmap */
        Bitmap * _pascal (*callback) (Bitmap *bm));

Fill a monochrome bitmap with the current area attributes. The arguments to this routine are the same as those for GrDrawBitmap() .

Include: graphics.h

GrFillBitmapAtCP()

void 	GrFillBitmapAtCP (
        GStateHandle 		gstate,					/* GState to draw to */
        const Bitmap 		* bm,					/* pointer to bitmap */
        Bitmap * _pascal (*callback) (Bitmap *bm));

Fill a monochrome bitmap with the current area attributes. The bitmap will be drawn at the current position. The arguments to this routine are the same as those for GrDrawBitmapAtCP() .

Include: graphics.h

GrFillHugeBitmap()

void 	GrFillHugeBitmap(
        GStateHandle 		gstate, 
        sword 		x, 
        sword 		y,
        VMFileHandle 		vmFile, 
        VMBlockHandle 		vmBlk);

This routine fills a monochrom bitmap where said bitmap is stored in a huge array data structure. The bitmap is specified by means of the vmFile and vmBlk arguments which should reference the huge array.

Include: graphics.h

GrFillHugeBitmapAtCP()

void 	GrFillHugeBitmapAtCP(
        GStateHandle 		gstate, 
        VMFileHandle 		vmFile, 
        VMBlockHandle 		vmBlk);

This routine fills a monochrom bitmap where said bitmap is stored in a huge array data structure. It will draw at the GState's current position. The bitmap is specified by means of the vmFile and vmBlk arguments which should reference the huge array.

Include: graphics.h


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