Symbian3/PDK/Source/GUID-A4426CEC-80F1-53F4-8838-D069FA758ACD.dita
changeset 1 25a17d01db0c
child 3 46218c8b8afa
equal deleted inserted replaced
0:89d6a7a84779 1:25a17d01db0c
       
     1 <?xml version="1.0" encoding="utf-8"?>
       
     2 <!-- Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies) All rights reserved. -->
       
     3 <!-- This component and the accompanying materials are made available under the terms of the License 
       
     4 "Eclipse Public License v1.0" which accompanies this distribution, 
       
     5 and is available at the URL "http://www.eclipse.org/legal/epl-v10.html". -->
       
     6 <!-- Initial Contributors:
       
     7     Nokia Corporation - initial contribution.
       
     8 Contributors: 
       
     9 -->
       
    10 <!DOCTYPE concept
       
    11   PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd">
       
    12 <concept id="GUID-A4426CEC-80F1-53F4-8838-D069FA758ACD" xml:lang="en"><title>FontsShell:
       
    13 fonts</title><prolog><metadata><keywords/></metadata></prolog><conbody>
       
    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>
       
    16 <section><title>Description</title> <p> <filepath>FontsShell</filepath> provides
       
    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
       
    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
       
    21 the use of fonts. </p> </section>
       
    22 <section><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
       
    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>
       
    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>
       
    27 <section><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
       
    29 may be in the directory in which you installed Symbian platform, or it may
       
    30 be in <filepath>src\common\developerlibrary\</filepath>. It includes the two
       
    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
       
    32 process</xref> describes how to build this application. For the emulator,
       
    33 an application called <filepath>FontsShell.exe</filepath> is created in <filepath>epoc32\release\winscw\&lt;udeb
       
    34 or urel&gt;\</filepath>. </p> </section>
       
    35 <section><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\&lt;urel
       
    37 or udeb&gt;\EPOC.EXE</filepath>. </p> </li>
       
    38 <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 the <i>Extras</i> menu. </p> </li>
       
    41 <li id="GUID-5F43BCA0-8A25-5241-8C69-F3708F794E14"><p>The controls are listed
       
    42 on the menu <systemoutput>List of                 Programs</systemoutput>.
       
    43 Press the appropriate menu item to select a specific control. </p> </li>
       
    44 <li id="GUID-94E5BAF0-FC69-52BA-941C-C10ED6A74EF9"><p>Step through each phase
       
    45 of the example by pressing the space bar or by tapping on the window drawn
       
    46 by that example. </p> </li>
       
    47 </ol> </section>
       
    48 </conbody></concept>