Home
last modified time | relevance | path

Searched refs:RoundedIntRect (Results 1 – 25 of 26) sorted by relevance

12

/external/webkit/Source/WebCore/platform/graphics/
DRoundedIntRect.cpp37 bool RoundedIntRect::Radii::isZero() const in isZero()
42 void RoundedIntRect::Radii::scale(float factor) in scale()
63 void RoundedIntRect::Radii::expand(int topWidth, int bottomWidth, int leftWidth, int rightWidth) in expand()
78 void RoundedIntRect::Radii::includeLogicalEdges(const RoundedIntRect::Radii& edges, bool isHorizont… in includeLogicalEdges()
97 void RoundedIntRect::Radii::excludeLogicalEdges(bool isHorizontal, bool excludeLogicalLeftEdge, boo… in excludeLogicalEdges()
116 RoundedIntRect::RoundedIntRect(int x, int y, int width, int height) in RoundedIntRect() function in WebCore::RoundedIntRect
121 RoundedIntRect::RoundedIntRect(const IntRect& rect, const Radii& radii) in RoundedIntRect() function in WebCore::RoundedIntRect
127 RoundedIntRect::RoundedIntRect(const IntRect& rect, const IntSize& topLeft, const IntSize& topRight… in RoundedIntRect() function in WebCore::RoundedIntRect
133 void RoundedIntRect::includeLogicalEdges(const Radii& edges, bool isHorizontal, bool includeLogical… in includeLogicalEdges()
138 void RoundedIntRect::excludeLogicalEdges(bool isHorizontal, bool excludeLogicalLeftEdge, bool exclu… in excludeLogicalEdges()
[all …]
DShadowBlur.h52 void drawRectShadow(GraphicsContext*, const FloatRect&, const RoundedIntRect::Radii&);
53 …GraphicsContext*, const FloatRect&, const FloatRect& holeRect, const RoundedIntRect::Radii& holeRa…
67 IntSize templateSize(const RoundedIntRect::Radii&) const;
69 …void drawRectShadowWithoutTiling(GraphicsContext*, const FloatRect&, const RoundedIntRect::Radii&,…
70 …void drawRectShadowWithTiling(GraphicsContext*, const FloatRect&, const RoundedIntRect::Radii&, co…
72 …GraphicsContext*, const FloatRect&, const FloatRect& holeRect, const RoundedIntRect::Radii&, const…
73 …GraphicsContext*, const FloatRect&, const FloatRect& holeRect, const RoundedIntRect::Radii&, const…
75 …void drawLayerPieces(GraphicsContext*, const FloatRect& shadowBounds, const RoundedIntRect::Radii&…
DRoundedIntRect.h35 class RoundedIntRect {
75 explicit RoundedIntRect(const IntRect&, const Radii& = Radii());
76 RoundedIntRect(int x, int y, int width, int height);
77RoundedIntRect(const IntRect&, const IntSize& topLeft, const IntSize& topRight, const IntSize& bot…
103 inline bool operator==(const RoundedIntRect::Radii& a, const RoundedIntRect::Radii& b)
108 inline bool operator==(const RoundedIntRect& a, const RoundedIntRect& b)
DShadowBlur.cpp82 …lor& color, ColorSpace colorSpace, const FloatRect& shadowRect, const RoundedIntRect::Radii& radii) in setLastShadowValues()
92 …lorSpace, const FloatRect& bounds, const FloatRect& shadowRect, const RoundedIntRect::Radii& radii) in setLastInsetShadowValues()
103 …or& color, ColorSpace colorSpace, const FloatRect& shadowRect, const RoundedIntRect::Radii& radii)… in matchesLastShadow()
110 …orSpace, const FloatRect& bounds, const FloatRect& shadowRect, const RoundedIntRect::Radii& radii)… in matchesLastInsetShadow()
148 RoundedIntRect::Radii m_lastRadii;
421 static void computeSliceSizesFromRadii(int twiceRadius, const RoundedIntRect::Radii& radii, int& le… in computeSliceSizesFromRadii()
430 IntSize ShadowBlur::templateSize(const RoundedIntRect::Radii& radii) const in templateSize()
444 …raphicsContext* graphicsContext, const FloatRect& shadowedRect, const RoundedIntRect::Radii& radii) in drawRectShadow()
470 …hicsContext, const FloatRect& rect, const FloatRect& holeRect, const RoundedIntRect::Radii& holeRa… in drawInsetShadow()
496 …aphicsContext* graphicsContext, const FloatRect& shadowedRect, const RoundedIntRect::Radii& radii,… in drawRectShadowWithoutTiling()
[all …]
DGraphicsContext.h133 class RoundedIntRect; variable
332 void fillRoundedRect(const RoundedIntRect&, const Color&, ColorSpace);
333 …void fillRectWithRoundedHole(const IntRect&, const RoundedIntRect& roundedHoleRect, const Color&, …
363 void addRoundedRectClip(const RoundedIntRect&);
366 void clipOutRoundedRect(const RoundedIntRect&);
DGraphicsContext.cpp566 void GraphicsContext::addRoundedRectClip(const RoundedIntRect& rect) in addRoundedRectClip()
576 void GraphicsContext::clipOutRoundedRect(const RoundedIntRect& rect) in clipOutRoundedRect()
621 void GraphicsContext::fillRoundedRect(const RoundedIntRect& rect, const Color& color, ColorSpace co… in fillRoundedRect()
627 void GraphicsContext::fillRectWithRoundedHole(const IntRect& rect, const RoundedIntRect& roundedHol… in fillRectWithRoundedHole()
DPath.h141 void addRoundedRect(const RoundedIntRect&);
DPath.cpp191 void Path::addRoundedRect(const RoundedIntRect& r) in addRoundedRect()
/external/webkit/Source/WebCore/rendering/
DRenderBoxModelObject.h147RoundedIntRect getBackgroundRoundedRect(const IntRect&, InlineFlowBox*, int inlineBoxWidth, int in…
150 …void clipBorderSidePolygon(GraphicsContext*, const RoundedIntRect& outerBorder, const RoundedIntRe…
152 …derSide(GraphicsContext*, const RenderStyle*, const RoundedIntRect& outerBorder, const RoundedIntR…
155 …erSides(GraphicsContext*, const RenderStyle*, const RoundedIntRect& outerBorder, const RoundedIntR…
157 …erSides(GraphicsContext*, const RenderStyle*, const RoundedIntRect& outerBorder, const RoundedIntR…
DRenderBoxModelObject.cpp562 RoundedIntRect RenderBoxModelObject::getBackgroundRoundedRect(const IntRect& borderRect, InlineFlow… in getBackgroundRoundedRect()
565RoundedIntRect border = style()->getRoundedBorderFor(borderRect, includeLogicalLeftEdge, includeLo… in getBackgroundRoundedRect()
567RoundedIntRect segmentBorder = style()->getRoundedBorderFor(IntRect(0, 0, inlineBoxWidth, inlineBo… in getBackgroundRoundedRect()
620RoundedIntRect border = getBackgroundRoundedRect(borderRect, box, inlineBoxWidth, inlineBoxHeight,… in paintFillLayerExtended()
637RoundedIntRect border = getBackgroundRoundedRect(borderRect, box, inlineBoxWidth, inlineBoxHeight,… in paintFillLayerExtended()
1208 …t* graphicsContext, const RenderStyle* style, const RoundedIntRect& outerBorder, const RoundedIntR… in paintOneBorderSide()
1250 …t* graphicsContext, const RenderStyle* style, const RoundedIntRect& outerBorder, const RoundedIntR… in paintBorderSides()
1292 …t* graphicsContext, const RenderStyle* style, const RoundedIntRect& outerBorder, const RoundedIntR… in paintTranslucentBorderSides()
1371RoundedIntRect outerBorder = style->getRoundedBorderFor(borderRect, includeLogicalLeftEdge, includ… in paintBorder()
1372RoundedIntRect innerBorder = style->getRoundedInnerBorderFor(borderRect, includeLogicalLeftEdge, i… in paintBorder()
[all …]
DRenderThemeSafari.cpp755 RoundedIntRect bound = o->style()->getRoundedBorderFor(r); in paintMenuListButtonGradients()
785 …paintInfo.context->addRoundedRectClip(RoundedIntRect(enclosingIntRect(topGradient), bound.radii().… in paintMenuListButtonGradients()
792 …paintInfo.context->addRoundedRectClip(RoundedIntRect(enclosingIntRect(bottomGradient), IntSize(), … in paintMenuListButtonGradients()
956 RoundedIntRect bounds(r, radius, radius, radius, radius); in paintSliderTrack()
DRenderThemeMac.mm1033 RoundedIntRect border = o->style()->getRoundedBorderFor(r);
1063 …paintInfo.context->addRoundedRectClip(RoundedIntRect(enclosingIntRect(topGradient), border.radii()…
1070 …paintInfo.context->addRoundedRectClip(RoundedIntRect(enclosingIntRect(bottomGradient), IntSize(), …
1298 paintInfo.context->addRoundedRectClip(RoundedIntRect(bounds, radius, radius, radius, radius));
DRenderThemeWinCE.cpp381 …paintInfo.context->addRoundedRectClip(RoundedIntRect(cancelBounds, cancelRadius, cancelRadius, can… in paintSearchFieldCancelButton()
/external/webkit/Source/WebCore/rendering/style/
DRenderStyle.cpp758 static RoundedIntRect::Radii calcRadiiFor(const BorderData& border, int width, int height) in calcRadiiFor()
760 return RoundedIntRect::Radii(IntSize(border.topLeft().width().calcValue(width), in calcRadiiFor()
770 static float calcConstraintScaleFor(const IntRect& rect, const RoundedIntRect::Radii& radii) in calcConstraintScaleFor()
802 RoundedIntRect RenderStyle::getRoundedBorderFor(const IntRect& borderRect, bool includeLogicalLeftE… in getRoundedBorderFor()
804 RoundedIntRect roundedRect(borderRect); in getRoundedBorderFor()
806RoundedIntRect::Radii radii = calcRadiiFor(surround->border, borderRect.width(), borderRect.height… in getRoundedBorderFor()
813 RoundedIntRect RenderStyle::getRoundedInnerBorderFor(const IntRect& borderRect, bool includeLogical… in getRoundedInnerBorderFor()
825 RoundedIntRect RenderStyle::getRoundedInnerBorderFor(const IntRect& borderRect, in getRoundedInnerBorderFor()
833 RoundedIntRect roundedRect(innerRect); in getRoundedInnerBorderFor()
836 RoundedIntRect::Radii radii = getRoundedBorderFor(borderRect).radii(); in getRoundedInnerBorderFor()
DRenderStyle.h871RoundedIntRect getRoundedBorderFor(const IntRect& borderRect, bool includeLogicalLeftEdge = true, …
872RoundedIntRect getRoundedInnerBorderFor(const IntRect& borderRect, bool includeLogicalLeftEdge = t…
874 RoundedIntRect getRoundedInnerBorderFor(const IntRect& borderRect,
/external/webkit/Source/WebCore/platform/graphics/cg/
DGraphicsContextCG.cpp706 contextShadow.drawRectShadow(this, rect, RoundedIntRect::Radii()); in fillRect()
735 contextShadow.drawRectShadow(this, rect, RoundedIntRect::Radii()); in fillRect()
768 …contextShadow.drawRectShadow(this, rect, RoundedIntRect::Radii(topLeft, topRight, bottomLeft, bott… in fillRoundedRect()
788 void GraphicsContext::fillRectWithRoundedHole(const IntRect& rect, const RoundedIntRect& roundedHol… in fillRectWithRoundedHole()
/external/webkit/Source/WebCore/
DChangeLog-2011-02-1612938 IntRect and its radii because RoundedIntRect::setRect() is called
12945 RoundedIntRect value.
23626 Refactoring: Extract RoundedIntRect class
23629 RoundedIntRect is a pair of rect and four IntSize objects which represent
23630 corner radii of the rectangle. IntSize is grouped into RoundedIntRect::Radii.
23632 …return RoundedIntRect and GraphicsContext::addRoundedRectClip(), GraphicsContext::fillRoundedRect()
23633 and other functions accept RoundedIntRect as an argument.
23647 * platform/graphics/RoundedIntRect.cpp: Added.
23648 (WebCore::RoundedIntRect::Radii::isZero):
23649 (WebCore::RoundedIntRect::Radii::scale):
[all …]
DAndroid.mk628 platform/graphics/RoundedIntRect.cpp \
DWebCore.pro996 platform/graphics/RoundedIntRect.cpp \
1968 platform/graphics/RoundedIntRect.h \
DCMakeLists.txt1109 platform/graphics/RoundedIntRect.cpp
DGNUmakefile.list.am2462 Source/WebCore/platform/graphics/RoundedIntRect.cpp \
2463 Source/WebCore/platform/graphics/RoundedIntRect.h \
DGNUmakefile.am2466 Source/WebCore/platform/graphics/RoundedIntRect.cpp \
2467 Source/WebCore/platform/graphics/RoundedIntRect.h \
DWebCore.gypi847 'platform/graphics/RoundedIntRect.h',
3900 'platform/graphics/RoundedIntRect.cpp',
/external/webkit/Source/WebCore/platform/android/
DRenderThemeAndroid.cpp326 RoundedIntRect border(rect, cornerrect, cornerrect, cornerrect, cornerrect); in paintButton()
/external/webkit/Source/WebCore/WebCore.xcodeproj/
Dproject.pbxproj3235 …FE12C97BFE0031AAF9 /* RoundedIntRect.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A73F95FC12…
3236 …5FF12C97BFE0031AAF9 /* RoundedIntRect.h in Headers */ = {isa = PBXBuildFile; fileRef = A73F95FD12C…
9803 …0031AAF9 /* RoundedIntRect.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType =…
9804 …BFE0031AAF9 /* RoundedIntRect.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType …
17919 A73F95FC12C97BFE0031AAF9 /* RoundedIntRect.cpp */,
17920 A73F95FD12C97BFE0031AAF9 /* RoundedIntRect.h */,
22340 A73F95FF12C97BFE0031AAF9 /* RoundedIntRect.h in Headers */,
25188 A73F95FE12C97BFE0031AAF9 /* RoundedIntRect.cpp in Sources */,

12