Searched refs:RoundedIntRect (Results 1 - 17 of 17) sorted by relevance

/external/webkit/Source/WebCore/platform/graphics/
H A DShadowBlur.h35 #include "RoundedIntRect.h"
52 void drawRectShadow(GraphicsContext*, const FloatRect&, const RoundedIntRect::Radii&);
53 void drawInsetShadow(GraphicsContext*, const FloatRect&, const FloatRect& holeRect, const RoundedIntRect::Radii& holeRadii);
67 IntSize templateSize(const RoundedIntRect::Radii&) const;
69 void drawRectShadowWithoutTiling(GraphicsContext*, const FloatRect&, const RoundedIntRect::Radii&, const IntRect& layerRect);
70 void drawRectShadowWithTiling(GraphicsContext*, const FloatRect&, const RoundedIntRect::Radii&, const IntSize& shadowTemplateSize);
72 void drawInsetShadowWithoutTiling(GraphicsContext*, const FloatRect&, const FloatRect& holeRect, const RoundedIntRect::Radii&, const IntRect& layerRect);
73 void drawInsetShadowWithTiling(GraphicsContext*, const FloatRect&, const FloatRect& holeRect, const RoundedIntRect::Radii&, const IntSize& shadowTemplateSize);
75 void drawLayerPieces(GraphicsContext*, const FloatRect& shadowBounds, const RoundedIntRect::Radii&, float roundedRadius, const IntSize& templateSize, ShadowDirection);
H A DRoundedIntRect.cpp28 #include "RoundedIntRect.h"
37 bool RoundedIntRect::Radii::isZero() const
42 void RoundedIntRect::Radii::scale(float factor)
63 void RoundedIntRect::Radii::expand(int topWidth, int bottomWidth, int leftWidth, int rightWidth)
78 void RoundedIntRect::Radii::includeLogicalEdges(const RoundedIntRect::Radii& edges, bool isHorizontal, bool includeLogicalLeftEdge, bool includeLogicalRightEdge)
97 void RoundedIntRect::Radii::excludeLogicalEdges(bool isHorizontal, bool excludeLogicalLeftEdge, bool excludeLogicalRightEdge)
116 RoundedIntRect::RoundedIntRect(int x, int y, int width, int height) function in class:WebCore::RoundedIntRect
121 RoundedIntRect function in class:WebCore::RoundedIntRect
127 RoundedIntRect::RoundedIntRect(const IntRect& rect, const IntSize& topLeft, const IntSize& topRight, const IntSize& bottomLeft, const IntSize& bottomRight) function in class:WebCore::RoundedIntRect
[all...]
H A DRoundedIntRect.h35 class RoundedIntRect { class in namespace:WebCore
75 explicit RoundedIntRect(const IntRect&, const Radii& = Radii());
76 RoundedIntRect(int x, int y, int width, int height);
77 RoundedIntRect(const IntRect&, const IntSize& topLeft, const IntSize& topRight, const IntSize& bottomLeft, const IntSize& bottomRight);
103 inline bool operator==(const RoundedIntRect::Radii& a, const RoundedIntRect::Radii& b)
108 inline bool operator==(const RoundedIntRect& a, const RoundedIntRect& b)
H A DShadowBlur.cpp82 void setLastShadowValues(float radius, const Color& color, ColorSpace colorSpace, const FloatRect& shadowRect, const RoundedIntRect::Radii& radii)
92 void setLastInsetShadowValues(float radius, const Color& color, ColorSpace colorSpace, const FloatRect& bounds, const FloatRect& shadowRect, const RoundedIntRect::Radii& radii)
103 bool matchesLastShadow(float radius, const Color& color, ColorSpace colorSpace, const FloatRect& shadowRect, const RoundedIntRect::Radii& radii) const
110 bool matchesLastInsetShadow(float radius, const Color& color, ColorSpace colorSpace, const FloatRect& bounds, const FloatRect& shadowRect, const RoundedIntRect::Radii& radii) const
148 RoundedIntRect::Radii m_lastRadii;
421 static void computeSliceSizesFromRadii(int twiceRadius, const RoundedIntRect::Radii& radii, int& leftSlice, int& rightSlice, int& topSlice, int& bottomSlice)
430 IntSize ShadowBlur::templateSize(const RoundedIntRect::Radii& radii) const
444 void ShadowBlur::drawRectShadow(GraphicsContext* graphicsContext, const FloatRect& shadowedRect, const RoundedIntRect::Radii& radii)
470 void ShadowBlur::drawInsetShadow(GraphicsContext* graphicsContext, const FloatRect& rect, const FloatRect& holeRect, const RoundedIntRect::Radii& holeRadii)
496 void ShadowBlur::drawRectShadowWithoutTiling(GraphicsContext* graphicsContext, const FloatRect& shadowedRect, const RoundedIntRect
[all...]
H A DPath.h31 #include "RoundedIntRect.h"
141 void addRoundedRect(const RoundedIntRect&);
H A DGraphicsContext.h133 class RoundedIntRect;
338 void fillRoundedRect(const RoundedIntRect&, const Color&, ColorSpace);
339 void fillRectWithRoundedHole(const IntRect&, const RoundedIntRect& roundedHoleRect, const Color&, ColorSpace);
369 void addRoundedRectClip(const RoundedIntRect&);
372 void clipOutRoundedRect(const RoundedIntRect&);
H A DGraphicsContext.cpp34 #include "RoundedIntRect.h"
564 void GraphicsContext::addRoundedRectClip(const RoundedIntRect& rect)
574 void GraphicsContext::clipOutRoundedRect(const RoundedIntRect& rect)
619 void GraphicsContext::fillRoundedRect(const RoundedIntRect& rect, const Color& color, ColorSpace colorSpace)
625 void GraphicsContext::fillRectWithRoundedHole(const IntRect& rect, const RoundedIntRect& roundedHoleRect, const Color& color, ColorSpace colorSpace)
H A DPath.cpp191 void Path::addRoundedRect(const RoundedIntRect& r)
/external/webkit/Source/WebCore/rendering/
H A DRenderBoxModelObject.h143 RoundedIntRect getBackgroundRoundedRect(const IntRect&, InlineFlowBox*, int inlineBoxWidth, int inlineBoxHeight,
146 void clipBorderSidePolygon(GraphicsContext*, const RoundedIntRect& outerBorder, const RoundedIntRect& innerBorder,
148 void paintOneBorderSide(GraphicsContext*, const RenderStyle*, const RoundedIntRect& outerBorder, const RoundedIntRect& innerBorder,
151 void paintTranslucentBorderSides(GraphicsContext*, const RenderStyle*, const RoundedIntRect& outerBorder, const RoundedIntRect& innerBorder,
153 void paintBorderSides(GraphicsContext*, const RenderStyle*, const RoundedIntRect& outerBorder, const RoundedIntRect& innerBorder,
H A DRenderBoxModelObject.cpp562 RoundedIntRect RenderBoxModelObject::getBackgroundRoundedRect(const IntRect& borderRect, InlineFlowBox* box, int inlineBoxWidth, int inlineBoxHeight,
565 RoundedIntRect border = style()->getRoundedBorderFor(borderRect, includeLogicalLeftEdge, includeLogicalRightEdge);
567 RoundedIntRect segmentBorder = style()->getRoundedBorderFor(IntRect(0, 0, inlineBoxWidth, inlineBoxHeight), includeLogicalLeftEdge, includeLogicalRightEdge);
620 RoundedIntRect border = getBackgroundRoundedRect(borderRect, box, inlineBoxWidth, inlineBoxHeight, includeLeftEdge, includeRightEdge);
637 RoundedIntRect border = getBackgroundRoundedRect(borderRect, box, inlineBoxWidth, inlineBoxHeight, includeLeftEdge, includeRightEdge);
1208 void RenderBoxModelObject::paintOneBorderSide(GraphicsContext* graphicsContext, const RenderStyle* style, const RoundedIntRect& outerBorder, const RoundedIntRect& innerBorder,
1250 void RenderBoxModelObject::paintBorderSides(GraphicsContext* graphicsContext, const RenderStyle* style, const RoundedIntRect& outerBorder, const RoundedIntRect& innerBorder,
1292 void RenderBoxModelObject::paintTranslucentBorderSides(GraphicsContext* graphicsContext, const RenderStyle* style, const RoundedIntRect
[all...]
H A DRenderThemeSafari.cpp755 RoundedIntRect bound = o->style()->getRoundedBorderFor(r);
785 paintInfo.context->addRoundedRectClip(RoundedIntRect(enclosingIntRect(topGradient), bound.radii().topLeft(), bound.radii().topRight(), IntSize(), IntSize()));
792 paintInfo.context->addRoundedRectClip(RoundedIntRect(enclosingIntRect(bottomGradient), IntSize(), IntSize(), bound.radii().bottomLeft(), bound.radii().bottomRight()));
956 RoundedIntRect bounds(r, radius, radius, radius, radius);
H A DRenderThemeMac.mm1033 RoundedIntRect border = o->style()->getRoundedBorderFor(r);
1063 paintInfo.context->addRoundedRectClip(RoundedIntRect(enclosingIntRect(topGradient), border.radii().topLeft(), border.radii().topRight(), IntSize(), IntSize()));
1070 paintInfo.context->addRoundedRectClip(RoundedIntRect(enclosingIntRect(bottomGradient), IntSize(), IntSize(), border.radii().bottomLeft(), border.radii().bottomRight()));
1298 paintInfo.context->addRoundedRectClip(RoundedIntRect(bounds, radius, radius, radius, radius));
H A DRenderThemeWinCE.cpp381 paintInfo.context->addRoundedRectClip(RoundedIntRect(cancelBounds, cancelRadius, cancelRadius, cancelRadius, cancelRadius));
/external/webkit/Source/WebCore/rendering/style/
H A DRenderStyle.cpp758 static RoundedIntRect::Radii calcRadiiFor(const BorderData& border, int width, int height)
760 return RoundedIntRect::Radii(IntSize(border.topLeft().width().calcValue(width),
770 static float calcConstraintScaleFor(const IntRect& rect, const RoundedIntRect::Radii& radii)
802 RoundedIntRect RenderStyle::getRoundedBorderFor(const IntRect& borderRect, bool includeLogicalLeftEdge, bool includeLogicalRightEdge) const
804 RoundedIntRect roundedRect(borderRect);
806 RoundedIntRect::Radii radii = calcRadiiFor(surround->border, borderRect.width(), borderRect.height());
813 RoundedIntRect RenderStyle::getRoundedInnerBorderFor(const IntRect& borderRect, bool includeLogicalLeftEdge, bool includeLogicalRightEdge) const
825 RoundedIntRect RenderStyle::getRoundedInnerBorderFor(const IntRect& borderRect,
833 RoundedIntRect roundedRect(innerRect);
836 RoundedIntRect
[all...]
H A DRenderStyle.h47 #include "RoundedIntRect.h"
884 RoundedIntRect getRoundedBorderFor(const IntRect& borderRect, bool includeLogicalLeftEdge = true, bool includeLogicalRightEdge = true) const;
885 RoundedIntRect getRoundedInnerBorderFor(const IntRect& borderRect, bool includeLogicalLeftEdge = true, bool includeLogicalRightEdge = true) const;
887 RoundedIntRect getRoundedInnerBorderFor(const IntRect& borderRect,
/external/webkit/Source/WebCore/platform/graphics/cg/
H A DGraphicsContextCG.cpp706 contextShadow.drawRectShadow(this, rect, RoundedIntRect::Radii());
735 contextShadow.drawRectShadow(this, rect, RoundedIntRect::Radii());
768 contextShadow.drawRectShadow(this, rect, RoundedIntRect::Radii(topLeft, topRight, bottomLeft, bottomRight));
788 void GraphicsContext::fillRectWithRoundedHole(const IntRect& rect, const RoundedIntRect& roundedHoleRect, const Color& color, ColorSpace colorSpace)
/external/webkit/Source/WebCore/
H A DAndroid.mk628 platform/graphics/RoundedIntRect.cpp \

Completed in 188 milliseconds