|
Library Functions G2D_Setup - Sets up GMath2D library functions. Graphic Functions G2D_Cls - Clears the screen to specified color. G2D_Cls2 - Clears the screen to horizontal 2 colored lines. G2D_DrawPixel - Draws a pixel. G2D_DrawAlphaPixel - Draws an alpha-blended pixel to screen. G2D_DrawLine - Draws a line. G2D_DrawBox - Draws a non-color-filled box. G2D_DrawBoxFilled - Draws a color-filled box. G2D_GetColor - Returns a 16bit color using RGB (565) values. G2D_GetRed - Returns the red attribute of a 16bit color. G2D_GetGreen - Returns the green attribute of a 16bit color. G2D_GetBlue - Returns the blue attribute of a 16bit color. G2D_GetPixel - Gets pixel color from screen coordinate. Rendering Functions G2D_Sync - Draws backbuffer to screen. G2D_SyncRate - Sets the frame rate for use with the Sync function. Bitmap Functions G2D_DeleteBitmap - Releases memory being used by bitmap. G2D_DrawBitmap - Draws a loaded bitmap. G2D_GetBitmapSize - Gets bitmap size in bytes. G2D_LoadBitmap - Loads a specified bitmap. G2D_SetBitmapUseMask - Sets enables mask color filtering for bitmap . G2D_SetBitmapMask - Sets color mask for bitmap. System Functions System_Close - Shuts down program and returns to GP2X Linux. |