Project

General

Profile

Previous Up Next

_CRfont
Create a font with specific parameters. If the font is not available, the system returns the closest available font.

ObjFont _CRfont (
Chn _channel_
I _size_
I _rotation_
I _flag_
S _name_
)
Parameters

_channel_
proprietary channel
_size_
font size
_rotation_
rotation to apply to the font (degrees*10). By example 1800 means opposite direction.
_flag_
flag :
FF_WEIGHT weight font
FF_ITALIC italic font
FF_UNDERLINE underlined font
FF_STRIKED striked font
FF_PIXEL _size_ means pixel size. $BLG Note: Text will have the same look (seen size) whatever the pitch of the screen
FF_HOLLOW This lets you draw hollow (not plain) text with _SDRAWtext (required Scol 5.x or +)
FF_CLEARTYPE for smooth rendering. Default behaviour is now No Antialiasing, not the system one. This results on better rendering of small fonts. Set flag for bigger fonts (required Scol 5.x or +).
_name_
name of the font
Return value

new font.