2001-11-27 05:09:45 +03:00
|
|
|
<HTML>
|
|
|
|
<BODY>
|
|
|
|
|
|
|
|
<!-- NEW PAGE -->
|
|
|
|
|
2001-11-27 07:55:48 +03:00
|
|
|
<H2><A name="Fl_RGB_Image">class Fl_RGB_Image</A></H2>
|
2001-11-27 05:09:45 +03:00
|
|
|
<HR>
|
|
|
|
|
|
|
|
<H3>Class Hierarchy</H3>
|
|
|
|
|
|
|
|
<UL><PRE>
|
|
|
|
<A href="Fl_Image.html">Fl_Image</A>
|
|
|
|
|
|
2001-11-27 07:55:48 +03:00
|
|
|
+----<B>Fl_RGB_Image</B>
|
2001-11-27 05:09:45 +03:00
|
|
|
|
|
2001-11-27 07:55:48 +03:00
|
|
|
+----<A href="Fl_JPEG_Image.html">Fl_JPEG_Image</A>,
|
|
|
|
<A href="Fl_PNG_Image.html">Fl_PNG_Image</A>,
|
|
|
|
<A href="Fl_PNM_Image.html">Fl_PNM_Image</A>
|
|
|
|
|
2001-11-27 05:09:45 +03:00
|
|
|
</PRE></UL>
|
|
|
|
|
|
|
|
<H3>Include Files</H3>
|
|
|
|
|
|
|
|
<UL><PRE>
|
2001-11-27 07:55:48 +03:00
|
|
|
#include <FL/Fl_RGB_Image.H>
|
2001-11-27 05:09:45 +03:00
|
|
|
</PRE></UL>
|
|
|
|
|
|
|
|
<H3>Description</H3>
|
|
|
|
|
2001-11-27 07:55:48 +03:00
|
|
|
<P>The <TT>Fl_RGB_Image</TT> class supports caching and drawing
|
|
|
|
of full-color images with 1 to 4 channels of color information.
|
|
|
|
Images with an even number of channels are assumed to contain
|
|
|
|
alpha information, which is used to blend the image with the
|
|
|
|
contents of the screen.</P>
|
2001-11-27 05:09:45 +03:00
|
|
|
|
|
|
|
<H3>Methods</H3>
|
|
|
|
|
|
|
|
<UL>
|
|
|
|
|
2001-11-27 07:55:48 +03:00
|
|
|
<LI><A href="#Fl_RGB_Image.Fl_RGB_Image">Fl_RGB_Image</A></LI>
|
2001-11-27 05:09:45 +03:00
|
|
|
|
2001-11-27 07:55:48 +03:00
|
|
|
<LI><A href="#Fl_RGB_Image.~Fl_RGB_Image">~Fl_RGB_Image</A></LI>
|
2001-11-27 05:09:45 +03:00
|
|
|
|
|
|
|
</UL>
|
|
|
|
|
2001-11-27 07:55:48 +03:00
|
|
|
<H4><A name="Fl_RGB_Image.Fl_RGB_Image">Fl_RGB_Image::Fl_RGB_Image(const unsigned char *array, int W, int H, int D = 3, int LD = 0);</A></H4>
|
2001-11-27 05:09:45 +03:00
|
|
|
|
2001-11-27 07:55:48 +03:00
|
|
|
<P>The constructor creates a new image from the specified data.</P>
|
2001-11-27 05:09:45 +03:00
|
|
|
|
2001-11-27 07:55:48 +03:00
|
|
|
<H4><A name="Fl_RGB_Image.~Fl_RGB_Image">Fl_RGB_Image::~Fl_RGB_Image();</A></H4>
|
2001-11-27 05:09:45 +03:00
|
|
|
|
|
|
|
<P>The destructor free all memory and server resources that are used by
|
2001-11-27 07:55:48 +03:00
|
|
|
the image.</P>
|
2001-11-27 05:09:45 +03:00
|
|
|
|
|
|
|
</BODY>
|
|
|
|
</HTML>
|