⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 vconvert_8h.html

📁 pwlib开发文档
💻 HTML
字号:
<!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>vconvert.h File Reference</title><link href="doxygen.css" rel="stylesheet" type="text/css"></head><body><!-- Generated by Doxygen 1.2.18 --><center><a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center><hr><h1>vconvert.h File Reference</h1><p><a href="vconvert_8h-source.html">Go to the source code of this file.</a><table border=0 cellpadding=0 cellspacing=0><tr><td></td></tr><tr><td colspan=2><br><h2>Compounds</h2></td></tr><tr><td nowrap align=right valign=top>class &nbsp;</td><td valign=bottom><a class="el" href="classPColourConverter.html">PColourConverter</a></td></tr><tr><td nowrap align=right valign=top>class &nbsp;</td><td valign=bottom><a class="el" href="classPColourConverterRegistration.html">PColourConverterRegistration</a></td></tr><tr><td nowrap align=right valign=top>class &nbsp;</td><td valign=bottom><a class="el" href="classPSynonymColour.html">PSynonymColour</a></td></tr><tr><td nowrap align=right valign=top>class &nbsp;</td><td valign=bottom><a class="el" href="classPSynonymColourRegistration.html">PSynonymColourRegistration</a></td></tr><tr><td colspan=2><br><h2>Defines</h2></td></tr><tr><td nowrap align=right valign=top>#define&nbsp;</td><td valign=bottom><a class="el" href="vconvert_8h.html#a0">_PCONVERT</a></td></tr><tr><td nowrap align=right valign=top>#define&nbsp;</td><td valign=bottom><a class="el" href="vconvert_8h.html#a1">PCOLOUR_CONVERTER2</a>(cls, ancestor, src, dst)</td></tr><tr><td nowrap align=right valign=top>#define&nbsp;</td><td valign=bottom><a class="el" href="vconvert_8h.html#a2">PCOLOUR_CONVERTER</a>(cls, src, dst)&nbsp;&nbsp;&nbsp;PCOLOUR_CONVERTER2(cls,<a class="el" href="classPColourConverter.html">PColourConverter</a>,src,dst)</td></tr><tr><td nowrap align=right valign=top>#define&nbsp;</td><td valign=bottom><a class="el" href="vconvert_8h.html#a3">PSYNONYM_COLOUR_CONVERTER</a>(from, to)&nbsp;&nbsp;&nbsp;static <a class="el" href="classPSynonymColourRegistration.html">PSynonymColourRegistration</a> p_##from##_##to##_registration_instance(#from,#to)</td></tr></table><hr><h2>Define Documentation</h2><a name="a0" doxytag="vconvert.h::_PCONVERT"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> #define _PCONVERT      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>    </td>  </tr></table><a name="a2" doxytag="vconvert.h::PCOLOUR_CONVERTER"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> #define PCOLOUR_CONVERTER</td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">cls,         <tr>          <td></td>          <td></td>          <td class="md" nowrap>src,         <tr>          <td></td>          <td></td>          <td class="md" nowrap>dst&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap>&nbsp;&nbsp;&nbsp;PCOLOUR_CONVERTER2(cls,<a class="el" href="classPColourConverter.html">PColourConverter</a>,src,dst)      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Declare a colour converter class with Convert() function. This should only be used once and at the global scope level for each converter. It declares everything needs so only the body of the Convert() function need be added.     </td>  </tr></table><a name="a1" doxytag="vconvert.h::PCOLOUR_CONVERTER2"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> #define PCOLOUR_CONVERTER2</td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">cls,         <tr>          <td></td>          <td></td>          <td class="md" nowrap>ancestor,         <tr>          <td></td>          <td></td>          <td class="md" nowrap>src,         <tr>          <td></td>          <td></td>          <td class="md" nowrap>dst&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p><b>Value:</b><div class="fragment"><pre><span class="keyword">class </span>cls : <span class="keyword">public</span> ancestor { \  <span class="keyword">public</span>: \  cls(<span class="keyword">const</span> <a class="code" href="classPString.html">PString</a> &amp; srcFmt, <span class="keyword">const</span> <a class="code" href="classPString.html">PString</a> &amp; dstFmt, <span class="keywordtype">unsigned</span> w, <span class="keywordtype">unsigned</span> h) \    : ancestor(srcFmt, dstFmt, w, h) { } \  <span class="keyword">virtual</span> BOOL Convert(<span class="keyword">const</span> BYTE *, BYTE *, PINDEX * = NULL); \}; \<span class="keyword">static</span> <span class="keyword">class </span>cls##_Registration : <span class="keyword">public</span> <a class="code" href="classPColourConverterRegistration.html">PColourConverterRegistration</a> { \  <span class="keyword">public</span>: \  cls##_Registration() \    : <a class="code" href="classPColourConverterRegistration.html">PColourConverterRegistration</a>(src,dst) { } \  <span class="keyword">virtual</span> <a class="code" href="classPColourConverter.html">PColourConverter</a> * Create(<span class="keywordtype">unsigned</span> w, <span class="keywordtype">unsigned</span> h) <span class="keyword">const</span>; \} p_##cls##_registration_instance; \<a class="code" href="classPColourConverter.html">PColourConverter</a> * cls##_Registration::Create(<span class="keywordtype">unsigned</span> w, <span class="keywordtype">unsigned</span> h) <span class="keyword">const</span> \  { PINDEX tab = Find(<span class="charliteral">'\t'</span>); <span class="keywordflow">return</span> <span class="keyword">new</span> cls(Left(tab), Mid(tab+1), w, h); } \BOOL cls::Convert(<span class="keyword">const</span> BYTE *srcFrameBuffer, BYTE *dstFrameBuffer, PINDEX * bytesReturned)</pre></div>Declare a colour converter class with Convert() function. This should only be used once and at the global scope level for each converter. It declares everything needs so only the body of the Convert() function need be added.     </td>  </tr></table><a name="a3" doxytag="vconvert.h::PSYNONYM_COLOUR_CONVERTER"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> #define PSYNONYM_COLOUR_CONVERTER</td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">from,         <tr>          <td></td>          <td></td>          <td class="md" nowrap>to&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap>&nbsp;&nbsp;&nbsp;static <a class="el" href="classPSynonymColourRegistration.html">PSynonymColourRegistration</a> p_##from##_##to##_registration_instance(#from,#to)      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Define synonym colour format. This is a class that defines for which no conversion is required between the specified colour format names.     </td>  </tr></table><hr><address style="align: right;"><small>Generated on Wed Sep 29 22:44:12 2004 for PWLib by<a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.2.18 </small></address></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -