Pixmap Class Reference

List of all members.

Detailed Description

Functions for rendering pixbufs on drawables.


Public Member Functions

GdkPixmap * gdkP ()
 gets this pixmap GdkPixmap strcut
 this (Drawable drawable, gint width, gint height, gint depth)
 Create a new pixmap.

Static Public Member Functions

Pixmap createFromData (Drawable drawable, char[] data, gint width, gint height, gint depth, Color fg, Color bg)
 Create a new pixmap from a data.
Pixmap createFromXpm (Drawable drawable, Bitmap mask, Color transparent_color, char[] filename)
 Create a new pixmap from a xpm.


Member Function Documentation

Pixmap Pixmap.createFromData Drawable  drawable,
char[]  data,
gint  width,
gint  height,
gint  depth,
Color  fg,
Color  bg
[static]
 

Create a new pixmap from a data.

Parameters:
drawable 
data 
width 
height 
depth 
fg color
bg 

Pixmap Pixmap.createFromXpm Drawable  drawable,
Bitmap  mask,
Color  transparent_color,
char[]  filename
[static]
 

Create a new pixmap from a xpm.

Parameters:
drawable 
mask 
transparent_color 
filename 

GdkPixmap* Pixmap.gdkP  ) 
 

gets this pixmap GdkPixmap strcut

Returns:
the GdkPixmap

Pixmap.this Drawable  drawable,
gint  width,
gint  height,
gint  depth
 

Create a new pixmap.

Parameters:
drawable 
width 
height 
depth 


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