Description
Pixmaps are off-screen drawables. They can be drawn upon with the standard
drawing primitives, then copied to another drawable (such as a Gdk_Window)
with
Gdk.Drawable.Draw_Drawable. 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).
See
Gdk.Bitmap for more details on bitmap handling.
Subprograms
-
procedure Gdk_New
(Pixmap : out Gdk_Pixmap;
Window : Gdk.Window.Gdk_Window;
Width : Gint;
Height : Gint;
Depth : Gint := -1);
-
-
procedure Ref (Pixmap : Gdk_Pixmap);
-
procedure Unref (Pixmap : Gdk_Pixmap);
-
procedure Create_From_Data
(Pixmap : out Gdk_Pixmap;
Window : Gdk.Window.Gdk_Window;
Data : String;
Width : Gint;
Height : Gint;
Depth : Gint;
Fg : Color.Gdk_Color;
Bg : Color.Gdk_Color);
-
procedure Create_From_Xpm
(Pixmap :
out Gdk_Pixmap;
Window : Gdk.Window.Gdk_Window;
Mask :
in out Gdk.Bitmap.Gdk_Bitmap;
Transparent :
Gdk.Color.Gdk_Color;
Filename : String);
-
procedure Create_From_Xpm
(Pixmap :
out Gdk_Pixmap;
Window : Gdk.Window.Gdk_Window;
Colormap :
Gdk.Color.Gdk_Colormap;
Mask :
in out Gdk.Bitmap.Gdk_Bitmap;
Transparent :
Gdk.Color.Gdk_Color;
Filename : String);
-
-