mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-01-04 20:20:19 +01:00
Add documentation for cairo_font_face_get_type,
cairo_scaled_font_get_type, cairo_surface_get_type, and cairo_pattern_get_type.
This commit is contained in:
parent
5797f81485
commit
cd84e2ab32
4 changed files with 24 additions and 0 deletions
|
|
@ -130,6 +130,12 @@ cairo_font_face_destroy (cairo_font_face_t *font_face)
|
|||
free (font_face);
|
||||
}
|
||||
|
||||
/**
|
||||
* cairo_font_face_get_type:
|
||||
* @font_face: a #cairo_font_face_t
|
||||
*
|
||||
* Return value: The type of @font_face. See #cairo_font_type_t.
|
||||
**/
|
||||
cairo_font_type_t
|
||||
cairo_font_face_get_type (cairo_font_face_t *font_face)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -524,6 +524,12 @@ cairo_pattern_reference (cairo_pattern_t *pattern)
|
|||
return pattern;
|
||||
}
|
||||
|
||||
/**
|
||||
* cairo_pattern_get_type:
|
||||
* @pattern: a #cairo_pattern_t
|
||||
*
|
||||
* Return value: The type of @pattern. See #cairo_pattern_type_t.
|
||||
**/
|
||||
cairo_pattern_type_t
|
||||
cairo_pattern_get_type (cairo_pattern_t *pattern)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -118,6 +118,12 @@ _cairo_scaled_font_set_error (cairo_scaled_font_t *scaled_font,
|
|||
_cairo_error (status);
|
||||
}
|
||||
|
||||
/**
|
||||
* cairo_scaled_font_get_type:
|
||||
* @scaled_font: a #cairo_scaled_font_t
|
||||
*
|
||||
* Return value: The type of @scaled_font. See #cairo_font_type_t.
|
||||
**/
|
||||
cairo_font_type_t
|
||||
cairo_scaled_font_get_type (cairo_scaled_font_t *scaled_font)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -121,6 +121,12 @@ _cairo_surface_set_error (cairo_surface_t *surface,
|
|||
_cairo_error (status);
|
||||
}
|
||||
|
||||
/**
|
||||
* cairo_surface_get_type:
|
||||
* @surface: a #cairo_surface_t
|
||||
*
|
||||
* Return value: The type of @surface. See #cairo_surface_type_t.
|
||||
**/
|
||||
cairo_surface_type_t
|
||||
cairo_surface_get_type (cairo_surface_t *surface)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue