Home
last modified time | relevance | path

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

/external/webkit/Source/WebCore/rendering/
DRenderWidget.cpp298 IntSize paintOffset = paintLocation - widgetLocation; in paint() local
301 if (!paintOffset.isZero()) { in paint()
302 paintInfo.context->translate(paintOffset); in paint()
303 paintRect.move(-paintOffset); in paint()
307 if (!paintOffset.isZero()) in paint()
308 paintInfo.context->translate(-paintOffset); in paint()
/external/webkit/Source/WebCore/platform/graphics/chromium/
DLayerTilerChromium.cpp338 IntPoint paintOffset(sourceRect.x() - paintRect.x(), sourceRect.y() - paintRect.y()); in updateFromPixels() local
339 if (paintOffset.x() < 0) in updateFromPixels()
341 if (paintOffset.y() < 0) in updateFromPixels()
343 if (paintOffset.x() + destRect.width() > paintRect.width()) in updateFromPixels()
345 if (paintOffset.y() + destRect.height() > paintRect.height()) in updateFromPixels()
349 if (paintRect.width() == sourceRect.width() && !paintOffset.x()) in updateFromPixels()
350 pixelSource = &paintPixels[4 * paintOffset.y() * paintRect.width()]; in updateFromPixels()
356 … &paintPixels[4 * (paintOffset.x() + (paintOffset.y() + row) * paintRect.width())], in updateFromPixels()