|
HPGCC3 Documentation 3.0 R003
|
A surface (bitmap) that can be drawn upon using GGL. More...
#include <ggl.h>
Data Fields | |
| int * | addr |
| int | width |
| Word-aligned address of the surface buffer. | |
| int | x |
| Width (in pixels) of the buffer. | |
| int | y |
A surface (bitmap) that can be drawn upon using GGL.
All GGL operations are performed on surfaces. Each surface is an instance of this data structure. The LCD screen is a surface as well. Surfaces can be copied, scrolled, etc. To create a surface, the user should allocate a memory block of enough size to accomodate the desired bitmap. The size in bytes is (width*height)/2.
| int* gglsurface::addr |
| int gglsurface::x |
| int gglsurface::y |