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

12

/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/webkit/Source/WebCore/platform/graphics/openvg/
H A DGraphicsContextOpenVG.cpp144 m_data->drawPath(path, VG_FILL_PATH, m_state.fillRule);
152 m_data->drawPath(path, VG_STROKE_PATH, m_state.fillRule);
380 m_data->clipPath(path, PainterOpenVG::IntersectClip, m_state.fillRule);
393 m_data->clipPath(path, PainterOpenVG::SubtractClip, m_state.fillRule);
427 m_data->clipPath(path, PainterOpenVG::SubtractClip, m_state.fillRule);
450 m_data->clipPath(path, PainterOpenVG::IntersectClip, m_state.fillRule);
H A DPainterOpenVG.h115 void drawPath(const Path&, VGbitfield paintModes = (VG_STROKE_PATH | VG_FILL_PATH), WindRule fillRule = RULE_NONZERO);
H A DPainterOpenVG.cpp79 static VGFillRule toVGFillRule(WindRule fillRule) argument
81 return fillRule == RULE_EVENODD ? VG_EVEN_ODD : VG_NON_ZERO;
717 void PainterOpenVG::drawPath(const Path& path, VGbitfield specifiedPaintModes, WindRule fillRule) argument
734 vgSeti(VG_FILL_RULE, toVGFillRule(fillRule));
/external/webkit/Source/WebCore/rendering/svg/
H A DRenderSVGPath.cpp81 bool RenderSVGPath::fillContains(const FloatPoint& point, bool requiresFill, WindRule fillRule) argument
90 return m_path.contains(point, fillRule);
267 WindRule fillRule = svgStyle->fillRule(); local
269 fillRule = svgStyle->clipRule();
271 || (hitRules.canHitFill && (svgStyle->hasFill() || !hitRules.requireFill) && fillContains(localPoint, hitRules.requireFill, fillRule))) {
H A DRenderSVGResourceSolidColor.cpp59 context->setFillRule(svgStyle ? svgStyle->fillRule() : RULE_NONZERO);
H A DRenderSVGPath.h51 bool fillContains(const FloatPoint&, bool requiresFill = true, WindRule fillRule = RULE_NONZERO);
H A DRenderSVGResourceGradient.cpp220 context->setFillRule(svgStyle->fillRule());
H A DRenderSVGResourcePattern.cpp156 context->setFillRule(svgStyle->fillRule());
/external/webkit/Source/WebCore/platform/graphics/android/context/
H A DPlatformGraphicsContextRecording.h108 virtual void fillPath(const Path& pathToFill, WindRule fillRule);
H A DPlatformGraphicsContextSkia.h92 virtual void fillPath(const Path& pathToFill, WindRule fillRule);
H A DPlatformGraphicsContextRecording.cpp329 void PlatformGraphicsContextRecording::fillPath(const Path& pathToFill, WindRule fillRule) argument
331 mGraphicsOperationCollection->append(new GraphicsOperation::FillPath(pathToFill, fillRule));
H A DPlatformGraphicsContext.h122 virtual void fillPath(const Path& pathToFill, WindRule fillRule) = 0;
H A DPlatformGraphicsContextSkia.cpp477 void PlatformGraphicsContextSkia::fillPath(const Path& pathToFill, WindRule fillRule) argument
483 switch (fillRule) {
H A DGraphicsContextAndroid.cpp601 platformContext()->fillPath(pathToFill, fillRule());
H A DGraphicsOperation.h648 FillPath(const Path& pathToFill, WindRule fillRule) argument
649 : m_path(pathToFill), m_fillRule(fillRule) {}
/external/webkit/Source/WebCore/platform/graphics/
H A DGraphicsContext.cpp202 WindRule GraphicsContext::fillRule() const function in class:WebCore::GraphicsContext
204 return m_state.fillRule;
207 void GraphicsContext::setFillRule(WindRule fillRule) argument
209 m_state.fillRule = fillRule;
640 WindRule oldFillRule = fillRule();
H A DGraphicsContext.h172 , fillRule(RULE_NONZERO)
210 WindRule fillRule; member in struct:WebCore::GraphicsContextState
251 WindRule fillRule() const;
/external/webkit/Source/WebCore/platform/graphics/cg/
H A DGraphicsContextCG.cpp488 bool useEOFill = state.fillRule == RULE_EVENODD;
540 static inline void fillPathWithFillRule(CGContextRef context, WindRule fillRule) argument
542 if (fillRule == RULE_EVENODD)
566 if (fillRule() == RULE_EVENODD)
580 if (fillRule() == RULE_EVENODD)
597 fillPathWithFillRule(context, fillRule());
803 WindRule oldFillRule = fillRule();
/external/webkit/Source/WebCore/css/
H A DSVGCSSComputedStyleDeclaration.cpp94 return CSSPrimitiveValue::create(svgStyle->fillRule());
H A DSVGCSSStyleSelector.cpp205 HANDLE_INHERIT_AND_INITIAL(fillRule, FillRule)
/external/webkit/Source/WebCore/platform/graphics/qt/
H A DPathQt.cpp104 Qt::FillRule savedRule = m_path.fillRule();
H A DGraphicsContextQt.cpp497 platformPath.setFillRule(toQtFillRule(fillRule()));
549 platformPath.setFillRule(toQtFillRule(fillRule()));
/external/webkit/Source/WebCore/rendering/style/
H A DSVGRenderStyle.h287 WindRule fillRule() const { return (WindRule) svg_inherited_flags._fillRule; } function in class:WebCore::SVGRenderStyle
/external/webkit/Source/WebCore/platform/graphics/cairo/
H A DGraphicsContextCairo.cpp189 cairo_set_fill_rule(cairoContext, context->fillRule() == RULE_EVENODD ? CAIRO_FILL_RULE_EVEN_ODD : CAIRO_FILL_RULE_WINDING);

Completed in 195 milliseconds

12