/external/webkit/Source/WebKit2/WebProcess/WebPage/qt/ |
TiledDrawingAreaQt.cpp | 44 IntRect tileRect = updateChunk->rect(); 49 graphicsContext.translate(-tileRect.x(), -tileRect.y()); 51 IntRect contentRect = enclosingIntRect(FloatRect(tileRect.x() / scale, 52 tileRect.y() / scale, 53 tileRect.width() / scale, 54 tileRect.height() / scale));
|
/external/webkit/Source/WebCore/platform/image-decoders/openvg/ |
ImageDecoderOpenVG.cpp | 57 IntRect tileRect = tiledImage->tileRect(xIndex, yIndex); 59 tileRect.width(), tileRect.height(), VG_IMAGE_QUALITY_FASTER); 63 pixelData += (tileRect.y() * width()) + tileRect.x(); 67 0, 0, tileRect.width(), tileRect.height());
|
/external/webkit/Source/WebCore/platform/graphics/cg/ |
PatternCG.cpp | 55 IntRect tileRect = tileImage()->rect(); 59 patternTransform.translate(0, -tileRect.height()); 66 CGFloat xStep = m_repeatX ? tileRect.width() : (1 << 22); 67 CGFloat yStep = m_repeatY ? tileRect.height() : (1 << 22); 73 return CGPatternCreate(tileImage(), tileRect, patternTransform, xStep, yStep,
|
ImageCG.cpp | 260 void Image::drawPattern(GraphicsContext* ctxt, const FloatRect& tileRect, const AffineTransform& patternTransform, 284 float scaledTileHeight = tileRect.height() * narrowPrecisionToFloat(patternTransform.d()); 288 float adjustedX = phase.x() - destRect.x() + tileRect.x() * narrowPrecisionToFloat(patternTransform.a()); // We translated the context so that destRect.x() is the origin, so subtract it out. 289 float adjustedY = destRect.height() - (phase.y() - destRect.y() + tileRect.y() * narrowPrecisionToFloat(patternTransform.d()) + scaledTileHeight); 295 if (tileRect.size() == size()) 301 subImage.adoptCF(CGImageCreateWithImageInRect(tileImage, tileRect)); 313 float scaledTileWidth = tileRect.width() * narrowPrecisionToFloat(patternTransform.a()); 316 if (w == size().width() && h == size().height() && scaledTileWidth == tileRect.width() && scaledTileHeight == tileRect.height()) 333 RetainPtr<CGPatternRef> pattern(AdoptCF, CGPatternCreate(subImage.get(), CGRectMake(0, 0, tileRect.width(), tileRect.height()) [all...] |
/external/webkit/Source/WebCore/platform/graphics/cairo/ |
ContextShadowCairo.cpp | 284 FloatRect tileRect = FloatRect(radiusTwice + topLeftRadius.width(), 0, sideTileWidth, radiusTwice); 285 FloatRect destRect = tileRect; 288 FloatPoint phase = getPhase(destRect, tileRect); 291 drawPatternToCairoContext(cr, m_layerImage, shadowTemplateSize, tileRect, patternTransform, phase, CAIRO_OPERATOR_OVER, destRect); 294 tileRect = FloatRect(radiusTwice + bottomLeftRadius.width(), shadowTemplateSize.height() - radiusTwice, sideTileWidth, radiusTwice); 295 destRect = tileRect; 298 phase = getPhase(destRect, tileRect); 299 drawPatternToCairoContext(cr, m_layerImage, shadowTemplateSize, tileRect, patternTransform, phase, CAIRO_OPERATOR_OVER, destRect); 302 tileRect = FloatRect(shadowTemplateSize.width() - radiusTwice, radiusTwice + topRightRadius.height(), radiusTwice, sideTileWidth); 303 destRect = tileRect; [all...] |
CairoUtilities.cpp | 124 void drawPatternToCairoContext(cairo_t* cr, cairo_surface_t* image, const IntSize& imageSize, const FloatRect& tileRect, 134 if (tileRect.size() != imageSize) { 135 IntRect imageRect = enclosingIntRect(tileRect); 138 cairo_set_source_surface(clippedImageContext.get(), image, -tileRect.x(), -tileRect.y()); 147 cairo_matrix_t phaseMatrix = {1, 0, 0, 1, phase.x() + tileRect.x() * patternTransform.a(), phase.y() + tileRect.y() * patternTransform.d()};
|
CairoUtilities.h | 46 void drawPatternToCairoContext(cairo_t* cr, cairo_surface_t* image, const IntSize& imageSize, const FloatRect& tileRect,
|
ImageCairo.cpp | 166 void Image::drawPattern(GraphicsContext* context, const FloatRect& tileRect, const AffineTransform& patternTransform, 174 drawPatternToCairoContext(cr, image, size(), tileRect, patternTransform, phase, toCairoOperator(op), destRect);
|
/external/webkit/Source/WebCore/platform/graphics/filters/ |
FETile.cpp | 65 FloatRect tileRect = in->maxEffectRect(); 66 FloatPoint inMaxEffectLocation = tileRect.location(); 70 tileRect = filter->filterRegion(); 71 tileRect.scale(filter->filterResolution().width(), filter->filterResolution().height()); 75 if (!SVGImageBufferTools::createImageBuffer(tileRect, tileRect, tileImage, ColorSpaceDeviceRGB))
|
/external/webkit/Source/WebCore/platform/graphics/openvg/ |
TiledImageOpenVG.h | 53 IntRect tileRect(int xIndex, int yIndex) const;
|
PainterOpenVG.cpp | 1082 FloatRect tile(tiledImage->tileRect(xIndex, yIndex)); [all...] |
TiledImageOpenVG.cpp | 120 IntRect TiledImageOpenVG::tileRect(int xIndex, int yIndex) const
|
/external/webkit/Source/WebCore/platform/graphics/chromium/ |
LayerTilerChromium.cpp | 138 IntRect tileRect = tileContentRect(tile); 139 if (tileRect.intersects(contentRect)) 404 IntRect tileRect = m_tilingData.tileBounds(m_tilingData.tileIndex(tile->i(), tile->j())); 405 tileRect.move(m_layerPosition.x(), m_layerPosition.y()); 406 tileMatrix.translate3d(tileRect.x() + tileRect.width() / 2.0, tileRect.y() + tileRect.height() / 2.0, 0); 413 float texScaleX = tileRect.width() / tileWidth; 414 float texScaleY = tileRect.height() / tileHeight [all...] |
/external/webkit/Source/WebCore/platform/graphics/ |
ShadowBlur.cpp | 749 FloatRect tileRect = FloatRect(leftSlice, 0, templateSideLength, topSlice); 751 graphicsContext->drawImageBuffer(m_layerImage, ColorSpaceDeviceRGB, destRect, tileRect); 754 tileRect.setY(templateSize.height() - bottomSlice); 755 tileRect.setHeight(bottomSlice); 758 graphicsContext->drawImageBuffer(m_layerImage, ColorSpaceDeviceRGB, destRect, tileRect); 761 tileRect = FloatRect(0, topSlice, leftSlice, templateSideLength); 763 graphicsContext->drawImageBuffer(m_layerImage, ColorSpaceDeviceRGB, destRect, tileRect); 766 tileRect.setX(templateSize.width() - rightSlice); 767 tileRect.setWidth(rightSlice); 770 graphicsContext->drawImageBuffer(m_layerImage, ColorSpaceDeviceRGB, destRect, tileRect); [all...] |
TiledBackingStore.cpp | 145 IntRect tileRect = tileRectForCoordinate(currentCoordinate); 146 IntRect target = intersection(tileRect, dirtyRect); 277 IntRect tileRect = it->second->rect(); 279 if (expectedTileRect != tileRect || !contentsRect.contains(tileRect)) 295 FloatRect tileRect = it->second->rect(); 296 if (!tileRect.intersects(keepRectF))
|
Image.cpp | 141 FloatRect tileRect(FloatPoint(), intrinsicTileSize); 142 drawPattern(ctxt, tileRect, patternTransform, oneTileRect.location(), styleColorSpace, op, destRect);
|
/external/webkit/Source/WebCore/platform/graphics/wince/ |
SharedBitmap.cpp | 424 FloatRect tileRect(tileRectIn); 427 double temp = tileRect.width() * rate; 428 tileRect.setX(tileRect.x() * rate); 429 tileRect.setWidth(temp); 430 temp = tileRect.height() * rate; 431 tileRect.setY(tileRect.y() * rate); 432 tileRect.setHeight(temp); 437 if (tileRect.x() || tileRect.y() || tileRect.width() != bmpWidth || tileRect.height() != bmpHeight) [all...] |
ImageWinCE.cpp | 136 void Image::drawPattern(GraphicsContext* ctxt, const FloatRect& tileRect, const AffineTransform& patternTransform,
|
/external/webkit/Source/WebCore/platform/graphics/haiku/ |
ImageHaiku.cpp | 124 void Image::drawPattern(GraphicsContext* context, const FloatRect& tileRect, const AffineTransform& patternTransform, const FloatPoint& phase, ColorSpace, CompositeOperator op, const FloatRect& dstRect) 154 BRect bTileRect(tileRect);
|
/external/webkit/Source/WebCore/platform/graphics/android/rendering/ |
Surface.cpp | 434 IntRect tileRect = IntRect(tile->x() * TilesManager::tileWidth(), 438 FloatRect tileRectInDoc = tileRect; 450 enclosingScreenDirty.intersect(tileRect); 473 SkIRect textureInval = SkIRect::MakeXYWH(enclosingScreenDirty.x() - tileRect.x(), 474 enclosingScreenDirty.y() - tileRect.y(),
|
/external/webkit/Source/WebCore/platform/graphics/qt/ |
ImageQt.cpp | 104 void Image::drawPattern(GraphicsContext* ctxt, const FloatRect& tileRect, const AffineTransform& patternTransform, 113 QRect tr = QRectF(tileRect).toRect().normalized();
|
/external/webkit/Source/WebKit2/UIProcess/ |
TiledDrawingAreaProxy.cpp | 490 IntRect tileRect = it->second->rect(); 492 if (!contentsRect.contains(tileRect)) 494 else if (expectedTileRect != tileRect) { 513 FloatRect tileRect = it->second->rect(); 514 if (!tileRect.intersects(keepRectF))
|
/external/skia/tools/ |
PictureRenderer.cpp | 471 static void DrawTileToCanvas(SkCanvas* canvas, const SkRect& tileRect, T* playback) { 476 mat.postTranslate(-tileRect.fLeft, -tileRect.fTop);
|