canvas: Add scale-factor property

We need to provide an escape hatch to ClutterCanvas so that it's
possible to override the window-scaling-factor ClutterSetting. This is
going to be useful in the future in case the user has better knowledge
of the window scaling factor that is going to be used with a specific
set of ClutterCanvas contents (e.g. on different outputs or stages).

https://bugzilla.gnome.org/show_bug.cgi?id=705915
This commit is contained in:
Emmanuele Bassi
2014-01-17 11:03:15 +00:00
parent c1d6194d24
commit 857f53f42d
4 changed files with 157 additions and 3 deletions

View File

@ -3225,6 +3225,8 @@ ClutterCanvas
ClutterCanvasClass
clutter_canvas_new
clutter_canvas_set_size
clutter_canvas_set_scale_factor
clutter_canvas_get_scale_factor
<SUBSECTION Standard>
CLUTTER_TYPE_CANVAS
CLUTTER_CANVAS