31#ifndef Fl_Tiled_Image_H
32# define Fl_Tiled_Image_H
60 virtual void draw(
int X,
int Y,
int W,
int H,
int cx,
int cy);
61 void draw(
int X,
int Y) {
draw(X, Y,
w(),
h(), 0, 0); }
unsigned int Fl_Color
an FLTK color value
Definition: Enumerations.H:764
Fl_Image is the base class used for caching and drawing all kinds of images in FLTK.
Definition: Fl_Image.H:51
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:63
virtual void desaturate()
The desaturate() method converts an image to grayscale.
Definition: Fl_Image.cxx:110
virtual void color_average(Fl_Color c, float i)
The color_average() method averages the colors in the image with the FLTK color value c.
Definition: Fl_Image.cxx:101
int w() const
Returns the current image width in pixels.
Definition: Fl_Image.H:91
Fl_Image * copy()
The copy() method creates a copy of the specified image.
Definition: Fl_Image.H:136
int h() const
Returns the current image height in pixels.
Definition: Fl_Image.H:94
This class supports tiling of images over a specified area.
Definition: Fl_Tiled_Image.H:45
Fl_Image * image()
Gets The image that is shared.
Definition: Fl_Tiled_Image.H:63