Lines Matching defs:SkXMLWriter
1 /* libs/graphics/xml/SkXMLWriter.cpp
18 #include "SkXMLWriter.h"
21 SkXMLWriter::SkXMLWriter(bool doEscapeMarkup) : fDoEscapeMarkup(doEscapeMarkup)
25 SkXMLWriter::~SkXMLWriter()
30 void SkXMLWriter::flush()
36 void SkXMLWriter::addAttribute(const char name[], const char value[])
41 void SkXMLWriter::addS32Attribute(const char name[], int32_t value)
48 void SkXMLWriter::addHexAttribute(const char name[], uint32_t value, int minDigits)
55 void SkXMLWriter::addScalarAttribute(const char name[], SkScalar value)
62 void SkXMLWriter::doEnd(Elem* elem)
67 bool SkXMLWriter::doStart(const char name[], size_t length)
80 SkXMLWriter::Elem* SkXMLWriter::getEnd()
87 const char* SkXMLWriter::getHeader()
93 void SkXMLWriter::startElement(const char name[])
145 void SkXMLWriter::addAttributeLen(const char name[], const char value[], size_t length)
163 void SkXMLWriter::startElementLen(const char elem[], size_t length)
170 static void write_dom(const SkDOM& dom, const SkDOM::Node* node, SkXMLWriter* w, bool skipRoot)
194 void SkXMLWriter::writeDOM(const SkDOM& dom, const SkDOM::Node* node, bool skipRoot)
200 void SkXMLWriter::writeHeader()
274 : SkXMLWriter(false), fParser(*parser)