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 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>paintlib: PLBmpEncoder class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3.2 -->
<div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a></div>
<h1>PLBmpEncoder Class Reference</h1><code>#include <<a class="el" href="plbmpenc_8h-source.html">plbmpenc.h</a>></code>
<p>
<p>Inheritance diagram for PLBmpEncoder:
<p><center><img src="classPLBmpEncoder.png" usemap="#PLBmpEncoder_map" border="0" alt=""></center>
<map name="PLBmpEncoder_map">
<area href="classPLPicEncoder.html" alt="PLPicEncoder" shape="rect" coords="0,56,99,80">
</map>
<a href="classPLBmpEncoder-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top><a name="a0" doxytag="PLBmpEncoder::PLBmpEncoder"></a>
</td><td class="memItemRight" valign=bottom><a class="el" href="classPLBmpEncoder.html#a0">PLBmpEncoder</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Creates an encoder. <br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top><a name="a1" doxytag="PLBmpEncoder::~PLBmpEncoder"></a>
</td><td class="memItemRight" valign=bottom><a class="el" href="classPLBmpEncoder.html#a1">~PLBmpEncoder</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Destroys a encoder. <br><br></td></tr>
<tr><td colspan=2><br><h2>Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classPLBmpEncoder.html#b0">DoEncode</a> (<a class="el" href="classPLBmpBase.html">PLBmpBase</a> *pBmp, <a class="el" href="classPLDataSink.html">PLDataSink</a> *pDataSink)</td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top><a name="b1" doxytag="PLBmpEncoder::GetLineMemNeeded"></a>
int </td><td class="memItemRight" valign=bottom><b>GetLineMemNeeded</b> (PLLONG width, PLWORD BitsPerPixel)</td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Encoder class for windows bmp files. Writes 1, 8 and 24 bpp. 32 bpp bitmaps are written as 24 bpp.
<p>
<p>
Definition at line <a class="el" href="plbmpenc_8h-source.html#l00021">21</a> of file <a class="el" href="plbmpenc_8h-source.html">plbmpenc.h</a>.<hr><h2>Member Function Documentation</h2>
<a name="b0" doxytag="PLBmpEncoder::DoEncode"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> void PLBmpEncoder::DoEncode </td>
<td class="md" valign="top">( </td>
<td class="md" nowrap valign="top"><a class="el" href="classPLBmpBase.html">PLBmpBase</a> * </td>
<td class="mdname" nowrap> <em>pBmp</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap><a class="el" href="classPLDataSink.html">PLDataSink</a> * </td>
<td class="mdname" nowrap> <em>pDataSink</em></td>
</tr>
<tr>
<td></td>
<td class="md">) </td>
<td class="md" colspan="2"><code> [protected, virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
</td>
<td>
<p>
Implements the actual encoding process. Uses variables local to the object to retrieve and store the data. Implemented in derived classes.
<p>
Implements <a class="el" href="classPLPicEncoder.html#b0">PLPicEncoder</a>. </td>
</tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="plbmpenc_8h-source.html">plbmpenc.h</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Mon Sep 13 16:16:41 2004 for paintlib by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.2 </small></address>
</body>
</html>
|