gdk.Bitmap.Bitmap Class Reference

List of all members.

Detailed Description

Description Pixmaps are offscreen drawables.

They can be drawn upon with the standard drawing primitives, then copied to another drawable (such as a GdkWindow) with gdk_pixmap_draw(). The depth of a pixmap is the number of bits per pixels. Bitmaps are simply pixmaps with a depth of 1. (That is, they are monochrome bitmaps - each pixel can be either on or off).


Public Member Functions

GdkBitmapgetBitmapStruct ()
 this (GdkBitmap *gdkBitmap)
 Sets our main struct and passes it to the parent class.

Static Public Member Functions

static Bitmap createFromData (Drawable drawable, char[] data, int width, int height)
 Creates a new bitmap from data in XBM format.

Protected Member Functions

void * getStruct ()
 the main Gtk struct as a void*

Protected Attributes

GdkBitmapgdkBitmap
 the main Gtk struct


Constructor & Destructor Documentation

gdk.Bitmap.Bitmap.this ( GdkBitmap gdkBitmap  ) 

Sets our main struct and passes it to the parent class.


Member Function Documentation

static Bitmap gdk.Bitmap.Bitmap.createFromData ( Drawable  drawable,
char[]  data,
int  width,
int  height 
) [static]

Creates a new bitmap from data in XBM format.

drawable: a GdkDrawable, used to determine default values for the new pixmap. Can be NULL, in which case the root window is used. data: a pointer to the XBM data. width: the width of the new pixmap in pixels. height: the height of the new pixmap in pixels. Returns: the GdkBitmap

GdkBitmap* gdk.Bitmap.Bitmap.getBitmapStruct (  ) 

void* gdk.Bitmap.Bitmap.getStruct (  )  [protected]

the main Gtk struct as a void*


Member Data Documentation

GdkBitmap* gdk.Bitmap.Bitmap.gdkBitmap [protected]

the main Gtk struct


SourceForge.net Logo DSource.org Logo digitalmars.com Logo