Package name | |
---|---|
Fl_Pixmap | FLTK.Images.Pixmaps |
Types | |
---|---|
Fl_Pixmap | Pixmap |
Pixmap_Reference | |
char * | Header |
char | Color_Kind |
char * | Color_Definition |
char ** | Color_Definition_Array |
char ** | Pixmap_Data |
Attributes | |
---|---|
int alloc_data; |
Intentionally left unbound. |
Constructors | |
---|---|
Fl_Pixmap(char *const *D); Fl_Pixmap(uchar *const *D); Fl_Pixmap(const char *const *D); Fl_Pixmap(const uchar *const *D); |
function Create (Values : in Header; Colors : in Color_Definition_Array; Pixels : in Pixmap_Data) return Pixmap with Pre => Colors'Length = Values.Colors and Pixels'Length (1) = Values.Height and (for all Definition of Colors => Ada.Strings.Unbounded.Length (Definition.Name) = Values.Per_Pixel) and Pixels'Length (2) = Values.Width * Values.Per_Pixel; |
Functions and Procedures | |
---|---|
virtual void color_average(Fl_Color c, float i); |
procedure Color_Average (This : in out Pixmap; Col : in Color; Amount : in Blend); |
virtual Fl_Image * copy(int W, int H); |
function Copy (This : in Pixmap; Width, Height : in Natural) return Pixmap'Class; |
Fl_Image * copy(); |
function Copy (This : in Pixmap) return Pixmap'Class; |
virtual void desaturate(); |
procedure Desaturate (This : in out Pixmap); |
virtual void draw(int X, int Y, int W, int H, int cx=0, int cy=0); |
procedure Draw (This : in Pixmap; X, Y, W, H : in Integer; Clip_X, Clip_Y : in Integer := 0); |
void draw(int X, int Y); |
procedure Draw (This : in Pixmap; X, Y : in Integer); |
virtual void label(Fl_Widget *w); |
Marked as obsolete. |
virtual void label(Fl_Menu_Item *m); |
Marked as obsolete. |
virtual void uncache(); |
procedure Uncache (This : in out Pixmap); |
Protected Functions and Procedures | |
---|---|
void measure(); |
Intentionally left unbound. |