Symbian3/PDK/Source/GUID-A4426CEC-80F1-53F4-8838-D069FA758ACD.dita
changeset 12 80ef3a206772
parent 5 f345bda72bc4
equal deleted inserted replaced
11:5072524fcc79 12:80ef3a206772
     7     Nokia Corporation - initial contribution.
     7     Nokia Corporation - initial contribution.
     8 Contributors: 
     8 Contributors: 
     9 -->
     9 -->
    10 <!DOCTYPE concept
    10 <!DOCTYPE concept
    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: fonts</title><prolog><metadata><keywords/></metadata></prolog><conbody>
    13 fonts</title><prolog><metadata><keywords/></metadata></prolog><conbody>
    13 <p> <b>Note: </b> This example is designed to work with TechView and
    14 <p> <b>Note: </b> This example is designed to work with TechView and there
    14 there is no guarantee that it will work with other interfaces. </p>
    15 is no guarantee that it will work with other interfaces. </p>
    15 <section id="GUID-BA7FCDDA-EEBC-4F30-9231-F8BBD591B2C8"><title>Description</title> <p> <filepath>FontsShell</filepath> provides an application shell
    16 <section id="GUID-BA7FCDDA-EEBC-4F30-9231-F8BBD591B2C8"><title>Description</title> <p> <filepath>FontsShell</filepath> provides
    16 and two concrete controls. </p> <p> <codeph>CGraphicExampleControl</codeph> is a control class, derived from <codeph>CCoeControl</codeph>, which
    17 an application shell and two concrete controls. </p> <p> <codeph>CGraphicExampleControl</codeph> is
    17 links the app shell to the particular controls. </p> <p> <codeph>CHelloControl</codeph> illustrates the drawing of text using a standard font. </p> <p> <codeph>CFontControl</codeph> illustrates the use of fonts. </p> </section>
    18 a control class, derived from <codeph>CCoeControl</codeph>, which links the
    18 <section id="GUID-E921AEBD-1CF2-433F-A411-630F1BB0F813"><title>Download</title> <p>Click on the following link to download 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
    19 app shell to the particular controls. </p> <p> <codeph>CHelloControl</codeph> illustrates
    19 required 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
    20 the drawing of text using a standard font. </p> <p> <codeph>CFontControl</codeph> illustrates
    20 additional files: <xref href="guid-6013a680-57f9-415b-8851-c4fa63356636/guid-a92c7d47-fa68-49c6-9e43-c9c2e650f219.html" scope="peer">browse</xref>.  </section>
    21 the use of fonts. </p> </section>
    21 <section id="GUID-C9EE4056-9EC4-4E07-B231-BCEC14A0CDE9"><title>Class
    22 <section id="GUID-E921AEBD-1CF2-433F-A411-630F1BB0F813"><title>Download</title> <p>Click on the following link to download
    22 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>
    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 <section id="GUID-A6F192DA-11E5-4897-B032-B0CA1F55CFB8"><title>Build</title> <p>The source code for this example application can be found in
    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 the directory: </p> <p> <filepath>examples\Graphics\Fonts</filepath>  </p> <p>This source code may be in the directory in which you installed
    25 files: <xref href="guid-6013a680-57f9-415b-8851-c4fa63356636/guid-a92c7d47-fa68-49c6-9e43-c9c2e650f219.html" scope="peer">browse</xref>.  </section>
    25 the Symbian platform, or it may be in the <filepath>src\common\developerlibrary\</filepath> directory. The directory includes the two project files needed for
    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>
    26 building the example: <filepath>bld.inf</filepath> and the <filepath>.mmp</filepath> file. </p> <p> The Symbian build process describes
    27 <section id="GUID-A6F192DA-11E5-4897-B032-B0CA1F55CFB8"><title>Build</title> <p>The source code for this example application
    27 how to build this application. For the emulator, an application called <filepath>FontsShell.exe</filepath> is created in <filepath>epoc32\release\winscw\&lt;udeb
    28 can be found in the directory: </p> <p> <filepath>examples\Graphics\Fonts</filepath>  </p> <p>This
    28 or urel&gt;\</filepath>. </p> </section>
    29 source code may be in the directory in which you installed the Symbian platform,
       
    30 or it may be in the <filepath>src\common\developerlibrary\</filepath> directory.
       
    31 The directory includes the two project files needed for building the example: <filepath>bld.inf</filepath> and
       
    32 the <filepath>.mmp</filepath> file. </p> <p> <xref href="GUID-3100800B-B2F7-50EF-BD4C-3C345ECCB2A5.dita">The
       
    33 Symbian build process</xref> describes how to build this application. For
       
    34 the emulator, an application called <filepath>FontsShell.exe</filepath> is
       
    35 created in <filepath>epoc32\release\winscw\&lt;udeb or urel&gt;\</filepath>. </p> </section>
       
    36 <section id="GUID-41DF9792-0202-4FF4-9661-3BA4A5952E92"><title>Usage</title> <ol id="GUID-DCDC0027-6DFA-55F7-90CB-2FEA09F27A5A">
    29 <section id="GUID-41DF9792-0202-4FF4-9661-3BA4A5952E92"><title>Usage</title> <ol id="GUID-DCDC0027-6DFA-55F7-90CB-2FEA09F27A5A">
    37 <li id="GUID-FB26843D-A42C-5725-B9E3-4F5DF55AC8B6"><p>Launch the emulator: </p> <p> <filepath>\epoc32\release\winscw\&lt;urel
    30 <li id="GUID-FB26843D-A42C-5725-B9E3-4F5DF55AC8B6"><p>Launch the emulator: </p> <p> <filepath>\epoc32\release\winscw\&lt;urel or udeb&gt;\EPOC.EXE</filepath>. </p> </li>
    38 or udeb&gt;\EPOC.EXE</filepath>. </p> </li>
    31 <li id="GUID-29CD7693-CAE2-5FD2-9F60-D776A4C7AE98"><p>Click on <systemoutput>FONTSSHELL</systemoutput> to run the application. If using the <i>TechView</i> emulator, this will be in the <i>Extras</i> menu. </p> </li>
    39 <li id="GUID-29CD7693-CAE2-5FD2-9F60-D776A4C7AE98"><p>Click on <systemoutput>FONTSSHELL</systemoutput> to
    32 <li id="GUID-5F43BCA0-8A25-5241-8C69-F3708F794E14"><p>The controls
    40 run the application. If using the <i>TechView</i> emulator, this will be in
    33 are listed on the menu <systemoutput>List of                 Programs</systemoutput>. Press the appropriate menu item to select a specific control. </p> </li>
    41 the <i>Extras</i> menu. </p> </li>
    34 <li id="GUID-94E5BAF0-FC69-52BA-941C-C10ED6A74EF9"><p>Step through
    42 <li id="GUID-5F43BCA0-8A25-5241-8C69-F3708F794E14"><p>The controls are listed
    35 each phase of the example by pressing the space bar or by tapping
    43 on the menu <systemoutput>List of                 Programs</systemoutput>.
    36 on the window drawn by that example. </p> </li>
    44 Press the appropriate menu item to select a specific control. </p> </li>
       
    45 <li id="GUID-94E5BAF0-FC69-52BA-941C-C10ED6A74EF9"><p>Step through each phase
       
    46 of the example by pressing the space bar or by tapping on the window drawn
       
    47 by that example. </p> </li>
       
    48 </ol> </section>
    37 </ol> </section>
    49 </conbody></concept>
    38 </conbody></concept>