Home
last modified time | relevance | path

Searched refs:fillRule (Results 1 – 25 of 28) sorted by relevance

12

/external/chromium_org/third_party/skia/src/svg/
DSkSVGPath.cpp31 SkString& fillRule = parser.getPaintLast(SkSVGPaint::kFillRule); in DEFINE_SVG_INFO() local
32 if (fillRule.size() > 0) in DEFINE_SVG_INFO()
33 parser._addAttribute("fillType", fillRule.equals("evenodd") ? "evenOdd" : "winding"); in DEFINE_SVG_INFO()
/external/skia/src/svg/
DSkSVGPath.cpp31 SkString& fillRule = parser.getPaintLast(SkSVGPaint::kFillRule); in DEFINE_SVG_INFO() local
32 if (fillRule.size() > 0) in DEFINE_SVG_INFO()
33 parser._addAttribute("fillType", fillRule.equals("evenodd") ? "evenOdd" : "winding"); in DEFINE_SVG_INFO()
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
DRenderSVGShape.cpp105 bool RenderSVGShape::shapeDependentFillContains(const FloatPoint& point, const WindRule fillRule) c… in shapeDependentFillContains()
107 return path().contains(point, fillRule); in shapeDependentFillContains()
110 …l RenderSVGShape::fillContains(const FloatPoint& point, bool requiresFill, const WindRule fillRule) in fillContains() argument
119 return shapeDependentFillContains(point, fillRule); in fillContains()
328 WindRule fillRule = svgStyle.fillRule(); in nodeAtFloatPointInternal() local
330 fillRule = svgStyle.clipRule(); in nodeAtFloatPointInternal()
333 …e.hasFill() || !hitRules.requireFill) && fillContains(localPoint, hitRules.requireFill, fillRule))) in nodeAtFloatPointInternal()
DRenderSVGRect.cpp125 bool RenderSVGRect::shapeDependentFillContains(const FloatPoint& point, const WindRule fillRule) co… in shapeDependentFillContains()
128 return RenderSVGShape::shapeDependentFillContains(point, fillRule); in shapeDependentFillContains()
DRenderSVGEllipse.cpp143 bool RenderSVGEllipse::shapeDependentFillContains(const FloatPoint& point, const WindRule fillRule)… in shapeDependentFillContains()
146 return RenderSVGShape::shapeDependentFillContains(point, fillRule); in shapeDependentFillContains()
DRenderSVGResourceSolidColor.cpp63 context->setFillRule(svgStyle.fillRule()); in applyResource()
DRenderSVGShape.h82 …bool fillContains(const FloatPoint&, bool requiresFill = true, const WindRule fillRule = RULE_NONZ…
DRenderSVGResourceGradient.cpp121 context->setFillRule(svgStyle.fillRule()); in applyResource()
DRenderSVGResourcePattern.cpp157 context->setFillRule(svgStyle.fillRule()); in applyResource()
DSVGRenderTreeAsText.cpp319 writeIfNotDefault(ts, "fill rule", svgStyle.fillRule(), RULE_NONZERO); in writeStyle()
/external/chromium_org/third_party/WebKit/Source/core/rendering/shapes/
DPolygonShape.h63 PolygonShape(PassOwnPtr<Vector<FloatPoint> > vertices, WindRule fillRule) in PolygonShape() argument
65 , m_polygon(vertices, fillRule) in PolygonShape()
DShape.cpp68 …c PassOwnPtr<Shape> createPolygonShape(PassOwnPtr<Vector<FloatPoint> > vertices, WindRule fillRule) in createPolygonShape() argument
70 return adoptPtr(new PolygonShape(vertices, fillRule)); in createPolygonShape()
/external/chromium_org/third_party/WebKit/Source/platform/geometry/
DFloatPolygonTest.cpp40 FloatPolygonTestValue(const float* coordinates, unsigned coordinatesLength, WindRule fillRule) in FloatPolygonTestValue() argument
46 m_polygon = adoptPtr(new FloatPolygon(vertices.release(), fillRule)); in FloatPolygonTestValue()
92 EXPECT_EQ(RULE_NONZERO, triangle.fillRule()); in TEST()
188 EXPECT_EQ(RULE_NONZERO, triangle.fillRule()); in TEST()
215 EXPECT_EQ(RULE_EVENODD, triangle.fillRule()); in TEST()
DFloatPolygon.h52 FloatPolygon(PassOwnPtr<Vector<FloatPoint> > vertices, WindRule fillRule);
57 WindRule fillRule() const { return m_fillRule; } in fillRule() function
DFloatPolygon.cpp82 FloatPolygon::FloatPolygon(PassOwnPtr<Vector<FloatPoint> > vertices, WindRule fillRule) in FloatPolygon() argument
84 , m_fillRule(fillRule) in FloatPolygon()
199 return (fillRule() == RULE_NONZERO) ? containsNonZero(point) : containsEvenOdd(point); in contains()
/external/chromium_org/third_party/WebKit/Source/core/html/canvas/
DHitRegion.h29 WindRule fillRule; member
49 WindRule fillRule() const { return m_fillRule; } in fillRule() function
DHitRegionOptions.idl13 CanvasFillRule fillRule = "nonzero";
DHitRegion.cpp17 , m_fillRule(options.fillRule) in HitRegion()
DCanvasRenderingContext2D.cpp1024 WindRule windRule = c->fillRule(); in fillInternal()
2424 if (options.fillRule() != "evenodd") in addHitRegion()
2425 passOptions.fillRule = RULE_NONZERO; in addHitRegion()
2427 passOptions.fillRule = RULE_EVENODD; in addHitRegion()
/external/chromium_org/third_party/WebKit/Source/platform/graphics/
DGraphicsContext.h138 WindRule fillRule() const { return immutableState()->fillRule(); } in fillRule() function
139 void setFillRule(WindRule fillRule) { mutableState()->setFillRule(fillRule); } in setFillRule() argument
DGraphicsContextState.h105 WindRule fillRule() const { return m_fillRule; } in fillRule() function
/external/chromium_org/third_party/skia/include/device/xps/
DSkXPSDevice.h297 XPS_FILL_RULE fillRule);
/external/chromium_org/third_party/WebKit/Source/core/css/
DSVGCSSComputedStyleDeclaration.cpp141 return CSSPrimitiveValue::create(svgStyle.fillRule()); in getSVGPropertyCSSValue()
/external/skia/include/device/xps/
DSkXPSDevice.h283 XPS_FILL_RULE fillRule);
/external/chromium_org/third_party/WebKit/Source/core/rendering/style/
DSVGRenderStyle.h297 WindRule fillRule() const { return (WindRule) svg_inherited_flags._fillRule; } in fillRule() function

12