1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64
|
<HTML>
<HEAD>
<TITLE>Fl_RGB_Image</TITLE>
</HEAD>
<BODY>
<!-- NEW PAGE -->
<H2><A name="Fl_RGB_Image">class Fl_RGB_Image</A></H2>
<HR>
<H3>Class Hierarchy</H3>
<UL><PRE>
<A href="Fl_Image.html">Fl_Image</A>
|
+----<B>Fl_RGB_Image</B>
|
+----<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>,
<A href="Fl_BMP_Image.html">Fl_BMP_Image</A>
</PRE></UL>
<H3>Include Files</H3>
<UL><PRE>
#include <FL/Fl_RGB_Image.H>
</PRE></UL>
<H3>Description</H3>
<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>
<P><TT>Fl_RGB_Image</TT> is defined in
<TT><FL/Fl_Image.H></TT>, however for compatibility reasons
<TT><FL/Fl_RGB_Image.H></TT> should be included.</P>
<H3>Methods</H3>
<UL>
<LI><A href="#Fl_RGB_Image.Fl_RGB_Image">Fl_RGB_Image</A></LI>
<LI><A href="#Fl_RGB_Image.~Fl_RGB_Image">~Fl_RGB_Image</A></LI>
</UL>
<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>
<P>The constructor creates a new image from the specified data.</P>
<H4><A name="Fl_RGB_Image.~Fl_RGB_Image">Fl_RGB_Image::~Fl_RGB_Image();</A></H4>
<P>The destructor free all memory and server resources that are used by
the image.</P>
</BODY>
</HTML>
|