mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-01-15 14:20:23 +01:00
scaled font: Fix the docs for cairo_scaled_font_get_font_face
With the toy font API, it is possible that cairo_scaled_font_get_font_face() doesn't return the font face which was passed to cairo_scaled_font_create() despite the docs saying otherwise. Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
parent
23f87951ba
commit
a8e8d2aba8
1 changed files with 3 additions and 2 deletions
|
|
@ -2870,8 +2870,9 @@ _cairo_scaled_font_get_max_scale (cairo_scaled_font_t *scaled_font)
|
|||
* cairo_scaled_font_get_font_face:
|
||||
* @scaled_font: a #cairo_scaled_font_t
|
||||
*
|
||||
* Gets the font face that this scaled font uses. This is the
|
||||
* font face passed to cairo_scaled_font_create().
|
||||
* Gets the font face that this scaled font uses. This might be the
|
||||
* font face passed to cairo_scaled_font_create(), but this does not
|
||||
* hold true for all possible cases.
|
||||
*
|
||||
* Return value: The #cairo_font_face_t with which @scaled_font was
|
||||
* created.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue