Home
last modified time | relevance | path

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

12

/external/webkit/WebCore/platform/graphics/wince/
DGraphicsContextWince.cpp126 template<class Transform, class Rect, class Value> static inline Rect mapRect(const Rect& rect, con… in mapRect() function
153 template<class T> static inline IntRect mapRect(const IntRect& rect, const T& transform) in mapRect() function
155 return mapRect<T, IntRect, int>(rect, transform); in mapRect()
158 template<class T> static inline FloatRect mapRect(const FloatRect& rect, const T& transform) in mapRect() function
160 return mapRect<T, FloatRect, double>(rect, transform); in mapRect()
219 IntRect mapRect(const IntRect& rect) const in mapRect() function in WebCore::GraphicsContextPlatformPrivate
221 return m_transform.mapRect(rect); in mapRect()
224 FloatRect mapRect(const FloatRect& rect) const in mapRect() function in WebCore::GraphicsContextPlatformPrivate
226 return m_transform.mapRect(rect); in mapRect()
504 m_origRect = mapRect(m_rotatedOrigRect, m_rotation); in TransparentLayerDC()
[all …]
/external/webkit/WebCore/rendering/
DSVGRenderSupport.cpp60 repaintRect = object->localToParentTransform().mapRect(repaintRect); in computeRectForRepaint()
211 FloatRect childBBoxInLocalCoords = current->localToParentTransform().mapRect(childBBox); in computeContainerBoundingBox()
236 paintInfo.rect = localToAncestorTransform.inverse().mapRect(paintInfo.rect); in applyTransformToPaintInfo()
DRenderSVGContainer.cpp129 …IntRect paintRectInParent = enclosingIntRect(localToParentTransform().mapRect(repaintRectInLocalCo… in paint()
137 …IntRect paintRectInParent = enclosingIntRect(localToParentTransform().mapRect(repaintRectInLocalCo… in addFocusRingRects()
DRenderForeignObject.cpp86 rect = localToParentTransform().mapRect(rect); in computeRectForRepaint()
DSVGInlineTextBox.cpp115 glyphRect = ctm.mapRect(glyphRect); in calculateGlyphBoundaries()
144 … FloatRect glyphRect = chunkCtm.mapRect(textBox->calculateGlyphBoundaries(style, newOffset, *it)); in chunkPortionCallback()
211 m_selectionRect = chunkCtm.mapRect(m_selectionRect); in chunkPortionCallback()
DRenderSVGRoot.cpp263 repaintRect = localToBorderBoxTransform().mapRect(repaintRect); in computeRectForRepaint()
DRenderLayerCompositor.cpp327 boundingBoxRect = affineTrans->mapRect(boundingBoxRect); in calculateCompositedBounds()
328 unionBounds = affineTrans->mapRect(unionBounds); in calculateCompositedBounds()
DSVGRenderTreeAsText.cpp313 ts << " " << object.absoluteTransform().mapRect(object.repaintRectInLocalCoordinates()); in writePositionAndStyle()
DRenderImage.cpp308 …repaintRect = enclosingIntRect(mapRect(*rect, FloatRect(FloatPoint(), imageSize(1.0f)), contentBox… in imageChanged()
DRenderView.cpp290 rect = m_layer->transform()->mapRect(rect); in computeRectForRepaint()
/external/skia/include/core/
DSkMatrix.h347 bool mapRect(SkRect* dst, const SkRect& src) const;
355 bool mapRect(SkRect* rect) const { in mapRect() function
356 return this->mapRect(rect, *rect); in mapRect()
/external/webkit/WebCore/platform/graphics/skia/
DSkiaUtils.cpp178 canvas.getTotalMatrix().mapRect(&transformedSrc, srcRect); in ClipRectToCanvas()
187 inverseTransform.mapRect(destRect, transformedDest); in ClipRectToCanvas()
/external/webkit/WebCore/svg/graphics/
DSVGPaintServerGradient.cpp135 IntRect maskRect = enclosingIntRect(object->absoluteTransform().mapRect(maskBBox)); in createMaskAndSwapContextForTextGradient()
167 FloatRect textBoundary = transform.mapRect(maskBBox); in clipToTextMask()
DSVGResourceMarker.cpp105 m_cachedBounds = transform.mapRect(m_marker->absoluteClippedOverflowRect()); in draw()
/external/webkit/WebKit/android/nav/
DFindCanvas.cpp149 matrix.mapRect(&rect); in addMatchNormal()
183 matrix.mapRect(&r); in addMatchPos()
212 matrix.mapRect(&r); in addMatchPosH()
/external/webkit/WebCore/platform/graphics/transforms/
DTransformationMatrix.h124 FloatRect mapRect(const FloatRect&) const;
128 IntRect mapRect(const IntRect&) const;
DTransformationMatrix.cpp581 IntRect TransformationMatrix::mapRect(const IntRect &rect) const in mapRect() function in WebCore::TransformationMatrix
583 return enclosingIntRect(mapRect(FloatRect(rect))); in mapRect()
586 FloatRect TransformationMatrix::mapRect(const FloatRect& r) const in mapRect() function in WebCore::TransformationMatrix
/external/webkit/WebCore/platform/graphics/
DFloatRect.cpp122 FloatRect mapRect(const FloatRect& r, const FloatRect& srcRect, const FloatRect& destRect) in mapRect() function
DFloatRect.h179 FloatRect mapRect(const FloatRect& r, const FloatRect& srcRect, const FloatRect& destRect);
/external/skia/src/views/
DSkImageView.cpp175 matrix.mapRect(&bounds); // get the bounds into view coordinates in onDraw()
/external/skia/src/core/
DSkCanvas.cpp633 this->getTotalMatrix().mapRect(&r, *bounds); in saveLayer()
828 fMCRec->fMatrix->mapRect(&r, rect); in clipRect()
898 fMCRec->fMatrix->mapRect(&dst, rect); in quickReject()
976 inverse.mapRect(bounds, r); in getClipBounds()
/external/webkit/WebCore/html/
DHTMLCanvasElement.cpp163 FloatRect r = mapRect(rect, FloatRect(0, 0, m_size.width(), m_size.height()), destRect); in willDraw()
/external/webkit/WebCore/svg/
DSVGPatternElement.cpp204 patternContentBoundaries = viewBoxCTM.mapRect(patternContentBoundaries); in buildPattern()
/external/webkit/WebCore/platform/graphics/chromium/
DTransparencyWin.cpp215 m_transformedSourceRect = m_orgTransform.mapRect(m_sourceRect); in computeLayerSize()
/external/webkit/WebCore/platform/graphics/qt/
DGraphicsContextQt.cpp826 rect = m_data->p()->deviceMatrix().mapRect(rect); in roundToDevicePixels()
857 QRectF deviceClip = p->transform().mapRect(clip); in beginTransparencyLayer()

12