Solar OS API Reference
You are here:
Main ->
Draw API ->
PROC API_Glyph_Draw stdcall
ARG x1,y1,glyph_id
This function will draw an char glyph on screen.
Arguments:
Argument |
Type |
Description |
x1,y1
|
dwords
|
on screen position of glyph to draw
|
glyph_id
|
dword
|
id of glyph to draw
|
Returns:
Posible Errors:
- glyph ID is out of bounds
- glyph position is out of screen
Remarks:
- min glyph ID = 00h and represents char 021h - ASCII "!"
- max glyph ID = 5Dh and represents char 07Eh - ASCII "~"
- draw position is relative to screen... not window
- the current used font is proportional 39 pixels height
See Also