get_scale
Description:
Gets the current scale of the canvas.
The scale specifies the magnification factor of the canvas, e.g. if an item has a width of 2 pixels and the scale is set to 3, it will be displayed with a width of 2 x 3 = 6 pixels.
Parameters:
this |
a Canvas. |
Returns:
the current scale setting. |