Surface.getDeviceOffset

void getDeviceOffset(out double xOffset, out double yOffset)

This function returns the previous device offset set by [cairo.surface.Surface.setDeviceOffset].

Parameters

xOffsetthe offset in the X direction, in device units
yOffsetthe offset in the Y direction, in device units