#ifndef __GNOMEDEFS_H #define __GNOMEDEFS_H /* * This file contains the definitions for the Gnome Graphics project * * Changes: * When What * ------- ----------------------------------------------------------- * */ /* * Gnome's default properties */ #define GNOME_INIT_POSITION_X 0.0 #define GNOME_INIT_POSITION_Y 0.0 #define GNOME_INIT_HEADING 0.0 /* * Canvas default properties */ #define CANVAS_INIT_WIDTH 256 #define CANVAS_INIT_HEIGHT 256 /* * Canvas data structure */ typedef struct { int width; /* width of the canvas in pixels */ int height; /* height of the canvas in pixels */ unsigned char *bits; /* pointer to the binary bitmap array, ordered in rows from bottom left corner and up */ } GnomeBitmap; #endif /* __GNOMEDEFS_H */