From 530ffd0b7d3c39757b20f00716e486b5caf89aff Mon Sep 17 00:00:00 2001 From: sanine Date: Wed, 12 Oct 2022 12:03:23 -0500 Subject: add cairo --- .../public/html/cairo-Quartz-(CGFont)-Fonts.html | 163 +++++++++++++++++++++ 1 file changed, 163 insertions(+) create mode 100644 libs/cairo-1.16.0/doc/public/html/cairo-Quartz-(CGFont)-Fonts.html (limited to 'libs/cairo-1.16.0/doc/public/html/cairo-Quartz-(CGFont)-Fonts.html') diff --git a/libs/cairo-1.16.0/doc/public/html/cairo-Quartz-(CGFont)-Fonts.html b/libs/cairo-1.16.0/doc/public/html/cairo-Quartz-(CGFont)-Fonts.html new file mode 100644 index 0000000..8b2754f --- /dev/null +++ b/libs/cairo-1.16.0/doc/public/html/cairo-Quartz-(CGFont)-Fonts.html @@ -0,0 +1,163 @@ + + + + +Quartz (CGFont) Fonts: Cairo: A Vector Graphics Library + + + + + + + + + + + + + + + + +
+
+
+ + +
+

Quartz (CGFont) Fonts

+

Quartz (CGFont) Fonts — Font support via CGFont on OS X

+
+ +
+

Types and Values

+
++++ + + + + +
#defineCAIRO_HAS_QUARTZ_FONT
+
+
+

Description

+

The Quartz font backend is primarily used to render text on Apple +MacOS X systems. The CGFont API is used for the internal +implementation of the font backend methods.

+
+
+

Functions

+
+

cairo_quartz_font_face_create_for_cgfont ()

+
cairo_font_face_t *
+cairo_quartz_font_face_create_for_cgfont
+                               (CGFontRef font);
+

Creates a new font for the Quartz font backend based on a +CGFontRef. This font can then be used with +cairo_set_font_face() or cairo_scaled_font_create().

+
+

Parameters

+
+++++ + + + + + +

font

a CGFontRef obtained through a method external to cairo.

 
+
+
+

Returns

+

a newly created cairo_font_face_t. Free with +cairo_font_face_destroy() when you are done using it.

+
+

Since: 1.6

+
+
+
+

cairo_quartz_font_face_create_for_atsu_font_id ()

+
cairo_font_face_t *
+cairo_quartz_font_face_create_for_atsu_font_id
+                               (ATSUFontID font_id);
+

Creates a new font for the Quartz font backend based on an +ATSUFontID. This font can then be used with +cairo_set_font_face() or cairo_scaled_font_create().

+
+

Parameters

+
+++++ + + + + + +

font_id

an ATSUFontID for the font.

 
+
+
+

Returns

+

a newly created cairo_font_face_t. Free with +cairo_font_face_destroy() when you are done using it.

+
+

Since: 1.6

+
+
+
+

Types and Values

+
+

CAIRO_HAS_QUARTZ_FONT

+
#define CAIRO_HAS_QUARTZ_FONT 1
+
+

Defined if the Quartz font backend is available. +This macro can be used to conditionally compile backend-specific code.

+

Since: 1.6

+
+
+
+

See Also

+

cairo_font_face_t

+
+
+ + + \ No newline at end of file -- cgit v1.2.1