home
wiki
classes/clusters list
class information
+
Point of view
DRAW_STYLE
ANY
DRAW_STYLE
BASIC_FONT
INTERNALS_HANDLER
All features
class BASIC_FONT
Summary
top
BASIC_FONT
describe basic font properties (like size, font family...) and allow to draw characters (see class
FONT
for options like underline). Use
FONT_MANAGER
for
BASIC_FONT
creation.
Direct parents
inherit list:
GRAPHIC
,
UNICODE_STRING_HANDLER
Known children
inherit list:
FONT
Overview
top
creation features
make_system_specific
(font_name:
STRING
)
It's recommended not to use this function.
exported features
height
:
INTEGER_32
base_line
:
INTEGER_32
height from the top to the bottom of characters like
'P'
or
'k'
.
text_width
(text:
UNICODE_STRING
):
INTEGER_32
font
:
POINTER
font_desc
:
POINTER
TODO: suppress this pointer
height
:
INTEGER_32
writable attribute
top
base_line
:
INTEGER_32
writable attribute
top
height from the top to the bottom of characters like
'P'
or
'k'
.
Height is bigger due to characters that go under the base line like
'j'
or
'p'
.
text_width
(text:
UNICODE_STRING
):
INTEGER_32
effective function
top
font
:
POINTER
writable attribute
top
font_desc
:
POINTER
writable attribute
top
TODO: suppress this pointer