cairo_font_type_t.Rd
#cairo_font_type_t is used to describe the type of a given font face or scaled font. The font types are also known as "font backends" within cairo.
cairo_font_type_t
An object of class list
of length 5.
The type of a font face is determined by the function used to create it, which will generally be of the form <function>cairo_<emphasis>type</emphasis>_font_face_create(<!-- -->)</function>. The font face type can be queried with cairo_font_face_get_type()
The various #cairo_font_face_t functions can be used with a font face of any type.
The type of a scaled font is determined by the type of the font face passed to cairo_scaled_font_create(). The scaled font type can be queried with cairo_scaled_font_get_type()
The various #cairo_scaled_font_t functions can be used with scaled fonts of any type, but some font backends also provide type-specific functions that must only be called with a scaled font of the appropriate type. These functions have names that begin with <function>cairo_<emphasis>type</emphasis>_scaled_font(<!-- -->)</function> such as cairo_ft_scaled_font_lock_face().
The behavior of calling a type-specific function with a scaled font of the wrong type is undefined.
New entries may be added in future versions.
Since: 1.2
The font was created using cairo's toy font api (Since: 1.2)
The font is of type FreeType (Since: 1.2)
The font is of type Win32 (Since: 1.2)
The font is of type Quartz (Since: 1.6, in 1.2 and 1.4 it was named CAIRO_FONT_TYPE_ATSUI)
The font was create using cairo's user font api (Since: 1.8)
Other enum:
cairo_antialias_t
,
cairo_content_t
,
cairo_device_type_t
,
cairo_extend_t
,
cairo_fill_rule_t
,
cairo_filter_t
,
cairo_font_slant_t
,
cairo_font_weight_t
,
cairo_format_t
,
cairo_ft_synthesize_t
,
cairo_hint_metrics_t
,
cairo_hint_style_t
,
cairo_int_status_t
,
cairo_line_cap_t
,
cairo_line_join_t
,
cairo_operator_t
,
cairo_path_data_type_t
,
cairo_pattern_type_t
,
cairo_pdf_metadata_t
,
cairo_pdf_outline_flags_t
,
cairo_pdf_version_t
,
cairo_ps_level_t
,
cairo_region_overlap_t
,
cairo_status_t
,
cairo_subpixel_order_t
,
cairo_surface_observer_mode_t
,
cairo_surface_type_t
,
cairo_svg_unit_t
,
cairo_svg_version_t
,
cairo_text_cluster_flags_t
,
enum_find()
,
enum_lookup()