## class fltk::RGB_Image

This subclass of `fltk::Image` encapsulates a full-color RGB image, and allows you to make an `fltk::Widget` use an image as a label, or to just draw the image directly. This is more efficient than using fltk::draw_image() if you want to draw the same image more than once.

#### fltk::RGB_Image(const unsigned char *data, int W, int H, int D = 3, int LD = 0)

Construct using a pointer to RGB data. `W` and `H` are the size of the image in pixels. `D` is the delta between pixels (it may be more than 3 to skip alpha or other data, or negative to flip the image left/right). `LD` is the delta between lines (it may be more than `D * W` to crop images, or negative to flip the image vertically). The data pointer is simply copied to the object, so it must point at persistent storage.

#### ~RGB_Image()

The destructor will destroy any X pixmap created. It does not do anything to the data.

#### void draw(int x, int y, int w, int h, fltk::Flags = 0)

The image is drawn with the top-left corner at x,y. The w and h are ignored. The flags are ignored (although really it should use `fltk::INACTIVE` to gray out the image).

#### void draw(int x, int y, fltk::Flags = 0)

Draws the image with the upper-left corner at `x,y`. This is the same as doing `draw(x, y, this->w, this->h, flags)`.