HPGCC3 Documentation 3.0 R003

gglsurface Struct Reference

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

Detailed Description

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.

Definition at line 103 of file ggl.h.


Field Documentation

Definition at line 104 of file ggl.h.

Word-aligned address of the surface buffer.

Definition at line 105 of file ggl.h.

Width (in pixels) of the buffer.

Definition at line 106 of file ggl.h.

Definition at line 106 of file ggl.h.


The documentation for this struct was generated from the following file: