Argox PA-20 Programming Guide Bedienungsanleitung Seite 85

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 130
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 84
PT-20 Programming Guide
83
UserFont
DispFont_SetFont
Purpose
Set user font from font file.
Syntax
BOOL DispFont_SetFont(S32 slSelFont, const char *filename)
Example call
DispFont_SetFont(2,"D:\\Fonts\\Font16.cft");
Includes
#include “SDK.h ”
Description
slSelFont
User Font 2~9
filename
User font file
Returns
TRUE : success
FALSE : fail
DispFont_GetFontInfo
Purpose
Get font type,width and height.
Syntax
BOOL DispFont_GetFontInfo(S32 slSelFont, S32* slType, S32* slWidth,
S32* slHeight)
Example call
DispFont_GetFontInfo(2,&Type,&Width,&slHeight);
Includes
#include “SDK.h ”
Description
This function copies the slSelFont(0~9) info of font type ,width and height
to the variables whose address is specified in the arguments slType ,
slWidth and slHeight.
Returns
TRUE : success
FALSE : fail
Notice
Font type
0: 1 byte font file
1: 2 bytes font file
2: 2 bytes + 1bytes font file
Seitenansicht 84
1 2 ... 80 81 82 83 84 85 86 87 88 89 90 ... 129 130

Kommentare zu diesen Handbüchern

Keine Kommentare