22#ifndef Fl_Tiled_Image_H 
   23#  define Fl_Tiled_Image_H 
   45  virtual Fl_Image *
copy(
int W, 
int H);
 
   49  virtual void draw(
int X, 
int Y, 
int W, 
int H, 
int cx, 
int cy);
 
   50  void draw(
int X, 
int Y) { 
draw(X, Y, 
w(), 
h(), 0, 0); }
 
   52  Fl_Image *
image() { 
return image_; }
 
 
unsigned int Fl_Color
An FLTK color value; see also Colors.
Definition Enumerations.H:941
Fl_Image, Fl_RGB_Image classes.
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
virtual void desaturate()
The desaturate() method converts an image to grayscale.
Definition Fl_Image.cxx:117
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:106
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
int h() const
Returns the current image height in pixels.
Definition Fl_Image.H:115
Fl_Tiled_Image(Fl_Image *i, int W=0, int H=0)
The constructors create a new tiled image containing the specified image.
Definition Fl_Tiled_Image.cxx:57
Fl_Image * image()
Gets The image that is tiled.
Definition Fl_Tiled_Image.H:52