34 friend class Fl_Quartz_Graphics_Driver;
35 friend class Fl_GDI_Graphics_Driver;
36 friend class Fl_GDI_Printer_Graphics_Driver;
37 friend class Fl_Xlib_Graphics_Driver;
46 int start(
int XP,
int YP,
int WP,
int HP,
int &cx,
int &cy,
47 int &X,
int &Y,
int &W,
int &H);
48#if defined(__APPLE__) || defined(WIN32)
67 virtual void draw(
int X,
int Y,
int W,
int H,
int cx=0,
int cy=0);
68 void draw(
int X,
int Y) {
draw(X, Y,
w(),
h(), 0, 0);}
69 virtual void label(Fl_Widget*w);
70 virtual void label(Fl_Menu_Item*m);
Fl_Image, Fl_RGB_Image classes.
The Fl_Bitmap class supports caching and drawing of mono-color (bitmap) images.
Definition Fl_Bitmap.H:33
const uchar * array
pointer to raw bitmap data
Definition Fl_Bitmap.H:41
Fl_Bitmap(const char *bits, int W, int H)
The constructors create a new bitmap from the specified bitmap data.
Definition Fl_Bitmap.H:62
int alloc_array
Non-zero if array points to bitmap data allocated internally.
Definition Fl_Bitmap.H:43
Fl_Bitmap(const uchar *bits, int W, int H)
The constructors create a new bitmap from the specified bitmap data.
Definition Fl_Bitmap.H:59
Base class for image caching and drawing.
Definition Fl_Image.H:55
virtual void draw(int X, int Y, int W, int H, int cx=0, int cy=0)
Draws the image with a bounding box.
Definition Fl_Image.cxx:66
const char *const * data() const
Returns a pointer to the current image data array.
Definition Fl_Image.H:138
int w() const
Returns the current image width in pixels.
Definition Fl_Image.H:111
Fl_Image * copy()
The copy() method creates a copy of the specified image.
Definition Fl_Image.H:150
virtual void label(Fl_Widget *w)
The label() methods are an obsolete way to set the image attribute of a widget or menu item.
Definition Fl_Image.cxx:127
int h() const
Returns the current image height in pixels.
Definition Fl_Image.H:115
virtual void uncache()
If the image has been cached for display, delete the cache data.
Definition Fl_Image.cxx:63
unsigned char uchar
unsigned char
Definition fl_types.h:30