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

  /external/webkit/Source/WebCore/platform/graphics/
RoundedIntRect.h 37 class Radii {
39 Radii() {}
40 Radii(const IntSize& topLeft, const IntSize& topRight, const IntSize& bottomLeft, const IntSize& bottomRight)
59 void includeLogicalEdges(const Radii& edges, bool isHorizontal, bool includeLogicalLeftEdge, bool includeLogicalRightEdge);
75 explicit RoundedIntRect(const IntRect&, const Radii& = Radii());
80 const Radii& radii() const { return m_radii; } function in class:WebCore::RoundedIntRect
85 void setRadii(const Radii& radii) { m_radii = radii;
    [all...]
ShadowBlur.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);
RoundedIntRect.cpp 37 bool RoundedIntRect::Radii::isZero() const
42 void RoundedIntRect::Radii::scale(float factor)
47 // If either radius on a corner becomes zero, reset both radii on that corner.
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)
121 RoundedIntRect::RoundedIntRect(const IntRect& rect, const Radii& radii)
123 , m_radii(radii)
    [all...]
ShadowBlur.cpp 82 void setLastShadowValues(float radius, const Color& color, ColorSpace colorSpace, const FloatRect& shadowRect, const RoundedIntRect::Radii& radii)
89 m_lastRadii = radii;
92 void setLastInsetShadowValues(float radius, const Color& color, ColorSpace colorSpace, const FloatRect& bounds, const FloatRect& shadowRect, const RoundedIntRect::Radii& radii)
100 m_lastRadii = radii;
103 bool matchesLastShadow(float radius, const Color& color, ColorSpace colorSpace, const FloatRect& shadowRect, const RoundedIntRect::Radii& radii) const
107 return m_lastRadius == radius && m_lastColor == color && m_lastColorSpace == colorSpace && shadowRect == m_lastShadowRect && radii == m_lastRadii;
110 bool matchesLastInsetShadow(float radius, const Color& color, ColorSpace colorSpace, const FloatRect& bounds, const FloatRect& shadowRect, const RoundedIntRect::Radii& radii) cons
    [all...]
  /external/webkit/Source/WebCore/rendering/style/
RenderStyle.cpp 758 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)
772 // Constrain corner radii using CSS3 rules:
779 radiiSum = static_cast<unsigned>(radii.topLeft().width()) + static_cast<unsigned>(radii.topRight().width()); // Casts to avoid integer overflow.
784 radiiSum = static_cast<unsigned>(radii.bottomLeft().width()) + static_cast<unsigned>(radii.bottomRight().width());
806 RoundedIntRect::Radii radii = calcRadiiFor(surround->border, borderRect.width(), borderRect.height()); local
836 RoundedIntRect::Radii radii = getRoundedBorderFor(borderRect).radii(); local
    [all...]
  /external/webkit/Source/WebCore/platform/graphics/cg/
GraphicsContextCG.cpp 706 contextShadow.drawRectShadow(this, rect, RoundedIntRect::Radii());
735 contextShadow.drawRectShadow(this, rect, RoundedIntRect::Radii());
768 contextShadow.drawRectShadow(this, rect, RoundedIntRect::Radii(topLeft, topRight, bottomLeft, bottomRight));
798 if (!roundedHoleRect.radii().isZero())
820 contextShadow.drawInsetShadow(this, rect, roundedHoleRect.rect(), roundedHoleRect.radii());
    [all...]

Completed in 70 milliseconds