Apple Newton Utilities Guide de l'utilisateur Page 310

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 942
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 309
CHAPTER 8
Text and Ink Input and Display
8-18 Using Text
The constants you can use in font specications are shown in “Font Constants for
Packed Font Integer Specications” (page 7-4) in Newton Programmers Reference.
The Font Frame 8
A font frame has the following format:
{family: familyName, face: faceNumber, size: pointSize}
For familyName, you can specify a symbol corresponding to one of the available
built-in fonts, which are shown in Table 8-3.
For
faceNumber, you can specify a combination of the values shown in Table 8-4:
Table 8-3 Font family symbols
Symbol Font Family
'espy
Espy (system) font
'geneva
Geneva font
'newYork
New York font
'handwriting
Casual (handwriting) font
Table 8-4 Font style (face) values
Constant Value Font face
kFaceNormal 0x000
Normal font
kFaceBold 0x001
Bold font
kFaceItalic 0x002
Italic font
kFaceUnderline 0x004
Underline font
kFaceOutline 0x008
Outline font
kFaceSuperScript 0x080
Superscript font
kFaceSubscript 0x100
Subscript font
Vue de la page 309
1 2 ... 305 306 307 308 309 310 311 312 313 314 315 ... 941 942

Commentaires sur ces manuels

Pas de commentaire