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
This commit is contained in:
Michael R Sweet
2001-11-27 04:55:48 +00:00
parent 772f94ca1a
commit 4dc5732a3e
12 changed files with 667 additions and 777 deletions
+1 -1
View File
@@ -3,7 +3,7 @@
<!-- NEW PAGE -->
<H2><A name=Fl_Bitmap>class Fl_Bitmap</A></H2>
<H2><A name="Fl_Bitmap">class Fl_Bitmap</A></H2>
<HR>
<H3>Class Hierarchy</H3>
+13 -15
View File
@@ -3,49 +3,47 @@
<!-- NEW PAGE -->
<H2><A name=Fl_Bitmap>class Fl_Bitmap</A></H2>
<H2><A name="Fl_GIF_Image">class Fl_GIF_Image</A></H2>
<HR>
<H3>Class Hierarchy</H3>
<UL><PRE>
<A href="Fl_Image.html">Fl_Image</A>
<A href="Fl_Pixmap.html">Fl_Pixmap</A>
|
+----<B>Fl_Bitmap</B>
|
+----<A href="Fl_XBM_Image.html">Fl_XBM_Image</A>
+----<B>Fl_GIF_Image</B>
</PRE></UL>
<H3>Include Files</H3>
<UL><PRE>
#include &lt;FL/Fl_Bitmap.H&gt;
#include &lt;FL/Fl_GIF_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_GIF_Image</TT> class supports loading, caching,
and drawing of Compuserve GIF<SUP>SM</SUP> images. The class
loads the first image and supports transparency.</P>
<H3>Methods</H3>
<UL>
<LI><A href="#Fl_Bitmap.Fl_Bitmap">Fl_Bitmap</A></LI>
<LI><A href="#Fl_GIF_Image.Fl_GIF_Image">Fl_GIF_Image</A></LI>
<LI><A href="#Fl_Bitmap.~Fl_Bitmap">~Fl_Bitmap</A></LI>
<LI><A href="#Fl_GIF_Image.~Fl_GIF_Image">~Fl_GIF_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_GIF_Image.Fl_GIF_Image">Fl_GIF_Image::Fl_GIF_Image(const char *filename);</A></H4>
<P>The constructors create a new bitmap from the specified bitmap data.</P>
<P>The constructor loads the named GIF image.</P>
<H4><A name="Fl_Bitmap.~Fl_Bitmap">Fl_Bitmap::~Fl_Bitmap();</A></H4>
<H4><A name="Fl_GIF_Image.~Fl_GIF_Image">Fl_GIF_Image::~Fl_GIF_Image();</A></H4>
<P>The destructor free all memory and server resources that are used by
the bitmap.</P>
the image.</P>
</BODY>
</HTML>
File diff suppressed because it is too large Load Diff
+14 -15
View File
@@ -3,49 +3,48 @@
<!-- NEW PAGE -->
<H2><A name=Fl_Bitmap>class Fl_Bitmap</A></H2>
<H2><A name="Fl_JPEG_Image">class Fl_JPEG_Image</A></H2>
<HR>
<H3>Class Hierarchy</H3>
<UL><PRE>
<A href="Fl_Image.html">Fl_Image</A>
<A href="Fl_RGB_Image.html">Fl_RGB_Image</A>
|
+----<B>Fl_Bitmap</B>
|
+----<A href="Fl_XBM_Image.html">Fl_XBM_Image</A>
+----<B>Fl_JPEG_Image</B>
</PRE></UL>
<H3>Include Files</H3>
<UL><PRE>
#include &lt;FL/Fl_Bitmap.H&gt;
#include &lt;FL/Fl_JPEG_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_JPEG_Image</TT> class supports loading, caching,
and drawing of Joint Photographic Experts Group (JPEG) File
Interchange Format (JFIF) images. The class supports grayscale
and color (RGB) JPEG image files.</P>
<H3>Methods</H3>
<UL>
<LI><A href="#Fl_Bitmap.Fl_Bitmap">Fl_Bitmap</A></LI>
<LI><A href="#Fl_JPEG_Image.Fl_JPEG_Image">Fl_JPEG_Image</A></LI>
<LI><A href="#Fl_Bitmap.~Fl_Bitmap">~Fl_Bitmap</A></LI>
<LI><A href="#Fl_JPEG_Image.~Fl_JPEG_Image">~Fl_JPEG_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_JPEG_Image.Fl_JPEG_Image">Fl_JPEG_Image::Fl_JPEG_Image(const char *filename);</A></H4>
<P>The constructors create a new bitmap from the specified bitmap data.</P>
<P>The constructor loads the named JPEG image.</P>
<H4><A name="Fl_Bitmap.~Fl_Bitmap">Fl_Bitmap::~Fl_Bitmap();</A></H4>
<H4><A name="Fl_JPEG_Image.~Fl_JPEG_Image">Fl_JPEG_Image::~Fl_JPEG_Image();</A></H4>
<P>The destructor free all memory and server resources that are used by
the bitmap.</P>
the image.</P>
</BODY>
</HTML>
+14 -15
View File
@@ -3,49 +3,48 @@
<!-- NEW PAGE -->
<H2><A name=Fl_Bitmap>class Fl_Bitmap</A></H2>
<H2><A name="Fl_PNG_Image">class Fl_PNG_Image</A></H2>
<HR>
<H3>Class Hierarchy</H3>
<UL><PRE>
<A href="Fl_Image.html">Fl_Image</A>
<A href="Fl_RGB_Image.html">Fl_RGB_Image</A>
|
+----<B>Fl_Bitmap</B>
|
+----<A href="Fl_XBM_Image.html">Fl_XBM_Image</A>
+----<B>Fl_PNG_Image</B>
</PRE></UL>
<H3>Include Files</H3>
<UL><PRE>
#include &lt;FL/Fl_Bitmap.H&gt;
#include &lt;FL/Fl_PNG_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_PNG_Image</TT> class supports loading, caching,
and drawing of Portable Network Graphics (PNG) image files. The
class loads colormapped and full-color images and handles color-
and alpha-based transparency.</P>
<H3>Methods</H3>
<UL>
<LI><A href="#Fl_Bitmap.Fl_Bitmap">Fl_Bitmap</A></LI>
<LI><A href="#Fl_PNG_Image.Fl_PNG_Image">Fl_PNG_Image</A></LI>
<LI><A href="#Fl_Bitmap.~Fl_Bitmap">~Fl_Bitmap</A></LI>
<LI><A href="#Fl_PNG_Image.~Fl_PNG_Image">~Fl_PNG_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_PNG_Image.Fl_PNG_Image">Fl_PNG_Image::Fl_PNG_Image(const char *filename);</A></H4>
<P>The constructors create a new bitmap from the specified bitmap data.</P>
<P>The constructor loads the named PNG image.</P>
<H4><A name="Fl_Bitmap.~Fl_Bitmap">Fl_Bitmap::~Fl_Bitmap();</A></H4>
<H4><A name="Fl_PNG_Image.~Fl_PNG_Image">Fl_PNG_Image::~Fl_PNG_Image();</A></H4>
<P>The destructor free all memory and server resources that are used by
the bitmap.</P>
the image.</P>
</BODY>
</HTML>
+14 -15
View File
@@ -3,49 +3,48 @@
<!-- NEW PAGE -->
<H2><A name=Fl_Bitmap>class Fl_Bitmap</A></H2>
<H2><A name="Fl_PNM_Image">class Fl_PNM_Image</A></H2>
<HR>
<H3>Class Hierarchy</H3>
<UL><PRE>
<A href="Fl_Image.html">Fl_Image</A>
<A href="Fl_RGB_Image.html">Fl_RGB_Image</A>
|
+----<B>Fl_Bitmap</B>
|
+----<A href="Fl_XBM_Image.html">Fl_XBM_Image</A>
+----<B>Fl_PNM_Image</B>
</PRE></UL>
<H3>Include Files</H3>
<UL><PRE>
#include &lt;FL/Fl_Bitmap.H&gt;
#include &lt;FL/Fl_PNM_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_PNM_Image</TT> class supports loading, caching,
and drawing of Portable Anymap (PNM, PBM, PGM, PPM) image files. The class
loads bitmap, grayscale, and full-color images in both ASCII and
binary formats.</P>
<H3>Methods</H3>
<UL>
<LI><A href="#Fl_Bitmap.Fl_Bitmap">Fl_Bitmap</A></LI>
<LI><A href="#Fl_PNM_Image.Fl_PNM_Image">Fl_PNM_Image</A></LI>
<LI><A href="#Fl_Bitmap.~Fl_Bitmap">~Fl_Bitmap</A></LI>
<LI><A href="#Fl_PNM_Image.~Fl_PNM_Image">~Fl_PNM_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_PNM_Image.Fl_PNM_Image">Fl_PNM_Image::Fl_PNM_Image(const char *filename);</A></H4>
<P>The constructors create a new bitmap from the specified bitmap data.</P>
<P>The constructor loads the named PNM image.</P>
<H4><A name="Fl_Bitmap.~Fl_Bitmap">Fl_Bitmap::~Fl_Bitmap();</A></H4>
<H4><A name="Fl_PNM_Image.~Fl_PNM_Image">Fl_PNM_Image::~Fl_PNM_Image();</A></H4>
<P>The destructor free all memory and server resources that are used by
the bitmap.</P>
the image.</P>
</BODY>
</HTML>
+16 -13
View File
@@ -3,7 +3,7 @@
<!-- NEW PAGE -->
<H2><A name=Fl_Bitmap>class Fl_Bitmap</A></H2>
<H2><A name="Fl_Pixmap">class Fl_Pixmap</A></H2>
<HR>
<H3>Class Hierarchy</H3>
@@ -11,41 +11,44 @@
<UL><PRE>
<A href="Fl_Image.html">Fl_Image</A>
|
+----<B>Fl_Bitmap</B>
+----<B>Fl_Pixmap</B>
|
+----<A href="Fl_XBM_Image.html">Fl_XBM_Image</A>
+----<A href="Fl_GIF_Image.html">Fl_GIF_Image</A>,
<A href="Fl_XPM_Image.html">Fl_XPM_Image</A>
</PRE></UL>
<H3>Include Files</H3>
<UL><PRE>
#include &lt;FL/Fl_Bitmap.H&gt;
#include &lt;FL/Fl_Pixmap.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_Pixmap</TT> class supports caching and drawing of colormap
(pixmap) images, including transparency.</P>
<H3>Methods</H3>
<UL>
<LI><A href="#Fl_Bitmap.Fl_Bitmap">Fl_Bitmap</A></LI>
<LI><A href="#Fl_Pixmap.Fl_Pixmap">Fl_Pixmap</A></LI>
<LI><A href="#Fl_Bitmap.~Fl_Bitmap">~Fl_Bitmap</A></LI>
<LI><A href="#Fl_Pixmap.~Fl_Pixmap">~Fl_Pixmap</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_Pixmap.Fl_Pixmap">Fl_Pixmap::Fl_Pixmap(const char * const *data);<BR>
Fl_Pixmap::Fl_Pixmap(const char **data);<BR>
Fl_Pixmap::Fl_Pixmap(const unsigned char * const *data);<BR>
Fl_Pixmap::Fl_Pixmap(const unsigned char **data);</A></H4>
<P>The constructors create a new bitmap from the specified bitmap data.</P>
<P>The constructors create a new pixmap from the specified XPM data.</P>
<H4><A name="Fl_Bitmap.~Fl_Bitmap">Fl_Bitmap::~Fl_Bitmap();</A></H4>
<H4><A name="Fl_Pixmap.~Fl_Pixmap">Fl_Pixmap::~Fl_Pixmap();</A></H4>
<P>The destructor free all memory and server resources that are used by
the bitmap.</P>
the pixmap.</P>
</BODY>
</HTML>
+18 -13
View File
@@ -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>
File diff suppressed because it is too large Load Diff
+12 -15
View File
@@ -3,49 +3,46 @@
<!-- NEW PAGE -->
<H2><A name=Fl_Bitmap>class Fl_Bitmap</A></H2>
<H2><A name="Fl_XBM_Image">class Fl_XBM_Image</A></H2>
<HR>
<H3>Class Hierarchy</H3>
<UL><PRE>
<A href="Fl_Image.html">Fl_Image</A>
<A href="Fl_Bitmap.html">Fl_Bitmap</A>
|
+----<B>Fl_Bitmap</B>
|
+----<A href="Fl_XBM_Image.html">Fl_XBM_Image</A>
+----<B>Fl_XBM_Image</B>
</PRE></UL>
<H3>Include Files</H3>
<UL><PRE>
#include &lt;FL/Fl_Bitmap.H&gt;
#include &lt;FL/Fl_XBM_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_XBM_Image</TT> class supports loading, caching,
and drawing of X Bitmap (XBM) bitmap files.</P>
<H3>Methods</H3>
<UL>
<LI><A href="#Fl_Bitmap.Fl_Bitmap">Fl_Bitmap</A></LI>
<LI><A href="#Fl_XBM_Image.Fl_XBM_Image">Fl_XBM_Image</A></LI>
<LI><A href="#Fl_Bitmap.~Fl_Bitmap">~Fl_Bitmap</A></LI>
<LI><A href="#Fl_XBM_Image.~Fl_XBM_Image">~Fl_XBM_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_XBM_Image.Fl_XBM_Image">Fl_XBM_Image::Fl_XBM_Image(const char *filename);</A></H4>
<P>The constructors create a new bitmap from the specified bitmap data.</P>
<P>The constructor loads the named XBM file.</P>
<H4><A name="Fl_Bitmap.~Fl_Bitmap">Fl_Bitmap::~Fl_Bitmap();</A></H4>
<H4><A name="Fl_XBM_Image.~Fl_XBM_Image">Fl_XBM_Image::~Fl_XBM_Image();</A></H4>
<P>The destructor free all memory and server resources that are used by
the bitmap.</P>
the image.</P>
</BODY>
</HTML>
+12 -15
View File
@@ -3,49 +3,46 @@
<!-- NEW PAGE -->
<H2><A name=Fl_Bitmap>class Fl_Bitmap</A></H2>
<H2><A name="Fl_XPM_Image">class Fl_XPM_Image</A></H2>
<HR>
<H3>Class Hierarchy</H3>
<UL><PRE>
<A href="Fl_Image.html">Fl_Image</A>
<A href="Fl_Pixmap.html">Fl_Pixmap</A>
|
+----<B>Fl_Bitmap</B>
|
+----<A href="Fl_XBM_Image.html">Fl_XBM_Image</A>
+----<B>Fl_XPM_Image</B>
</PRE></UL>
<H3>Include Files</H3>
<UL><PRE>
#include &lt;FL/Fl_Bitmap.H&gt;
#include &lt;FL/Fl_XPM_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_XPM_Image</TT> class supports loading, caching,
and drawing of X Pixmap (XPM) images, including transparency.</P>
<H3>Methods</H3>
<UL>
<LI><A href="#Fl_Bitmap.Fl_Bitmap">Fl_Bitmap</A></LI>
<LI><A href="#Fl_XPM_Image.Fl_XPM_Image">Fl_XPM_Image</A></LI>
<LI><A href="#Fl_Bitmap.~Fl_Bitmap">~Fl_Bitmap</A></LI>
<LI><A href="#Fl_XPM_Image.~Fl_XPM_Image">~Fl_XPM_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_XPM_Image.Fl_XPM_Image">Fl_XPM_Image::Fl_XPM_Image(const char *filename);</A></H4>
<P>The constructors create a new bitmap from the specified bitmap data.</P>
<P>The constructor loads the named XPM image.</P>
<H4><A name="Fl_Bitmap.~Fl_Bitmap">Fl_Bitmap::~Fl_Bitmap();</A></H4>
<H4><A name="Fl_XPM_Image.~Fl_XPM_Image">Fl_XPM_Image::~Fl_XPM_Image();</A></H4>
<P>The destructor free all memory and server resources that are used by
the bitmap.</P>
the image.</P>
</BODY>
</HTML>
+3
View File
@@ -71,6 +71,9 @@ Fl_Select_Browser.html
Fl_Single_Window.html
Fl_Slider.html
Fl_Tabs.html
Fl_Text_Buffer.html
Fl_Text_Display.html
Fl_Text_Editor.html
Fl_Tile.html
Fl_Tiled_Image.html
Fl_Timer.html