func
AddFontResource:int32
lpszFilename: PCHAR


func
BitBlt:bool 
    hdcDest:handle,	// handle to destination device context 
    nXDest:int32,	// x-coordinate of destination rectangle's upper-left corner
    nYDest:int32,	// y-coordinate of destination rectangle's upper-left corner
    nWidth:int32,	// width of destination rectangle 
    nHeight:int32,	// height of destination rectangle 
    hdcSrc:handle,	// handle to source device context 
    nXSrc:int32,	// x-coordinate of source rectangle's upper-left corner  
    nYSrc:int32,	// y-coordinate of source rectangle's upper-left corner
    dwRop 	:int32

func
CreateFont:handle
nHeight:int32 			// logical height of font 
nWidth:    int32 		// logical average character width 
nEscapement:    int32 		// angle of escapement 
nOrientation:    int32 		// base-line orientation angle 
fnWeight:    int32 		// font weight 
fdwItalic:int32			// italic attribute flag 
fdwUnderline:int32		// underline attribute flag 
fdwStrikeOut:int32		// strikeout attribute flag 
fdwCharSet:int32		// character set identifier 
fdwOutputPrecision:int32	// output precision 
fdwClipPrecision:int32		// clipping precision 
fdwQuality:int32		// output quality 
fdwPitchAndFamily:int32		// pitch and family 
lpszFace:PCHAR

func
CreateFontIndirect:Handle
lpLf:phandle

func
CreateScalableFontResource:bool
fdwHidden:int32 	// flag for read-only embedded font 
lpszFontRes:PCHAR	// pointer to filename for font resource 
lpszFontFile:PCHAR	// pointer to filename for scalable font 
lpszCurrentPath:PCHAR 	// pointer to path to font file 

func
DrawText:int32
hDC:handle	// handle to device context 
lpString:Pchar	// pointer to string to draw 
nCount:int32	// string length, in characters 
lpRect:phandle	// pointer to structure with formatting dimensions  
uFormat:int32 	// text-drawing flags 

func
DrawTextEx:int32
hdc:handle		// handle to device context
lpchText:pchar		// pointer to string to draw
cchText:int32		// length of string to draw
lprc:phandle		// pointer to rectangle coordinates
dwDTFormat:int32	// formatting options
lpDTParams:phandle	// pointer to structure for more options 

func
EnumFontFamilies:int32
hdc:handle			// handle to device control 
lpszFamily:pchar		// pointer to family-name string 
lpEnumFontFamProc:pointer	// pointer to callback function 
lParam:int32 			// address of application-supplied data  

func
EnumFontFamiliesEx
hdc:handle			// handle to device context
lpLogfont:phandle		// pointer to logical font information
lpEnumFontFamExProc:pointer	// pointer to callback function
lParam:int32			// application-supplied data
dwFlags:int32			// reserved; must be zero

func
EnumFontFamExProc
    lpelfe:phandle	// pointer to logical-font data
    lpntme:Phandle	// pointer to physical-font data
    FontType: int32	// type of font
    lParam:int32	// application-defined data 

func
EnumFontFamProc
lpElf:phandle
lpntm:phandle
FontType:int32
lParam:int32

func
EnumFonts
hdc:handle
lpFaceName:pchar
lpFontFunc:pointer
lParam:int32

func
ExtTextOut
hdc:handle
X:int32
y:int32
fuOptions:int32
lpRc:phandle
lpString:pchar
cbCount:int32
lpDx:phandle

func
GDIFlush:bool

func
GetAspectRatioFilterEx
hdc:handle
lpAspectRation:phandle

func
GetCharABCWidths
hdc:handle
uFirstChar:int32
uLastChar:int32
lpabc:phandle

func
GetCharABCWidthsFloat
hdc:handle
iFirstChar:int32
iLastChar:int32
lpABCF:phandle

func
GetCharacterPlacement
hdc:handle
lpString:pchar
nCount:int32
nMaxExtent:int32
lpResults:phandle
dwFlags:int32

func
GetCharWidth
hdc:handle
iFirstChar:int32
iLastChar:int32
lpBuffer:phandle

func
GetCharWidthFloat
hdc:handle
iFirstChar:int32
iLastChar:int32
pxBuffer:phandle

func
GetCharWidth32
hdc:handle
iFirstChar:int32
iLastChar:int32
lpBuffer:phandle

func
GetFontData:int32
hdc:handle
dwtable:int32
dwOffset:int32
lpvBuffer:pointer
cbData:int32 io

func
GetFontLanguageInfo
hdc:handle

func
GetGlyphOutline
hdc:handle
uChar:int32
uFormat:int32
lpgm:phandle
cbBuffer:int32
lpvBuffer:pchar
lpmat2:phandle

func
GetKerningPairs
hdc:handle
nNumPairs:int32
lpkrnpair:phandle

func
GetOutlineTextMetrics
hdc:handle
cbData:int32
lpOTM:phandle

func
GetRasterizerCaps
lprs:phandle
cb:int32

func
GetTabbedTextExtent:int32
hdc:handle
lpString:pchar
nCount:int32
nTabPositions:int32
lpnTabStopPositions:phandle

func
GetTextAlign:int32
hdc:handle

func
GetTextCharacterExtra:int32
hdc:handle

func
GetTextColor:handle
hdc:handle

func
GetTextExtentExPoint
hdc:handle
lpszStr:pchar
cchString:int32
nMaxExtent:int32
lpnFit:pint32
alpDx:pint32
lpSize:phandle

func
GetTextExtentPoint
hdc:handle
lpString:pchar
cbString:int32
lpSize:phandle

func
GetTextExtentPoint32
hdc:handle
lpString:pchar
cbString:int32
lpSize:phandle

func
GetTextFace:int32
hdc:handle
nCount:int32
lpFaceName:pchar o

func
GetTextMetrics:int32
hdc:handle
lptm:phandle o

func
PolyTextOut
hdc:handle
pptxt:phandle
cStrings:int32

func
RealizePalette:int32
hdc:handle

func
RemoveFontResource
lpFileName:pchar

func
SetMapperFlags
hdc:handle
dwFlag:handle

func
SetTextAlign
hDc:handle
fMode:int32

func
SetTextCharacterExtra
hdc:handle
nCharExtra:int32

func
SetTextColor:handle
hdc:handle
crColor:handle

func
SetTextJustification
hdc:handle
nBreakExtra:int32
nBreakCount:int32

func
SetDIBColorTable:int32 
    hdc:handle,	// handle of device context whose DIB is of interest
    uStartIndex:int32,	// color table index of first entry to set
    cEntries:int32,	// number of color table entries to set
    pColors	:pointer

func
TabbedTextOut
hdc:handle
x:int32
y:int32
lpString:Pchar
nCount:int32
nTabPositions:int32
lpnTabStopPositions:phandle
nTabOrigin:int32

func
TextOut
hdc:handle
nXStart:int32
nYStart:int32
lpString:pchar
cbString:int32