Home
last modified time | relevance | path

Searched refs:tileRect (Results 1 – 25 of 25) sorted by relevance

/external/webkit/Source/WebCore/platform/graphics/cairo/
DContextShadowCairo.cpp284 …FloatRect tileRect = FloatRect(radiusTwice + topLeftRadius.width(), 0, sideTileWidth, radiusTwice); in drawRectShadow() local
285 FloatRect destRect = tileRect; in drawRectShadow()
288 FloatPoint phase = getPhase(destRect, tileRect); in drawRectShadow()
291 …drawPatternToCairoContext(cr, m_layerImage, shadowTemplateSize, tileRect, patternTransform, phase,… in drawRectShadow()
294tileRect = FloatRect(radiusTwice + bottomLeftRadius.width(), shadowTemplateSize.height() - radiusT… in drawRectShadow()
295 destRect = tileRect; in drawRectShadow()
298 phase = getPhase(destRect, tileRect); in drawRectShadow()
299 …drawPatternToCairoContext(cr, m_layerImage, shadowTemplateSize, tileRect, patternTransform, phase,… in drawRectShadow()
302tileRect = FloatRect(shadowTemplateSize.width() - radiusTwice, radiusTwice + topRightRadius.height… in drawRectShadow()
303 destRect = tileRect; in drawRectShadow()
[all …]
DCairoUtilities.cpp124 …roContext(cairo_t* cr, cairo_surface_t* image, const IntSize& imageSize, const FloatRect& tileRect, in drawPatternToCairoContext() argument
134 if (tileRect.size() != imageSize) { in drawPatternToCairoContext()
135 IntRect imageRect = enclosingIntRect(tileRect); in drawPatternToCairoContext()
138 cairo_set_source_surface(clippedImageContext.get(), image, -tileRect.x(), -tileRect.y()); in drawPatternToCairoContext()
147 …matrix_t phaseMatrix = {1, 0, 0, 1, phase.x() + tileRect.x() * patternTransform.a(), phase.y() + t… in drawPatternToCairoContext()
DImageCairo.cpp166 void Image::drawPattern(GraphicsContext* context, const FloatRect& tileRect, const AffineTransform&… in drawPattern() argument
174 …drawPatternToCairoContext(cr, image, size(), tileRect, patternTransform, phase, toCairoOperator(op… in drawPattern()
DCairoUtilities.h46 …roContext(cairo_t* cr, cairo_surface_t* image, const IntSize& imageSize, const FloatRect& tileRect,
/external/webkit/Source/WebCore/platform/image-decoders/openvg/
DImageDecoderOpenVG.cpp57 IntRect tileRect = tiledImage->tileRect(xIndex, yIndex); in asNewNativeImage() local
59 tileRect.width(), tileRect.height(), VG_IMAGE_QUALITY_FASTER); in asNewNativeImage()
63 pixelData += (tileRect.y() * width()) + tileRect.x(); in asNewNativeImage()
67 0, 0, tileRect.width(), tileRect.height()); in asNewNativeImage()
/external/webkit/Source/WebKit2/WebProcess/WebPage/qt/
DTiledDrawingAreaQt.cpp44 IntRect tileRect = updateChunk->rect(); in paintIntoUpdateChunk() local
49 graphicsContext.translate(-tileRect.x(), -tileRect.y()); in paintIntoUpdateChunk()
51 IntRect contentRect = enclosingIntRect(FloatRect(tileRect.x() / scale, in paintIntoUpdateChunk()
52 tileRect.y() / scale, in paintIntoUpdateChunk()
53 tileRect.width() / scale, in paintIntoUpdateChunk()
54 tileRect.height() / scale)); in paintIntoUpdateChunk()
/external/webkit/Source/WebCore/platform/graphics/cg/
DPatternCG.cpp55 IntRect tileRect = tileImage()->rect(); in createPlatformPattern() local
59 patternTransform.translate(0, -tileRect.height()); in createPlatformPattern()
66 CGFloat xStep = m_repeatX ? tileRect.width() : (1 << 22); in createPlatformPattern()
67 CGFloat yStep = m_repeatY ? tileRect.height() : (1 << 22); in createPlatformPattern()
73 return CGPatternCreate(tileImage(), tileRect, patternTransform, xStep, yStep, in createPlatformPattern()
DImageCG.cpp260 void Image::drawPattern(GraphicsContext* ctxt, const FloatRect& tileRect, const AffineTransform& pa… in drawPattern() argument
284 float scaledTileHeight = tileRect.height() * narrowPrecisionToFloat(patternTransform.d()); in drawPattern()
288 …float adjustedX = phase.x() - destRect.x() + tileRect.x() * narrowPrecisionToFloat(patternTransfor… in drawPattern()
289 …float adjustedY = destRect.height() - (phase.y() - destRect.y() + tileRect.y() * narrowPrecisionTo… in drawPattern()
295 if (tileRect.size() == size()) in drawPattern()
301 subImage.adoptCF(CGImageCreateWithImageInRect(tileImage, tileRect)); in drawPattern()
313 float scaledTileWidth = tileRect.width() * narrowPrecisionToFloat(patternTransform.a()); in drawPattern()
316 …dth() && h == size().height() && scaledTileWidth == tileRect.width() && scaledTileHeight == tileRe… in drawPattern()
333 …tern(AdoptCF, CGPatternCreate(subImage.get(), CGRectMake(0, 0, tileRect.width(), tileRect.height()… in drawPattern()
334 matrix, tileRect.width(), tileRect.height(), in drawPattern()
/external/webkit/Source/WebCore/platform/graphics/filters/
DFETile.cpp65 FloatRect tileRect = in->maxEffectRect(); in apply() local
66 FloatPoint inMaxEffectLocation = tileRect.location(); in apply()
70 tileRect = filter->filterRegion(); in apply()
71 tileRect.scale(filter->filterResolution().width(), filter->filterResolution().height()); in apply()
75 if (!SVGImageBufferTools::createImageBuffer(tileRect, tileRect, tileImage, ColorSpaceDeviceRGB)) in apply()
/external/webkit/Source/WebCore/platform/graphics/wince/
DSharedBitmap.cpp424 FloatRect tileRect(tileRectIn); in drawPattern() local
427 double temp = tileRect.width() * rate; in drawPattern()
428 tileRect.setX(tileRect.x() * rate); in drawPattern()
429 tileRect.setWidth(temp); in drawPattern()
430 temp = tileRect.height() * rate; in drawPattern()
431 tileRect.setY(tileRect.y() * rate); in drawPattern()
432 tileRect.setHeight(temp); in drawPattern()
437 …if (tileRect.x() || tileRect.y() || tileRect.width() != bmpWidth || tileRect.height() != bmpHeight… in drawPattern()
440 clippedBmp = clipBitmap(IntRect(tileRect), useAlpha, patternBmpInfo, patternPixels); in drawPattern()
444 bmpWidth = tileRect.width(); in drawPattern()
[all …]
DImageWinCE.cpp136 void Image::drawPattern(GraphicsContext* ctxt, const FloatRect& tileRect, const AffineTransform& pa… in drawPattern() argument
/external/webkit/Source/WebCore/platform/graphics/
DShadowBlur.cpp749 FloatRect tileRect = FloatRect(leftSlice, 0, templateSideLength, topSlice); in drawLayerPieces() local
751 graphicsContext->drawImageBuffer(m_layerImage, ColorSpaceDeviceRGB, destRect, tileRect); in drawLayerPieces()
754 tileRect.setY(templateSize.height() - bottomSlice); in drawLayerPieces()
755 tileRect.setHeight(bottomSlice); in drawLayerPieces()
758 graphicsContext->drawImageBuffer(m_layerImage, ColorSpaceDeviceRGB, destRect, tileRect); in drawLayerPieces()
761 tileRect = FloatRect(0, topSlice, leftSlice, templateSideLength); in drawLayerPieces()
763 graphicsContext->drawImageBuffer(m_layerImage, ColorSpaceDeviceRGB, destRect, tileRect); in drawLayerPieces()
766 tileRect.setX(templateSize.width() - rightSlice); in drawLayerPieces()
767 tileRect.setWidth(rightSlice); in drawLayerPieces()
770 graphicsContext->drawImageBuffer(m_layerImage, ColorSpaceDeviceRGB, destRect, tileRect); in drawLayerPieces()
[all …]
DTiledBackingStore.cpp145 IntRect tileRect = tileRectForCoordinate(currentCoordinate); in paint() local
146 IntRect target = intersection(tileRect, dirtyRect); in paint()
277 IntRect tileRect = it->second->rect(); in dropOverhangingTiles() local
279 if (expectedTileRect != tileRect || !contentsRect.contains(tileRect)) in dropOverhangingTiles()
295 FloatRect tileRect = it->second->rect(); in dropTilesOutsideRect() local
296 if (!tileRect.intersects(keepRectF)) in dropTilesOutsideRect()
DImage.cpp141 FloatRect tileRect(FloatPoint(), intrinsicTileSize); in drawTiled() local
142 …drawPattern(ctxt, tileRect, patternTransform, oneTileRect.location(), styleColorSpace, op, destRec… in drawTiled()
/external/webkit/Source/WebCore/platform/graphics/chromium/
DLayerTilerChromium.cpp138 IntRect tileRect = tileContentRect(tile); in invalidateTiles() local
139 if (tileRect.intersects(contentRect)) in invalidateTiles()
404 … IntRect tileRect = m_tilingData.tileBounds(m_tilingData.tileIndex(tile->i(), tile->j())); in draw() local
405 tileRect.move(m_layerPosition.x(), m_layerPosition.y()); in draw()
406 …tileMatrix.translate3d(tileRect.x() + tileRect.width() / 2.0, tileRect.y() + tileRect.height() / 2… in draw()
413 float texScaleX = tileRect.width() / tileWidth; in draw()
414 float texScaleY = tileRect.height() / tileHeight; in draw()
416 …Quad(context, layerRenderer()->projectionMatrix(), tileMatrix, tileRect.width(), tileRect.height()… in draw()
/external/webkit/Source/WebCore/platform/graphics/android/rendering/
DSurface.cpp434 IntRect tileRect = IntRect(tile->x() * TilesManager::tileWidth(), in blitFromContents() local
438 FloatRect tileRectInDoc = tileRect; in blitFromContents()
450 enclosingScreenDirty.intersect(tileRect); in blitFromContents()
473 SkIRect textureInval = SkIRect::MakeXYWH(enclosingScreenDirty.x() - tileRect.x(), in blitFromContents()
474 enclosingScreenDirty.y() - tileRect.y(), in blitFromContents()
/external/webkit/Source/WebCore/platform/graphics/openvg/
DPainterOpenVG.cpp1082 FloatRect tile(tiledImage->tileRect(xIndex, yIndex)); in drawImage()
1179 IntRect tileRect = tiledImage->tileRect(xIndex, yIndex); in asNewNativeImage() local
1180 …VGImage image = vgCreateImage(format, tileRect.width(), tileRect.height(), VG_IMAGE_QUALITY_FASTER… in asNewNativeImage()
1192 IntRect tileRect = tiledImage->tileRect(xIndex, yIndex); in asNewNativeImage() local
1195 rect.x() + tileRect.x(), rect.y() + tileRect.y(), in asNewNativeImage()
1196 tileRect.width(), tileRect.height()); in asNewNativeImage()
DTiledImageOpenVG.h53 IntRect tileRect(int xIndex, int yIndex) const;
DTiledImageOpenVG.cpp120 IntRect TiledImageOpenVG::tileRect(int xIndex, int yIndex) const in tileRect() function in WebCore::TiledImageOpenVG
/external/webkit/Source/WebCore/platform/graphics/haiku/
DImageHaiku.cpp124 void Image::drawPattern(GraphicsContext* context, const FloatRect& tileRect, const AffineTransform&… in drawPattern() argument
154 BRect bTileRect(tileRect); in drawPattern()
/external/webkit/Source/WebKit2/UIProcess/
DTiledDrawingAreaProxy.cpp490 IntRect tileRect = it->second->rect(); in resizeEdgeTiles() local
492 if (!contentsRect.contains(tileRect)) in resizeEdgeTiles()
494 else if (expectedTileRect != tileRect) { in resizeEdgeTiles()
513 FloatRect tileRect = it->second->rect(); in dropTilesOutsideRect() local
514 if (!tileRect.intersects(keepRectF)) in dropTilesOutsideRect()
/external/webkit/Source/WebCore/platform/graphics/qt/
DImageQt.cpp104 void Image::drawPattern(GraphicsContext* ctxt, const FloatRect& tileRect, const AffineTransform& pa… in drawPattern() argument
113 QRect tr = QRectF(tileRect).toRect().normalized(); in drawPattern()
/external/skia/tools/
DPictureRenderer.cpp471 static void DrawTileToCanvas(SkCanvas* canvas, const SkRect& tileRect, T* playback) { in DrawTileToCanvas() argument
476 mat.postTranslate(-tileRect.fLeft, -tileRect.fTop); in DrawTileToCanvas()
/external/webkit/Source/WebCore/
DChangeLog-2010-05-244876 (WebCore::TiledImageOpenVG::tileRect):
DChangeLog-2009-06-167214 Added the use of tileRect() for a correct drawing of