Home
last modified time | relevance | path

Searched refs:deviceOrigin (Results 1 – 2 of 2) sorted by relevance

/external/webkit/WebCore/platform/graphics/skia/
DGraphicsContextSkia.cpp837 FloatPoint deviceOrigin(rect.x() * deviceScaleX, rect.y() * deviceScaleY); in roundToDevicePixels() local
841 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()
/external/webkit/WebCore/platform/graphics/cg/
DGraphicsContextCG.cpp929 CGPoint deviceOrigin = CGPointMake(rect.x() * deviceScaleX, rect.y() * deviceScaleY); in roundToDevicePixels() local
933 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()