* clutter_backend_get_resolution:
* @backend: a #ClutterBackend
*
- * Gets the resolution for font handling on the screen; see
- * clutter_backend_set_resolution() for full details.
- *
+ * Gets the resolution for font handling on the screen.
+ *
+ * The resolution is a scale factor between points specified in a
+ * #PangoFontDescription and cairo units. The default value is 96.0,
+ * meaning that a 10 point font will be 13 units
+ * high (10 * 96. / 72. = 13.3).
+ *
+ * Clutter will set the resolution using the current backend when
+ * initializing; the resolution is also stored in the
+ * #ClutterSettings:font-dpi property.
+ *
* Return value: the current resolution, or -1 if no resolution
* has been set.
*
#ifndef CLUTTER_DISABLE_DEPRECATED
void clutter_backend_set_resolution (ClutterBackend *backend,
gdouble dpi);
-gdouble clutter_backend_get_resolution (ClutterBackend *backend);
void clutter_backend_set_double_click_time (ClutterBackend *backend,
guint msec);
guint clutter_backend_get_double_click_time (ClutterBackend *backend);
G_CONST_RETURN gchar * clutter_backend_get_font_name (ClutterBackend *backend);
#endif /* CLUTTER_DISABLE_DEPRECATED */
+gdouble clutter_backend_get_resolution (ClutterBackend *backend);
+
void clutter_backend_set_font_options (ClutterBackend *backend,
const cairo_font_options_t *options);
const cairo_font_options_t *clutter_backend_get_font_options (ClutterBackend *backend);