Solar_OS API Reference
You are here:
Main ->
Draw API ->
PROC API_Char_Get_Width STDCALL
USES esi
ARG char_ascii
This function will return the width of an ASCII character in the proportional font.
Arguments:
Argument |
Type |
Description |
char_ascii
|
dword
|
ASCII code of char
|
Returns:
- EAX = width of char in pixels
Posible Errors:
- ASCII char value is out of bounds
Remarks:
- a zero width means that the ASCII character is not present in font definition
- the current used font is proportional 39 pixels height
See Also