Home
last modified time | relevance | path

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

/external/webkit/WebCore/platform/graphics/cg/
DImageCG.cpp247 void Image::drawPattern(GraphicsContext* ctxt, const FloatRect& tileRect, const AffineTransform& pa… in drawPattern() argument
266 float scaledTileHeight = tileRect.height() * narrowPrecisionToFloat(patternTransform.d()); in drawPattern()
270 …float adjustedX = phase.x() - destRect.x() + tileRect.x() * narrowPrecisionToFloat(patternTransfor… in drawPattern()
271 …float adjustedY = destRect.height() - (phase.y() - destRect.y() + tileRect.y() * narrowPrecisionTo… in drawPattern()
277 if (tileRect.size() == size()) in drawPattern()
283 subImage.adoptCF(CGImageCreateWithImageInRect(tileImage, tileRect)); in drawPattern()
295 float scaledTileWidth = tileRect.width() * narrowPrecisionToFloat(patternTransform.a()); in drawPattern()
298 …dth() && h == size().height() && scaledTileWidth == tileRect.width() && scaledTileHeight == tileRe… in drawPattern()
315 …tern(AdoptCF, CGPatternCreate(subImage.get(), CGRectMake(0, 0, tileRect.width(), tileRect.height()… in drawPattern()
316 matrix, tileRect.width(), tileRect.height(), in drawPattern()
DPatternCG.cpp55 IntRect tileRect = tileImage()->rect(); in createPlatformPattern() local
60 patternTransform.translate(0, -tileRect.height()); in createPlatformPattern()
67 CGFloat xStep = m_repeatX ? tileRect.width() : (1 << 22); in createPlatformPattern()
68 CGFloat yStep = m_repeatY ? tileRect.height() : (1 << 22); in createPlatformPattern()
74 return CGPatternCreate(tileImage(), tileRect, patternTransform, xStep, yStep, in createPlatformPattern()
/external/webkit/WebCore/svg/graphics/
DSVGPaintServerPattern.cpp116 IntRect tileRect = tile()->image()->rect(); in setup() local
117 …if (tileRect.width() > patternBoundaries().width() || tileRect.height() > patternBoundaries().heig… in setup()
125 int numY = static_cast<int>(ceilf(tileRect.height() / tileHeight)) + 1; in setup()
126 int numX = static_cast<int>(ceilf(tileRect.width() / tileWidth)) + 1; in setup()
134 … tileImageContext->drawImage(tile()->image(), style->colorSpace(), tileRect, tileRect); in setup()
/external/webkit/WebCore/platform/graphics/cairo/
DImageCairo.cpp173 void Image::drawPattern(GraphicsContext* context, const FloatRect& tileRect, const AffineTransform&… in drawPattern() argument
187 IntRect imageSize = enclosingIntRect(tileRect); in drawPattern()
193 if (tileRect.size() != size()) { in drawPattern()
195 cairo_set_source_surface(clippedImageContext, image, -tileRect.x(), -tileRect.y()); in drawPattern()
204 …atrix_t phase_matrix = {1, 0, 0, 1, phase.x() + tileRect.x() * patternTransform.a(), phase.y() + t… in drawPattern()
/external/webkit/WebCore/svg/graphics/filters/
DSVGFETile.cpp63 IntRect tileRect = enclosingIntRect(m_in->scaledSubRegion()); in apply() local
70 tileRect = enclosingIntRect(filterRegion); in apply()
73 OwnPtr<ImageBuffer> tileImage = ImageBuffer::create(tileRect.size()); in apply()
/external/webkit/WebCore/platform/graphics/haiku/
DImageHaiku.cpp123 void Image::drawPattern(GraphicsContext* context, const FloatRect& tileRect, const AffineTransform&… in drawPattern() argument
153 BRect bTileRect(tileRect); in drawPattern()
/external/webkit/WebCore/platform/graphics/qt/
DImageQt.cpp96 void Image::drawPattern(GraphicsContext* ctxt, const FloatRect& tileRect, const AffineTransform& pa… in drawPattern() argument
104 QRect tr = QRectF(tileRect).toRect(); in drawPattern()
/external/webkit/WebCore/platform/graphics/
DImage.cpp140 FloatRect tileRect(FloatPoint(), intrinsicTileSize); in drawTiled() local
141 …drawPattern(ctxt, tileRect, patternTransform, oneTileRect.location(), styleColorSpace, op, destRec… in drawTiled()
/external/webkit/WebCore/
DChangeLog-2009-06-167214 Added the use of tileRect() for a correct drawing of