summaryrefslogtreecommitdiff
path: root/documentation/Fl_RGB_Image.html
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2001-11-27 04:55:48 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2001-11-27 04:55:48 +0000
commit4dc5732a3e0f376786d1d6b788e5cf601439e890 (patch)
tree2aab2bfb14b58f41f28f327b734f1a775f2a4376 /documentation/Fl_RGB_Image.html
parent772f94ca1ac8aec25aa4ccc337454cf76c5ea700 (diff)
Image class docos.
Start of text buffer docos. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1754 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'documentation/Fl_RGB_Image.html')
-rw-r--r--documentation/Fl_RGB_Image.html31
1 files changed, 18 insertions, 13 deletions
diff --git a/documentation/Fl_RGB_Image.html b/documentation/Fl_RGB_Image.html
index 010fcc73a..1504a46aa 100644
--- a/documentation/Fl_RGB_Image.html
+++ b/documentation/Fl_RGB_Image.html
@@ -3,7 +3,7 @@
<!-- NEW PAGE -->
-<H2><A name=Fl_Bitmap>class Fl_Bitmap</A></H2>
+<H2><A name="Fl_RGB_Image">class Fl_RGB_Image</A></H2>
<HR>
<H3>Class Hierarchy</H3>
@@ -11,41 +11,46 @@
<UL><PRE>
<A href="Fl_Image.html">Fl_Image</A>
|
- +----<B>Fl_Bitmap</B>
+ +----<B>Fl_RGB_Image</B>
|
- +----<A href="Fl_XBM_Image.html">Fl_XBM_Image</A>
+ +----<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>
+
</PRE></UL>
<H3>Include Files</H3>
<UL><PRE>
-#include &lt;FL/Fl_Bitmap.H&gt;
+#include &lt;FL/Fl_RGB_Image.H&gt;
</PRE></UL>
<H3>Description</H3>
-<P>The <TT>Fl_Bitmap</TT> class supports caching and drawing of mono-color
-(bitmap) images. Images are drawn using the current color.</P>
+<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>
<H3>Methods</H3>
<UL>
- <LI><A href="#Fl_Bitmap.Fl_Bitmap">Fl_Bitmap</A></LI>
+ <LI><A href="#Fl_RGB_Image.Fl_RGB_Image">Fl_RGB_Image</A></LI>
- <LI><A href="#Fl_Bitmap.~Fl_Bitmap">~Fl_Bitmap</A></LI>
+ <LI><A href="#Fl_RGB_Image.~Fl_RGB_Image">~Fl_RGB_Image</A></LI>
</UL>
-<H4><A name="Fl_Bitmap.Fl_Bitmap">Fl_Bitmap::Fl_Bitmap(const char *array, int W, int H);<BR>
-Fl_Bitmap::Fl_Bitmap(const unsigned char *array, int W, int H);</A></H4>
+<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 constructors create a new bitmap from the specified bitmap data.</P>
+<P>The constructor creates a new image from the specified data.</P>
-<H4><A name="Fl_Bitmap.~Fl_Bitmap">Fl_Bitmap::~Fl_Bitmap();</A></H4>
+<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 bitmap.</P>
+the image.</P>
</BODY>
</HTML>