📄 class_c_my_picture.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>CMyPicture Class Reference</title><link href="style.css" rel="stylesheet" type="text/css"></head><table border="0" width="100%" height="8" bgcolor="#eeeeee"><tr> <td width="100%" height="1"><b><font size="2" color="#000000" face="Arial, Helvetica, sans-serif"><strong><a name=Top></a>S60 5th Edition SDK for Symbian OS </strong></font></b><br><i>Example Applications Guide</i></td></tr> </table><!-- Generated by Doxygen 1.4.5 --><div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li id="current"><a href="annotated.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></li> </ul></div><div class="tabs"> <ul> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul></div><h1>CMyPicture Class Reference</h1><!-- doxytag: class="CMyPicture" --><!-- doxytag: inherits="CPicture" --><code>#include <<a class="el" href="_my_picture_8h-source.html">MyPicture.h</a>></code><p><p>Inheritance diagram for CMyPicture:<p><center><img src="class_c_my_picture.png" usemap="#CMyPicture_map" border="0" alt=""></center><map name="CMyPicture_map"></map><a href="class_c_my_picture-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>CMyPicture the class which draw the image. <p><p>Definition at line <a class="el" href="_my_picture_8h-source.html#l00029">29</a> of file <a class="el" href="_my_picture_8h-source.html">MyPicture.h</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"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_my_picture.html#5cf419a362531bb02ae4972c057eeb5a">CMyPicture</a> (TSize aSize, CFbsBitmap &aBitmap)</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">TBool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_my_picture.html#f57e4de0ab5cd53747bfca24dd3c3a10">LineBreakPossible</a> (TUint aClass, TBool aBeforePicture, TBool aHaveSpaces) const </td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_my_picture.html#9ff40da0f5a66014f05d17cfadd93eac">Draw</a> (CGraphicsContext &aGc, const TPoint &aTopLeft, const TRect &aClipRect, MGraphicsDeviceMap *aMap) const </td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_my_picture.html#c184e57b42d93178b486f72b5a4afb25">ExternalizeL</a> (RWriteStream &aStream) const </td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_my_picture.html#0669e83225c8fed63fc4740635ff3273">SetOriginalSizeInTwips</a> (TSize aSize)</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_my_picture.html#a64002dd74877f850f5e7f18cf98330c">GetOriginalSizeInTwips</a> (TSize &aSize) const </td></tr><tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6691efee0654843763373e355702d58f"></a><!-- doxytag: member="CMyPicture::iSizeInTwips" ref="6691efee0654843763373e355702d58f" args="" -->TSize </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_my_picture.html#6691efee0654843763373e355702d58f">iSizeInTwips</a></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="26276106331cba77cd405dd3ad3d4975"></a><!-- doxytag: member="CMyPicture::iBitmap" ref="26276106331cba77cd405dd3ad3d4975" args="" -->CFbsBitmap * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_my_picture.html#26276106331cba77cd405dd3ad3d4975">iBitmap</a></td></tr></table><hr><h2>Constructor & Destructor Documentation</h2><a class="anchor" name="5cf419a362531bb02ae4972c057eeb5a"></a><!-- doxytag: member="CMyPicture::CMyPicture" ref="5cf419a362531bb02ae4972c057eeb5a" args="(TSize aSize, CFbsBitmap &aBitmap)" --><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">CMyPicture::CMyPicture </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">TSize </td> <td class="mdname" nowrap> <em>aSize</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>CFbsBitmap & </td> <td class="mdname" nowrap> <em>aBitmap</em></td> </tr> <tr> <td class="md"></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>C++ default constructor. <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>aSize</em> </td><td>Size of the picture in twips. </td></tr> <tr><td valign="top"></td><td valign="top"><em>aBitmap</em> </td><td>Bitmap </td></tr> </table></dl><p>Definition at line <a class="el" href="_my_picture_8cpp-source.html#l00023">23</a> of file <a class="el" href="_my_picture_8cpp-source.html">MyPicture.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00024"></a>00024 : <a class="code" href="class_c_my_picture.html#6691efee0654843763373e355702d58f">iSizeInTwips</a>(aSize), <a class="code" href="class_c_my_picture.html#26276106331cba77cd405dd3ad3d4975">iBitmap</a>(&aBitmap)<a name="l00025"></a>00025 {<a name="l00026"></a>00026 }</pre></div><p> </td> </tr></table><hr><h2>Member Function Documentation</h2><a class="anchor" name="f57e4de0ab5cd53747bfca24dd3c3a10"></a><!-- doxytag: member="CMyPicture::LineBreakPossible" ref="f57e4de0ab5cd53747bfca24dd3c3a10" args="(TUint aClass, TBool aBeforePicture, TBool aHaveSpaces) const " --><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">TBool CMyPicture::LineBreakPossible </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">TUint </td> <td class="mdname" nowrap> <em>aClass</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>TBool </td> <td class="mdname" nowrap> <em>aBeforePicture</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>TBool </td> <td class="mdname" nowrap> <em>aHaveSpaces</em></td> </tr> <tr> <td class="md"></td> <td class="md">) </td> <td class="md" colspan="2"> const</td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Prohibit linebreaks. <p>Definition at line <a class="el" href="_my_picture_8cpp-source.html#l00032">32</a> of file <a class="el" href="_my_picture_8cpp-source.html">MyPicture.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00035"></a>00035 {<a name="l00036"></a>00036 <span class="keywordflow">return</span> EFalse;<a name="l00037"></a>00037 }</pre></div><p> </td> </tr></table><a class="anchor" name="9ff40da0f5a66014f05d17cfadd93eac"></a><!-- doxytag: member="CMyPicture::Draw" ref="9ff40da0f5a66014f05d17cfadd93eac" args="(CGraphicsContext &aGc, const TPoint &aTopLeft, const TRect &aClipRect, MGraphicsDeviceMap *aMap) const " --><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">void CMyPicture::Draw </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">CGraphicsContext & </td> <td class="mdname" nowrap> <em>aGc</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>const TPoint & </td> <td class="mdname" nowrap> <em>aTopLeft</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>const TRect & </td> <td class="mdname" nowrap> <em>aClipRect</em>, </td> </tr>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -