HomeSort by relevance Sort by last modified time
    Searched refs:sourceRect (Results 1 - 14 of 14) sorted by null

  /external/webkit/WebCore/platform/graphics/wince/
ImageBufferWince.cpp 111 IntRect sourceRect(0, 0, bitmap->width(), bitmap->height());
112 sourceRect.intersect(rect);
113 if (sourceRect.isEmpty())
118 src += (sourceRect.y() * bitmap->width() + sourceRect.x()) * 4;
119 dst += ((sourceRect.y() - rect.y()) * imageData->width() + sourceRect.x() - rect.x()) * 4;
120 int bytesToCopy = sourceRect.width() * 4;
121 int srcSkip = (bitmap->width() - sourceRect.width()) * 4;
122 int dstSkip = (imageData->width() - sourceRect.width()) * 4
    [all...]
  /external/webkit/WebCore/platform/graphics/skia/
ImageBufferSkia.cpp 202 void putImageData(ImageData*& source, const IntRect& sourceRect, const IntPoint& destPoint,
205 ASSERT(sourceRect.width() > 0);
206 ASSERT(sourceRect.height() > 0);
208 int originX = sourceRect.x();
209 int destX = destPoint.x() + sourceRect.x();
213 ASSERT(originX < sourceRect.right());
215 int endX = destPoint.x() + sourceRect.right();
220 int originY = sourceRect.y();
221 int destY = destPoint.y() + sourceRect.y();
225 ASSERT(originY < sourceRect.bottom())
    [all...]
  /external/webkit/WebCore/platform/graphics/haiku/
ImageBufferHaiku.cpp 69 void ImageBuffer::putUnmultipliedImageData(ImageData* source, const IntRect& sourceRect, const IntPoint& destPoint)
74 void ImageBuffer::putPremultipliedImageData(ImageData* source, const IntRect& sourceRect, const IntPoint& destPoint)
  /external/webkit/WebCore/platform/graphics/wx/
ImageBufferWx.cpp 68 void ImageBuffer::putUnmultipliedImageData(ImageData* source, const IntRect& sourceRect, const IntPoint& destPoint)
73 void ImageBuffer::putPremultipliedImageData(ImageData* source, const IntRect& sourceRect, const IntPoint& destPoint)
  /external/webkit/WebCore/platform/graphics/cairo/
ImageBufferCairo.cpp 212 void putImageData(ImageData*& source, const IntRect& sourceRect, const IntPoint& destPoint, ImageBufferData& data, const IntSize& size)
218 ASSERT(sourceRect.width() > 0);
219 ASSERT(sourceRect.height() > 0);
221 int originx = sourceRect.x();
222 int destx = destPoint.x() + sourceRect.x();
226 ASSERT(originx <= sourceRect.right());
228 int endx = destPoint.x() + sourceRect.right();
233 int originy = sourceRect.y();
234 int desty = destPoint.y() + sourceRect.y();
238 ASSERT(originy <= sourceRect.bottom())
    [all...]
GraphicsContextCairo.cpp 138 void GraphicsContext::calculateShadowBufferDimensions(IntSize& shadowBufferSize, FloatRect& shadowRect, float& kernelSize, const FloatRect& sourceRect, const IntSize& shadowSize, int shadowBlur)
145 shadowBufferSize = IntSize(sourceRect.width() + blurRadius * 2, sourceRect.height() + blurRadius * 2);
148 shadowRect = FloatRect(sourceRect.location(), shadowBufferSize);
    [all...]
  /external/webkit/WebCore/platform/graphics/cg/
ImageBufferCG.cpp 191 void putImageData(ImageData*& source, const IntRect& sourceRect, const IntPoint& destPoint, ImageBufferData& imageData, const IntSize& size)
193 ASSERT(sourceRect.width() > 0);
194 ASSERT(sourceRect.height() > 0);
196 int originx = sourceRect.x();
197 int destx = destPoint.x() + sourceRect.x();
201 ASSERT(originx <= sourceRect.right());
203 int endx = destPoint.x() + sourceRect.right();
208 int originy = sourceRect.y();
209 int desty = destPoint.y() + sourceRect.y();
213 ASSERT(originy <= sourceRect.bottom())
    [all...]
  /external/webkit/WebCore/platform/graphics/qt/
ImageBufferQt.cpp 196 void putImageData(ImageData*& source, const IntRect& sourceRect, const IntPoint& destPoint, ImageBufferData& data, const IntSize& size)
198 ASSERT(sourceRect.width() > 0);
199 ASSERT(sourceRect.height() > 0);
201 int originx = sourceRect.x();
202 int destx = destPoint.x() + sourceRect.x();
206 ASSERT(originx <= sourceRect.right());
208 int endx = destPoint.x() + sourceRect.right();
213 int originy = sourceRect.y();
214 int desty = destPoint.y() + sourceRect.y();
218 ASSERT(originy <= sourceRect.bottom())
    [all...]
  /external/webkit/WebCore/platform/graphics/android/
ImageBufferAndroid.cpp 152 void ImageBuffer::putUnmultipliedImageData(ImageData* source, const IntRect& sourceRect, const IntPoint& destPoint)
165 ASSERT(sourceRect.width() > 0);
166 ASSERT(sourceRect.height() > 0);
168 int originx = sourceRect.x();
169 int destx = destPoint.x() + sourceRect.x();
173 ASSERT(originx <= sourceRect.right());
175 int endx = destPoint.x() + sourceRect.right();
180 int originy = sourceRect.y();
181 int desty = destPoint.y() + sourceRect.y();
185 ASSERT(originy <= sourceRect.bottom())
    [all...]
  /external/webkit/WebCore/platform/graphics/
ImageBuffer.h 82 void putUnmultipliedImageData(ImageData*, const IntRect& sourceRect, const IntPoint& destPoint);
83 void putPremultipliedImageData(ImageData*, const IntRect& sourceRect, const IntPoint& destPoint);
GraphicsContext.h 317 static void calculateShadowBufferDimensions(IntSize& shadowBufferSize, FloatRect& shadowRect, float& kernelSize, const FloatRect& sourceRect, const IntSize& shadowSize, int shadowBlur);
  /external/webkit/WebCore/html/canvas/
CanvasRenderingContext2D.cpp 1001 FloatRect sourceRect = c->roundToDevicePixels(srcRect);
1004 c->drawImage(cachedImage->image(), DeviceColorSpace, destRect, sourceRect, state().m_globalComposite);
1043 FloatRect sourceRect = c->roundToDevicePixels(srcRect);
1054 c->drawImage(buffer->image(), DeviceColorSpace, destRect, sourceRect, state().m_globalComposite);
1103 FloatRect sourceRect = c->roundToDevicePixels(srcRect);
1110 c->scale(FloatSize(destRect.width()/sourceRect.width(), destRect.height()/sourceRect.height()));
1111 c->translate(-sourceRect.x(), -sourceRect.y());
    [all...]
  /external/webkit/WebCore/platform/graphics/chromium/
TransparencyWin.cpp 459 SkIRect sourceRect = { 0, 0, m_layerSize.width(), m_layerSize.height() };
460 destCanvas->drawBitmapRect(*bitmap, &sourceRect, destRect, &paint);
494 SkIRect sourceRect = { 0, 0, m_layerSize.width(), m_layerSize.height() };
495 destCanvas->drawBitmapRect(bitmap, &sourceRect, destRect, 0);
  /external/webkit/WebKit/gtk/WebCoreSupport/
ChromeClientGtk.cpp 353 GdkRectangle sourceRect = area;
354 sourceRect.x -= delta.width();
355 sourceRect.y -= delta.height();
359 if (gdk_rectangle_intersect(&area, &sourceRect, &moveRect)) {

Completed in 159 milliseconds