Method Cairo.Surface()->get_device_scale()


Method get_device_scale

array(float) get_device_scale()

Description

This function returns the previous device scale set by set_device_scale().

Returns

The device scale

Array
float 0

the scale in the X direction, in device units

float 1

the scale in the Y direction, in device units