gml_Drawable.h File Reference


Detailed Description

Wrapper of platform dependent "Drawable" structures (i.e.

onscreen or offscreen bitmaps).

#include "gml/base/gml_Types.h"

Go to the source code of this file.


Typedefs

typedef void * gml_TDrawable
 A pointer to a native drawing port structure.
typedef void * gml_TDisplay
 A pointer to a native display structure.
typedef void * gml_TVisual
 A pointer to a native visual structure.

Functions

GML_EXTERN_C void gml_DrawableSize (gml_TDisplay display, gml_TDrawable drawable, int *width, int *height)
 Returns the width and height of a drawable.

Typedef Documentation

typedef void* gml_TDrawable

A pointer to a native drawing port structure.

On Mac OS X, this is a "CGrafPtr". On X11, this is a "Drawable".

typedef void* gml_TDisplay

A pointer to a native display structure.

(non-NULL only under X-Windows)

typedef void* gml_TVisual

A pointer to a native visual structure.

(non-NULL only under X-Windows)


Function Documentation

GML_EXTERN_C void gml_DrawableSize ( gml_TDisplay  display,
gml_TDrawable  drawable,
int *  width,
int *  height 
)

Returns the width and height of a drawable.

Does not count the size of the window decoration (window title, borders) if the drawable is a window.

Generated on Tue Jun 12 14:03:28 2007 for gml by Doxygen 1.5.2.