set_scale_factor
Description:
Sets the scaling factor for the Cairo surface used by this.
This function should rarely be used.
The default scaling factor of a Canvas content uses the window_scaling_factor property, which is set by the windowing system. By using this function it is possible to override that setting.
Changing the scale factor will invalidate the this.
Parameters:
this |
a Canvas |
scale |
the scale factor, or -1 for the default |