Searched refs:paintType (Results 1 - 7 of 7) sorted by relevance

/external/webkit/Source/WebCore/rendering/svg/
H A DRenderSVGResource.cpp57 SVGPaint::SVGPaintType paintType = paint->paintType(); local
58 if (paintType == SVGPaint::SVG_PAINTTYPE_NONE)
62 if (paintType == SVGPaint::SVG_PAINTTYPE_RGBCOLOR
63 || paintType == SVGPaint::SVG_PAINTTYPE_RGBCOLOR_ICCCOLOR
64 || paintType == SVGPaint::SVG_PAINTTYPE_URI_RGBCOLOR
65 || paintType == SVGPaint::SVG_PAINTTYPE_URI_RGBCOLOR_ICCCOLOR)
67 else if (paintType == SVGPaint::SVG_PAINTTYPE_CURRENTCOLOR || paintType == SVGPaint::SVG_PAINTTYPE_URI_CURRENTCOLOR)
76 if (visitedPaint->paintType() < SVGPain
[all...]
H A DSVGResources.cpp159 SVGPaint::SVGPaintType paintType = paint->paintType(); local
160 if (paintType != SVGPaint::SVG_PAINTTYPE_URI && paintType != SVGPaint::SVG_PAINTTYPE_URI_RGBCOLOR)
/external/webkit/Source/WebCore/svg/
H A DSVGPaint.cpp33 static inline SVGColor::SVGColorType colorTypeForPaintType(const SVGPaint::SVGPaintType& paintType) argument
35 switch (paintType) {
56 SVGPaint::SVGPaint(const SVGPaintType& paintType, String uri) argument
57 : SVGColor(colorTypeForPaintType(paintType))
58 , m_paintType(paintType)
65 // Spec: Sets the paintType to SVG_PAINTTYPE_URI_NONE and sets uri to the specified value.
85 void SVGPaint::setPaint(unsigned short paintType, const String& uri, const String& rgbColor, const String& iccColor, ExceptionCode& ec) argument
87 if ((paintType > SVG_PAINTTYPE_RGBCOLOR_ICCCOLOR && paintType < SVG_PAINTTYPE_NONE) || paintType > SVG_PAINTTYPE_UR
[all...]
H A DSVGPaint.idl40 readonly attribute unsigned short paintType;
44 [StrictTypeChecking, RequiresAllArguments=Raise] void setPaint(in unsigned short paintType, in DOMString uri, in DOMString rgbColor, in DOMString iccColor)
H A DSVGPaint.h82 const SVGPaintType& paintType() const { return m_paintType; } function in class:WebCore::SVGPaint
86 void setPaint(unsigned short paintType, const String& uri, const String& rgbColor, const String& iccColor, ExceptionCode&);
/external/webkit/Source/WebCore/rendering/style/
H A DSVGRenderStyleDefs.cpp59 if (paint->paintType() != other.paint->paintType())
62 if (paint->paintType() == SVGPaint::SVG_PAINTTYPE_URI)
65 if (paint->paintType() == SVGPaint::SVG_PAINTTYPE_RGBCOLOR)
H A DSVGRenderStyle.h323 bool hasStroke() const { return strokePaint()->paintType() != SVGPaint::SVG_PAINTTYPE_NONE; }
324 bool hasFill() const { return fillPaint()->paintType() != SVGPaint::SVG_PAINTTYPE_NONE; }

Completed in 103 milliseconds