Home | History | Annotate | Download | only in svg

Lines Matching refs:paintType

33 static inline SVGColor::SVGColorType colorTypeForPaintType(const SVGPaint::SVGPaintType& paintType)
35 switch (paintType) {
56 SVGPaint::SVGPaint(const SVGPaintType& paintType, String uri)
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)
87 if ((paintType > SVG_PAINTTYPE_RGBCOLOR_ICCCOLOR && paintType < SVG_PAINTTYPE_NONE) || paintType > SVG_PAINTTYPE_URI) {
94 SVGPaintType type = static_cast<SVGPaintType>(paintType);
114 // Spec: If paintType requires a URI, then uri must be non-null; otherwise, uri must be null.