Symbian3/PDK/Source/GUID-CD4B8ECA-AFE7-593C-B095-5D642EA2EC61.dita
changeset 12 80ef3a206772
parent 9 59758314f811
child 14 578be2adaf3e
equal deleted inserted replaced
11:5072524fcc79 12:80ef3a206772
    29 <p>The following diagram shows the usage of the DirectGDI component. In this
    29 <p>The following diagram shows the usage of the DirectGDI component. In this
    30 diagram the application is a regular GUI application that draws using the
    30 diagram the application is a regular GUI application that draws using the
    31 Symbian Window Server API. </p>
    31 Symbian Window Server API. </p>
    32 <fig id="GUID-E0731CEB-BA28-5F07-8584-16286D439433">
    32 <fig id="GUID-E0731CEB-BA28-5F07-8584-16286D439433">
    33 <title> Usage of DirectGDI          </title>
    33 <title> Usage of DirectGDI          </title>
    34 <image href="GUID-E401D2B1-5360-57E3-99D6-3D08730E6C09_d0e263871_href.png" placement="inline"/>
    34 <image href="GUID-E401D2B1-5360-57E3-99D6-3D08730E6C09_d0e269871_href.png" placement="inline"/>
    35 </fig>
    35 </fig>
    36 <p>The Symbian DirectGDI adaptation uses the <xref href="GUID-82B0B4B9-6BC2-5BEF-B3B0-D57AC57F8D8A.dita">Graphics
    36 <p>The Symbian DirectGDI adaptation uses the <xref href="GUID-82B0B4B9-6BC2-5BEF-B3B0-D57AC57F8D8A.dita">Graphics
    37 Resource component</xref>, which provides an abstraction layer for the memory
    37 Resource component</xref>, which provides an abstraction layer for the memory
    38 management of pixel and non-pixel data (such as a list of VG commands). The
    38 management of pixel and non-pixel data (such as a list of VG commands). The
    39 Graphics Resource component supports uniform and non-uniform memory architectures,
    39 Graphics Resource component supports uniform and non-uniform memory architectures,
    43 The Symbian reference Graphics Resource adaptation uses surfaces. </p>
    43 The Symbian reference Graphics Resource adaptation uses surfaces. </p>
    44 <section id="GUID-EB8CE781-DA66-4557-87D1-88B0AF97F7B7"><title>Key concepts
    44 <section id="GUID-EB8CE781-DA66-4557-87D1-88B0AF97F7B7"><title>Key concepts
    45 and terms</title> <p>The key elements of DirectGDI are driver, resources and
    45 and terms</title> <p>The key elements of DirectGDI are driver, resources and
    46 drawing context as shown in the following diagram. </p> <fig id="GUID-13399385-2DC4-50A2-8DC7-5712BC5325A7">
    46 drawing context as shown in the following diagram. </p> <fig id="GUID-13399385-2DC4-50A2-8DC7-5712BC5325A7">
    47 <title> DirectGDI key elements            </title>
    47 <title> DirectGDI key elements            </title>
    48 <image href="GUID-1A02B1FB-FDE3-565B-8E52-0F7FD3AC5188_d0e263892_href.png" placement="inline"/>
    48 <image href="GUID-1A02B1FB-FDE3-565B-8E52-0F7FD3AC5188_d0e269892_href.png" placement="inline"/>
    49 </fig> <p> <b>Driver</b>. The driver class <xref href="GUID-0C7CD826-95FD-3DD2-9394-3A20316C9C61.dita"><apiname>CDirectGdiDriver</apiname></xref> implements
    49 </fig> <p> <b>Driver</b>. The driver class <xref href="GUID-0C7CD826-95FD-3DD2-9394-3A20316C9C61.dita"><apiname>CDirectGdiDriver</apiname></xref> implements
    50 platform-specific functionality to create and manage device-dependent drawing
    50 platform-specific functionality to create and manage device-dependent drawing
    51 contexts and resources. It defines the Hardware Adaptation Interface (HAI)
    51 contexts and resources. It defines the Hardware Adaptation Interface (HAI)
    52 that must be implemented by device creators. </p> <p> <b>Drawing Context</b>. <xref href="GUID-09AFDE10-489E-3215-B821-DE7B2D31A007.dita"><apiname>CDirectGdiContext</apiname></xref> represents
    52 that must be implemented by device creators. </p> <p> <b>Drawing Context</b>. <xref href="GUID-09AFDE10-489E-3215-B821-DE7B2D31A007.dita"><apiname>CDirectGdiContext</apiname></xref> represents
    53 a new drawing context that is similar to <xref href="GUID-4A501086-7EFF-376D-8901-6D9B2EB4EFF2.dita"><apiname>CFbsBitGc</apiname></xref> and <xref href="GUID-B782C9A1-D7CB-3BD7-8167-27F5E3F00CB0.dita"><apiname>CWindowsGc</apiname></xref>,
    53 a new drawing context that is similar to <xref href="GUID-4A501086-7EFF-376D-8901-6D9B2EB4EFF2.dita"><apiname>CFbsBitGc</apiname></xref> and <xref href="GUID-B782C9A1-D7CB-3BD7-8167-27F5E3F00CB0.dita"><apiname>CWindowsGc</apiname></xref>,
    75 </ul> <p>The following figure shows how the DirectGDI generic layer and the
    75 </ul> <p>The following figure shows how the DirectGDI generic layer and the
    76 reference adaptations interface with each other. It shows how the software
    76 reference adaptations interface with each other. It shows how the software
    77 and hardware adaptations use the same HAI. However, only one adaptation can
    77 and hardware adaptations use the same HAI. However, only one adaptation can
    78 be present on a phone. </p> <fig id="GUID-DCD69302-90C3-5C1B-BC62-E901EDBE133B">
    78 be present on a phone. </p> <fig id="GUID-DCD69302-90C3-5C1B-BC62-E901EDBE133B">
    79 <title> DirectGDI architecture            </title>
    79 <title> DirectGDI architecture            </title>
    80 <image href="GUID-3E2E0C91-14B3-53AC-B797-DEE349688477_d0e263997_href.png" placement="inline"/>
    80 <image href="GUID-3E2E0C91-14B3-53AC-B797-DEE349688477_d0e269997_href.png" placement="inline"/>
    81 </fig> <p>For more information about the DirectGDI adaptation layer, see the <xref href="GUID-22E46647-D677-5A47-A7E0-E1E0AE736B27.dita">DirectGDI Adaptation Overview</xref>. </p> </section>
    81 </fig> <p>For more information about the DirectGDI adaptation layer, see the <xref href="GUID-22E46647-D677-5A47-A7E0-E1E0AE736B27.dita">DirectGDI Adaptation Overview</xref>. </p> </section>
    82 <section id="GUID-21429397-2B36-4799-869F-5948C282B4A0"><title>DLL summary</title> <p>DirectGDI
    82 <section id="GUID-21429397-2B36-4799-869F-5948C282B4A0"><title>DLL summary</title> <p>DirectGDI
    83 consists of one DLL, <filepath>directgdi.dll</filepath>. For more information,
    83 consists of one DLL, <filepath>directgdi.dll</filepath>. For more information,
    84 see <xref href="GUID-936A024F-FFBA-530E-A2C6-C835B71633F7.dita">DirectGDI Library </xref>. </p> </section>
    84 see <xref href="GUID-936A024F-FFBA-530E-A2C6-C835B71633F7.dita">DirectGDI Library </xref>. </p> </section>
    85 <section id="GUID-C8B5A833-6687-4198-A57B-81BE433DE7E7"><title>Main usage</title> <p>The
    85 <section id="GUID-C8B5A833-6687-4198-A57B-81BE433DE7E7"><title>Main usage</title> <p>The