jpayne@68: jpayne@68: jpayne@68:
jpayne@68: jpayne@68:jpayne@68: Top jpayne@68: | jpayne@68:![]() |
jpayne@68: ![]() |
jpayne@68: ![]() |
jpayne@68: ![]() |
jpayne@68:
jpayne@68: Quartz (CGFont) Fontsjpayne@68:Quartz (CGFont) Fonts — Font support via CGFont on OS X jpayne@68: |
jpayne@68: jpayne@68: |
jpayne@68: cairo_font_face_t * jpayne@68: | jpayne@68:jpayne@68: cairo_quartz_font_face_create_for_cgfont () jpayne@68: | jpayne@68:
jpayne@68: cairo_font_face_t * jpayne@68: | jpayne@68:jpayne@68: cairo_quartz_font_face_create_for_atsu_font_id () jpayne@68: | jpayne@68:
#define | jpayne@68:CAIRO_HAS_QUARTZ_FONT | jpayne@68:
The Quartz font backend is primarily used to render text on Apple jpayne@68: MacOS X systems. The CGFont API is used for the internal jpayne@68: implementation of the font backend methods.
jpayne@68:cairo_font_face_t *
jpayne@68: cairo_quartz_font_face_create_for_cgfont
jpayne@68: (CGFontRef font
);
jpayne@68: Creates a new font for the Quartz font backend based on a
jpayne@68: CGFontRef. This font can then be used with
jpayne@68: cairo_set_font_face()
or cairo_scaled_font_create()
.
font |
jpayne@68: a CGFontRef obtained through a method external to cairo. |
jpayne@68: jpayne@68: |
a newly created cairo_font_face_t. Free with
jpayne@68: cairo_font_face_destroy()
when you are done using it.
Since: 1.6
jpayne@68:cairo_font_face_t *
jpayne@68: cairo_quartz_font_face_create_for_atsu_font_id
jpayne@68: (ATSUFontID font_id
);
jpayne@68: Creates a new font for the Quartz font backend based on an
jpayne@68: ATSUFontID. This font can then be used with
jpayne@68: cairo_set_font_face()
or cairo_scaled_font_create()
.
font_id |
jpayne@68: an ATSUFontID for the font. |
jpayne@68: jpayne@68: |
a newly created cairo_font_face_t. Free with
jpayne@68: cairo_font_face_destroy()
when you are done using it.
Since: 1.6
jpayne@68: