Searched refs:paintOffset (Results 1 – 2 of 2) sorted by relevance
298 IntSize paintOffset = paintLocation - widgetLocation; in paint() local301 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()
338 IntPoint paintOffset(sourceRect.x() - paintRect.x(), sourceRect.y() - paintRect.y()); in updateFromPixels() local339 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()