Searched refs:fillRule (Results 1 - 25 of 27) sorted by relevance

12

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

Completed in 315 milliseconds

12