Method Cairo.Surface()->get_device_offset()


Method get_device_offset

array(float) get_device_offset()

Description

This function returns the previous device offset set by set_device_offset().

Returns

The device offset

Array
float 0

the offset in the X direction, in device units

float 1

the offset in the Y direction, in device units