Surface.getDeviceScale
void getDeviceScale(out double xScale, out double yScale)This function returns the previous device scale set by [cairo.surface.Surface.setDeviceScale].
Parameters
xScale | the scale in the X direction, in device units |
yScale | the scale in the Y direction, in device units |