Lines Matching refs:AutoElement
275 class SkSVGDevice::AutoElement : ::SkNoncopyable { class in SkSVGDevice
277 AutoElement(const char name[], SkXMLWriter* writer) in AutoElement() function in SkSVGDevice::AutoElement
283 AutoElement(const char name[], SkXMLWriter* writer, ResourceBucket* bucket, in AutoElement() function in SkSVGDevice::AutoElement
292 fClipGroup.reset(SkNEW_ARGS(AutoElement, ("g", fWriter))); in AutoElement()
305 ~AutoElement() { in ~AutoElement()
344 SkAutoTDelete<AutoElement> fClipGroup;
347 void SkSVGDevice::AutoElement::addPaint(const SkPaint& paint, const Resources& resources) { in addPaint()
392 Resources SkSVGDevice::AutoElement::addResources(const SkDraw& draw, const SkPaint& paint) { in addResources()
400 AutoElement defs("defs", fWriter); in addResources()
414 void SkSVGDevice::AutoElement::addShaderResources(const SkPaint& paint, Resources* resources) { in addShaderResources()
439 void SkSVGDevice::AutoElement::addClipResources(const SkDraw& draw, Resources* resources) { in addClipResources()
451 AutoElement clipPathElement("clipPath", fWriter); in addClipResources()
456 AutoElement rectElement("rect", fWriter); in addClipResources()
460 AutoElement pathElement("path", fWriter); in addClipResources()
469 SkString SkSVGDevice::AutoElement::addLinearGradientDef(const SkShader::GradientInfo& info, in addLinearGradientDef()
475 AutoElement gradient("linearGradient", fWriter); in addLinearGradientDef()
494 AutoElement stop("stop", fWriter); in addLinearGradientDef()
508 void SkSVGDevice::AutoElement::addRectAttributes(const SkRect& rect) { in addRectAttributes()
521 void SkSVGDevice::AutoElement::addPathAttributes(const SkPath& path) { in addPathAttributes()
527 void SkSVGDevice::AutoElement::addTextAttributes(const SkPaint& paint) { in addTextAttributes()
581 fRootElement.reset(SkNEW_ARGS(AutoElement, ("svg", fWriter))); in SkSVGDevice()
601 AutoElement rect("rect", fWriter, fResourceBucket, draw, paint); in drawPaint()
621 AutoElement elem("path", fWriter, fResourceBucket, draw, paint); in drawPoints()
629 AutoElement elem("path", fWriter, fResourceBucket, draw, paint); in drawPoints()
637 AutoElement rect("rect", fWriter, fResourceBucket, draw, paint); in drawRect()
642 AutoElement ellipse("ellipse", fWriter, fResourceBucket, draw, paint); in drawOval()
653 AutoElement elem("path", fWriter, fResourceBucket, draw, paint); in drawRRect()
659 AutoElement elem("path", fWriter, fResourceBucket, draw, paint); in drawPath()
680 AutoElement defs("defs", fWriter); in drawBitmapCommon()
682 AutoElement image("image", fWriter); in drawBitmapCommon()
691 AutoElement imageUse("use", fWriter, fResourceBucket, draw, paint); in drawBitmapCommon()
743 AutoElement elem("text", fWriter, fResourceBucket, draw, paint); in drawText()
757 AutoElement elem("text", fWriter, fResourceBucket, draw, paint); in drawPosText()
771 AutoElement defs("defs", fWriter); in drawTextOnPath()
772 AutoElement pathElement("path", fWriter); in drawTextOnPath()
779 AutoElement textElement("text", fWriter); in drawTextOnPath()
787 AutoElement textPathElement("textPath", fWriter); in drawTextOnPath()