Searched refs:deviceOrigin (Results 1 – 2 of 2) sorted by relevance
837 FloatPoint deviceOrigin(rect.x() * deviceScaleX, rect.y() * deviceScaleY); in roundToDevicePixels() local841 deviceOrigin.setX(roundf(deviceOrigin.x())); in roundToDevicePixels()842 deviceOrigin.setY(roundf(deviceOrigin.y())); in roundToDevicePixels()847 if (deviceOrigin.y() == deviceLowerRight.y() && rect.height() != 0) in roundToDevicePixels()849 if (deviceOrigin.x() == deviceLowerRight.x() && rect.width() != 0) in roundToDevicePixels()852 FloatPoint roundedOrigin(deviceOrigin.x() / deviceScaleX, in roundToDevicePixels()853 deviceOrigin.y() / deviceScaleY); in roundToDevicePixels()
929 CGPoint deviceOrigin = CGPointMake(rect.x() * deviceScaleX, rect.y() * deviceScaleY); in roundToDevicePixels() local933 deviceOrigin.x = roundf(deviceOrigin.x); in roundToDevicePixels()934 deviceOrigin.y = roundf(deviceOrigin.y); in roundToDevicePixels()939 if (deviceOrigin.y == deviceLowerRight.y && rect.height() != 0) in roundToDevicePixels()941 if (deviceOrigin.x == deviceLowerRight.x && rect.width() != 0) in roundToDevicePixels()944 …FloatPoint roundedOrigin = FloatPoint(deviceOrigin.x / deviceScaleX, deviceOrigin.y / deviceScaleY… in roundToDevicePixels()