2008-06-12 Emmanuele Bassi <ebassi@openedhand.com>

* clutter/clutter-actor.[ch]: Documentation fixes.

	* clutter/clutter-backend.c: Documentation fixes.

	* clutter/clutter-container.h: Documentation fixes.

	* clutter/clutter-fixed.c (clutter_qdivx): Fix the return
	value to be after the description.

	* clutter/clutter-texture.[ch]: Documentation fixes.

	* clutter/clutter-timeline.c: Documentation fixes.
This commit is contained in:
Emmanuele Bassi
2008-06-12 11:43:25 +00:00
parent a617fc4cdf
commit 8ff6cec829
9 changed files with 120 additions and 82 deletions

View File

@ -412,6 +412,20 @@ clutter_backend_get_resolution (ClutterBackend *backend)
return CLUTTER_FIXED_TO_FLOAT (backend->priv->resolution);
}
/**
* clutter_backend_set_font_options:
* @backend: a #ClutterBackend
* @options: Cairo font options for the backend, or %NULL
*
* Sets the new font options for @backend. If @options is %NULL,
* the first following call to clutter_backend_get_font_options()
* will return the default font options for @backend.
*
* This function is intended for actors creating a Pango layout
* using the PangoCairo API.
*
* Since: 0.8
*/
void
clutter_backend_set_font_options (ClutterBackend *backend,
cairo_font_options_t *options)
@ -434,6 +448,16 @@ clutter_backend_set_font_options (ClutterBackend *backend,
}
}
/**
* clutter_backend_get_font_options:
* @backend: a #ClutterBackend
*
* Retrieves the font options for @backend.
*
* Return value: the font options of the #ClutterBackend
*
* Since: 0.8
*/
cairo_font_options_t *
clutter_backend_get_font_options (ClutterBackend *backend)
{