mirror of
https://github.com/fltk/fltk.git
synced 2026-06-04 23:42:15 +08:00
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:
@@ -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 <FL/Fl_Bitmap.H>
|
||||
#include <FL/Fl_XBM_Image.H>
|
||||
</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>
|
||||
|
||||
Reference in New Issue
Block a user