Lines Matching refs:SVGPaint
32 class SVGPaint : public SVGColor {
47 static PassRefPtr<SVGPaint> createUnknown()
49 return adoptRef(new SVGPaint(SVG_PAINTTYPE_UNKNOWN));
52 static PassRefPtr<SVGPaint> createNone()
54 return adoptRef(new SVGPaint(SVG_PAINTTYPE_NONE));
57 static PassRefPtr<SVGPaint> createCurrentColor()
59 return adoptRef(new SVGPaint(SVG_PAINTTYPE_CURRENTCOLOR));
62 static PassRefPtr<SVGPaint> createColor(const Color& color)
64 RefPtr<SVGPaint> paint = adoptRef(new SVGPaint(SVG_PAINTTYPE_RGBCOLOR));
69 static PassRefPtr<SVGPaint> createURI(const String& uri)
71 RefPtr<SVGPaint> paint = adoptRef(new SVGPaint(SVG_PAINTTYPE_URI, uri));
75 static PassRefPtr<SVGPaint> createURIAndColor(const String& uri, const Color& color)
77 RefPtr<SVGPaint> paint = adoptRef(new SVGPaint(SVG_PAINTTYPE_URI_RGBCOLOR, uri));
90 static SVGPaint* defaultFill();
91 static SVGPaint* defaultStroke();
96 static PassRefPtr<SVGPaint> create(const SVGPaintType& type, const String& uri, const Color& color)
98 RefPtr<SVGPaint> paint = adoptRef(new SVGPaint(type, uri));
104 SVGPaint(const SVGPaintType&, String uri = String());