Searched refs:tileRect (Results 1 - 22 of 22) sorted by relevance

/external/webkit/Source/WebKit2/WebProcess/WebPage/qt/
H A DTiledDrawingAreaQt.cpp44 IntRect tileRect = updateChunk->rect(); local
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/
H A DImageDecoderOpenVG.cpp57 IntRect tileRect = tiledImage->tileRect(xIndex, yIndex); local
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/
H A DPatternCG.cpp55 IntRect tileRect = tileImage()->rect(); local
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,
H A DImageCG.cpp260 void Image::drawPattern(GraphicsContext* ctxt, const FloatRect& tileRect, const AffineTransform& patternTransform, argument
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
[all...]
/external/webkit/Source/WebCore/platform/graphics/cairo/
H A DContextShadowCairo.cpp284 FloatRect tileRect = FloatRect(radiusTwice + topLeftRadius.width(), 0, sideTileWidth, radiusTwice); local
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...]
H A DCairoUtilities.cpp124 void drawPatternToCairoContext(cairo_t* cr, cairo_surface_t* image, const IntSize& imageSize, const FloatRect& tileRect, argument
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()};
H A DCairoUtilities.h46 void drawPatternToCairoContext(cairo_t* cr, cairo_surface_t* image, const IntSize& imageSize, const FloatRect& tileRect,
H A DImageCairo.cpp166 void Image::drawPattern(GraphicsContext* context, const FloatRect& tileRect, const AffineTransform& patternTransform, argument
174 drawPatternToCairoContext(cr, image, size(), tileRect, patternTransform, phase, toCairoOperator(op), destRect);
/external/webkit/Source/WebCore/platform/graphics/filters/
H A DFETile.cpp65 FloatRect tileRect = in->maxEffectRect(); local
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/
H A DTiledImageOpenVG.h53 IntRect tileRect(int xIndex, int yIndex) const;
H A DPainterOpenVG.cpp1082 FloatRect tile(tiledImage->tileRect(xIndex, yIndex));
1179 IntRect tileRect = tiledImage->tileRect(xIndex, yIndex); local
1180 VGImage image = vgCreateImage(format, tileRect.width(), tileRect.height(), VG_IMAGE_QUALITY_FASTER);
1192 IntRect tileRect = tiledImage->tileRect(xIndex, yIndex); local
1195 rect.x() + tileRect.x(), rect.y() + tileRect.y(),
1196 tileRect
[all...]
H A DTiledImageOpenVG.cpp120 IntRect TiledImageOpenVG::tileRect(int xIndex, int yIndex) const
/external/webkit/Source/WebCore/platform/graphics/chromium/
H A DLayerTilerChromium.cpp138 IntRect tileRect = tileContentRect(tile); local
139 if (tileRect.intersects(contentRect))
404 IntRect tileRect = m_tilingData.tileBounds(m_tilingData.tileIndex(tile->i(), tile->j())); local
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
[all...]
/external/webkit/Source/WebCore/platform/graphics/
H A DShadowBlur.cpp749 FloatRect tileRect = FloatRect(leftSlice, 0, templateSideLength, topSlice); local
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...]
H A DTiledBackingStore.cpp145 IntRect tileRect = tileRectForCoordinate(currentCoordinate); local
146 IntRect target = intersection(tileRect, dirtyRect);
277 IntRect tileRect = it->second->rect(); local
279 if (expectedTileRect != tileRect || !contentsRect.contains(tileRect))
295 FloatRect tileRect = it->second->rect(); local
296 if (!tileRect.intersects(keepRectF))
H A DImage.cpp141 FloatRect tileRect(FloatPoint(), intrinsicTileSize);
142 drawPattern(ctxt, tileRect, patternTransform, oneTileRect.location(), styleColorSpace, op, destRect);
/external/webkit/Source/WebCore/platform/graphics/wince/
H A DSharedBitmap.cpp424 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
[all...]
H A DImageWinCE.cpp136 void Image::drawPattern(GraphicsContext* ctxt, const FloatRect& tileRect, const AffineTransform& patternTransform, argument
/external/webkit/Source/WebCore/platform/graphics/haiku/
H A DImageHaiku.cpp124 void Image::drawPattern(GraphicsContext* context, const FloatRect& tileRect, const AffineTransform& patternTransform, const FloatPoint& phase, ColorSpace, CompositeOperator op, const FloatRect& dstRect) argument
154 BRect bTileRect(tileRect);
/external/webkit/Source/WebCore/platform/graphics/android/rendering/
H A DSurface.cpp434 IntRect tileRect = IntRect(tile->x() * TilesManager::tileWidth(), local
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/
H A DImageQt.cpp104 void Image::drawPattern(GraphicsContext* ctxt, const FloatRect& tileRect, const AffineTransform& patternTransform, argument
113 QRect tr = QRectF(tileRect).toRect().normalized();
/external/webkit/Source/WebKit2/UIProcess/
H A DTiledDrawingAreaProxy.cpp490 IntRect tileRect = it->second->rect(); local
492 if (!contentsRect.contains(tileRect))
494 else if (expectedTileRect != tileRect) {
513 FloatRect tileRect = it->second->rect(); local
514 if (!tileRect.intersects(keepRectF))

Completed in 945 milliseconds