11 PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd"> |
11 PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd"> |
12 <concept id="GUID-A4426CEC-80F1-53F4-8838-D069FA758ACD" xml:lang="en"><title>FontsShell: |
12 <concept id="GUID-A4426CEC-80F1-53F4-8838-D069FA758ACD" xml:lang="en"><title>FontsShell: |
13 fonts</title><prolog><metadata><keywords/></metadata></prolog><conbody> |
13 fonts</title><prolog><metadata><keywords/></metadata></prolog><conbody> |
14 <p> <b>Note: </b> This example is designed to work with TechView and there |
14 <p> <b>Note: </b> This example is designed to work with TechView and there |
15 is no guarantee that it will work with other interfaces. </p> |
15 is no guarantee that it will work with other interfaces. </p> |
16 <section><title>Description</title> <p> <filepath>FontsShell</filepath> provides |
16 <section id="GUID-BA7FCDDA-EEBC-4F30-9231-F8BBD591B2C8"><title>Description</title> <p> <filepath>FontsShell</filepath> provides |
17 an application shell and two concrete controls. </p> <p> <codeph>CGraphicExampleControl</codeph> is |
17 an application shell and two concrete controls. </p> <p> <codeph>CGraphicExampleControl</codeph> is |
18 a control class, derived from <codeph>CCoeControl</codeph>, which links the |
18 a control class, derived from <codeph>CCoeControl</codeph>, which links the |
19 app shell to the particular controls. </p> <p> <codeph>CHelloControl</codeph> illustrates |
19 app shell to the particular controls. </p> <p> <codeph>CHelloControl</codeph> illustrates |
20 the drawing of text using a standard font. </p> <p> <codeph>CFontControl</codeph> illustrates |
20 the drawing of text using a standard font. </p> <p> <codeph>CFontControl</codeph> illustrates |
21 the use of fonts. </p> </section> |
21 the use of fonts. </p> </section> |
22 <section><title>Download</title> <p>Click on the following link to download |
22 <section id="GUID-E921AEBD-1CF2-433F-A411-630F1BB0F813"><title>Download</title> <p>Click on the following link to download |
23 the example: <xref href="guid-6013a680-57f9-415b-8851-c4fa63356636/zips/guid-e6602c15-dd08-48ac-8e9a-9f6c0a47cd80.zip" scope="external">Fonts.zip</xref></p>Download some additional files required |
23 the example: <xref href="guid-6013a680-57f9-415b-8851-c4fa63356636/zips/guid-e6602c15-dd08-48ac-8e9a-9f6c0a47cd80.zip" scope="external">Fonts.zip</xref></p>Download some additional files required |
24 by the example: <xref href="guid-6013a680-57f9-415b-8851-c4fa63356636/zips/guid-a92c7d47-fa68-49c6-9e43-c9c2e650f219.zip" scope="external">CommonGraphicsExampleFiles</xref><p>Click: <xref href="guid-6013a680-57f9-415b-8851-c4fa63356636/guid-e6602c15-dd08-48ac-8e9a-9f6c0a47cd80.html" scope="peer">browse</xref> to view the example code. </p>View the additional |
24 by the example: <xref href="guid-6013a680-57f9-415b-8851-c4fa63356636/zips/guid-a92c7d47-fa68-49c6-9e43-c9c2e650f219.zip" scope="external">CommonGraphicsExampleFiles</xref><p>Click: <xref href="guid-6013a680-57f9-415b-8851-c4fa63356636/guid-e6602c15-dd08-48ac-8e9a-9f6c0a47cd80.html" scope="peer">browse</xref> to view the example code. </p>View the additional |
25 files: <xref href="guid-6013a680-57f9-415b-8851-c4fa63356636/guid-a92c7d47-fa68-49c6-9e43-c9c2e650f219.html" scope="peer">browse</xref>. </section> |
25 files: <xref href="guid-6013a680-57f9-415b-8851-c4fa63356636/guid-a92c7d47-fa68-49c6-9e43-c9c2e650f219.html" scope="peer">browse</xref>. </section> |
26 <section><title>Class Summary</title><p>By the hello control: </p><p><xref href="GUID-101762DC-E498-3325-88AB-B0FF17DC62B6.dita"><apiname>TRect </apiname></xref></p><p><xref href="GUID-0AEE5955-C530-35F1-A904-69183331B294.dita"><apiname>CWindowGc</apiname></xref></p><p><xref href="GUID-2A12FE3B-47F2-3016-8161-A971CA506491.dita"><apiname>CFont</apiname></xref></p><p>By the fonts control: </p><p><xref href="GUID-0AEE5955-C530-35F1-A904-69183331B294.dita"><apiname>CWindowGc</apiname></xref></p><p><xref href="GUID-BC6BFC0A-B748-3545-8A14-D79F98338CBA.dita"><apiname>TTypefaceSupport</apiname></xref></p><p><xref href="GUID-052E4F6B-71C5-304C-B387-07A2F6F9900B.dita"><apiname>TFontSpec</apiname></xref></p><p><xref href="GUID-DDE4C9C0-7218-385E-B239-0DEFDE19FCCC.dita"><apiname>TZoomFactor</apiname></xref></p><p><xref href="GUID-4791F2C1-C351-3824-8784-3161F5B65DCA.dita"><apiname>MGraphicsDeviceMap</apiname></xref></p></section> |
26 <section id="GUID-C9EE4056-9EC4-4E07-B231-BCEC14A0CDE9"><title>Class Summary</title><p>By the hello control: </p><p><xref href="GUID-101762DC-E498-3325-88AB-B0FF17DC62B6.dita"><apiname>TRect </apiname></xref></p><p><xref href="GUID-0AEE5955-C530-35F1-A904-69183331B294.dita"><apiname>CWindowGc</apiname></xref></p><p><xref href="GUID-2A12FE3B-47F2-3016-8161-A971CA506491.dita"><apiname>CFont</apiname></xref></p><p>By the fonts control: </p><p><xref href="GUID-0AEE5955-C530-35F1-A904-69183331B294.dita"><apiname>CWindowGc</apiname></xref></p><p><xref href="GUID-BC6BFC0A-B748-3545-8A14-D79F98338CBA.dita"><apiname>TTypefaceSupport</apiname></xref></p><p><xref href="GUID-052E4F6B-71C5-304C-B387-07A2F6F9900B.dita"><apiname>TFontSpec</apiname></xref></p><p><xref href="GUID-DDE4C9C0-7218-385E-B239-0DEFDE19FCCC.dita"><apiname>TZoomFactor</apiname></xref></p><p><xref href="GUID-4791F2C1-C351-3824-8784-3161F5B65DCA.dita"><apiname>MGraphicsDeviceMap</apiname></xref></p></section> |
27 <section><title>Build</title> <p>The source code for this example application |
27 <section id="GUID-A6F192DA-11E5-4897-B032-B0CA1F55CFB8"><title>Build</title> <p>The source code for this example application |
28 can be found in the directory: </p> <p> <filepath>examples\Graphics\Fonts</filepath> </p> <p>It |
28 can be found in the directory: </p> <p> <filepath>examples\Graphics\Fonts</filepath> </p> <p>This |
29 may be in the directory in which you installed Symbian platform, or it may |
29 source code may be in the directory in which you installed the Symbian platform, |
30 be in <filepath>src\common\developerlibrary\</filepath>. It includes the two |
30 or it may be in the <filepath>src\common\developerlibrary\</filepath> directory. |
31 project files needed for building: <filepath>bld.inf</filepath> and the <filepath>.mmp</filepath> file. </p> <p> <xref href="GUID-3100800B-B2F7-50EF-BD4C-3C345ECCB2A5.dita">The Symbian platform build |
31 The directory includes the two project files needed for building the example: <filepath>bld.inf</filepath> and |
32 process</xref> describes how to build this application. For the emulator, |
32 the <filepath>.mmp</filepath> file. </p> <p> <xref href="GUID-3100800B-B2F7-50EF-BD4C-3C345ECCB2A5.dita">The |
33 an application called <filepath>FontsShell.exe</filepath> is created in <filepath>epoc32\release\winscw\<udeb |
33 Symbian build process</xref> describes how to build this application. For |
34 or urel>\</filepath>. </p> </section> |
34 the emulator, an application called <filepath>FontsShell.exe</filepath> is |
35 <section><title>Usage</title> <ol id="GUID-DCDC0027-6DFA-55F7-90CB-2FEA09F27A5A"> |
35 created in <filepath>epoc32\release\winscw\<udeb or urel>\</filepath>. </p> </section> |
|
36 <section id="GUID-41DF9792-0202-4FF4-9661-3BA4A5952E92"><title>Usage</title> <ol id="GUID-DCDC0027-6DFA-55F7-90CB-2FEA09F27A5A"> |
36 <li id="GUID-FB26843D-A42C-5725-B9E3-4F5DF55AC8B6"><p>Launch the emulator: </p> <p> <filepath>\epoc32\release\winscw\<urel |
37 <li id="GUID-FB26843D-A42C-5725-B9E3-4F5DF55AC8B6"><p>Launch the emulator: </p> <p> <filepath>\epoc32\release\winscw\<urel |
37 or udeb>\EPOC.EXE</filepath>. </p> </li> |
38 or udeb>\EPOC.EXE</filepath>. </p> </li> |
38 <li id="GUID-29CD7693-CAE2-5FD2-9F60-D776A4C7AE98"><p>Click on <systemoutput>FONTSSHELL</systemoutput> to |
39 <li id="GUID-29CD7693-CAE2-5FD2-9F60-D776A4C7AE98"><p>Click on <systemoutput>FONTSSHELL</systemoutput> to |
39 run the application. If using the <i>TechView</i> emulator, this will be in |
40 run the application. If using the <i>TechView</i> emulator, this will be in |
40 the <i>Extras</i> menu. </p> </li> |
41 the <i>Extras</i> menu. </p> </li> |