Cairo.ScaledFont – cairo Reference Manual
Packages
cairo
Cairo
ScaledFont
ScaledFont
extents
get_ctm
get_font_face
get_font_matrix
get_font_options
get_reference_count
get_scale_matrix
get_type
get_user_data
glyph_extents
set_user_data
status
text_extents
text_to_glyphs
win32_get_device_to_logical
win32_get_logical_to_device
ScaledFont
Object Hierarchy:
Description:
[
CCode
( cname =
"cairo_scaled_font_t"
, ref_function =
"cairo_scaled_font_reference"
, type_id =
"cairo_gobject_scaled_font_get_type ()"
, unref_function =
"cairo_scaled_font_destroy"
) ]
[
Compact
]
public
class
ScaledFont
Namespace:
Cairo
Package:
cairo
Content:
Creation methods:
public
ScaledFont
(
FontFace
font_face,
Matrix
font_matrix,
Matrix
ctm,
FontOptions
options)
Methods:
public
void
extents
(
out
FontExtents
extents)
public
void
get_ctm
(
out
Matrix
ctm)
public
unowned
FontFace
get_font_face
()
public
void
get_font_matrix
(
out
Matrix
font_matrix)
public
void
get_font_options
(
out
FontOptions
options)
public
uint
get_reference_count
()
public
void
get_scale_matrix
(
out
Matrix
scale_matrix)
public
FontType
get_type
()
public
unowned
G
get_user_data
<
G
> (
UserDataKey
? key)
public
void
glyph_extents
(
Glyph
[] glyphs,
out
TextExtents
extents)
public
Status
set_user_data
<
G
> (
UserDataKey
? key,
owned
G
data)
public
Status
status
()
public
void
text_extents
(
string
utf8,
out
TextExtents
extents)
public
Status
text_to_glyphs
(
double
x,
double
y,
string
utf8,
int
utf8_len,
out
Glyph
[] glyphs,
out
TextCluster
[] clusters,
out
TextClusterFlags
cluster_flags)
public
Matrix
win32_get_device_to_logical
()
public
Matrix
win32_get_logical_to_device
()