beautypg.com

Sensoray 2224 Windows User Manual

Page 91

background image

gfont f h [wi=0][p=0][we=0][i=0][u=0][s=0][es=0][or=0]

This is a simple wrapper function for the Windows CreateFont () function. It also sets a global default
value for subsequent calls to gopen.

Valid values:

f = font name

h = height

wi = width

p = pitch (0,1,2,8)

DEFAULT_PITCH 0

FIXED_PITCH 1

VARIABLE_PITCH 2

MONO_FONT 8

we = weight (0,100-900)

FW_DONTCARE 0

FW_THIN 100

FW_EXTRALIGHT 200

FW_LIGHT 300

FW_NORMAL 400

FW_MEDIUM 500

FW_SEMIBOLD 600

FW_BOLD 700

FW_EXTRABOLD 800

FW_HEAVY 900

i = italic (0,1)

u = underline (0,1)

s = strikeout (0,1)

esc = escapement

or = orientation

91

This manual is related to the following products: