Searched refs:deviceLowerRight (Results 1 – 2 of 2) sorted by relevance
838 FloatPoint deviceLowerRight((rect.x() + rect.width()) * deviceScaleX, in roundToDevicePixels() local843 deviceLowerRight.setX(roundf(deviceLowerRight.x())); in roundToDevicePixels()844 deviceLowerRight.setY(roundf(deviceLowerRight.y())); in roundToDevicePixels()847 if (deviceOrigin.y() == deviceLowerRight.y() && rect.height() != 0) in roundToDevicePixels()848 deviceLowerRight.move(0, 1); in roundToDevicePixels()849 if (deviceOrigin.x() == deviceLowerRight.x() && rect.width() != 0) in roundToDevicePixels()850 deviceLowerRight.move(1, 0); in roundToDevicePixels()854 FloatPoint roundedLowerRight(deviceLowerRight.x() / deviceScaleX, in roundToDevicePixels()855 deviceLowerRight.y() / deviceScaleY); in roundToDevicePixels()
930 CGPoint deviceLowerRight = CGPointMake((rect.x() + rect.width()) * deviceScaleX, in roundToDevicePixels() local935 deviceLowerRight.x = roundf(deviceLowerRight.x); in roundToDevicePixels()936 deviceLowerRight.y = roundf(deviceLowerRight.y); in roundToDevicePixels()939 if (deviceOrigin.y == deviceLowerRight.y && rect.height() != 0) in roundToDevicePixels()940 deviceLowerRight.y += 1; in roundToDevicePixels()941 if (deviceOrigin.x == deviceLowerRight.x && rect.width() != 0) in roundToDevicePixels()942 deviceLowerRight.x += 1; in roundToDevicePixels()945 …FloatPoint roundedLowerRight = FloatPoint(deviceLowerRight.x / deviceScaleX, deviceLowerRight.y / … in roundToDevicePixels()