SkSVGParser Class Reference

#include <SkSVGParser.h>

Inherits SkXMLParser.

Collaboration diagram for SkSVGParser:
[legend]

List of all members.

Public Member Functions

 SkSVGParser ()
virtual ~SkSVGParser ()
void _addAttribute (const char *attrName, const char *attrValue)
void _addAttribute (const char *attrName, SkString &attrValue)
void _addAttributeLen (const char *attrName, const char *attrValue, size_t len)
void _endElement ()
int findAttribute (SkSVGBase *, const char *attrValue, size_t len, bool isPaint)
const char * getFinal ()
SkTDict< SkSVGElement * > & getIDs ()
SkStringgetPaintLast (SkSVGPaint::Field field)
void _startElement (const char name[])
void translate (SkSVGElement *, bool isDef)
void translateMatrix (SkString &, SkString *id)

Static Public Member Functions

static void ConvertToArray (SkString &vals)

Protected Member Functions

virtual bool onAddAttribute (const char name[], const char value[])
bool onAddAttributeLen (const char name[], const char value[], size_t len)
virtual bool onEndElement (const char elem[])
virtual bool onStartElement (const char elem[])
bool onStartElementLen (const char elem[], size_t len)
virtual bool onText (const char text[], int len)

Friends

class SkSVGPaint
class SkSVGGradient

Detailed Description

Definition at line 33 of file SkSVGParser.h.


Constructor & Destructor Documentation

SkSVGParser::SkSVGParser (  ) 
virtual SkSVGParser::~SkSVGParser (  )  [virtual]

Member Function Documentation

void SkSVGParser::_addAttribute ( const char *  attrName,
SkString attrValue 
) [inline]

Definition at line 39 of file SkSVGParser.h.

void SkSVGParser::_addAttribute ( const char *  attrName,
const char *  attrValue 
) [inline]

Definition at line 37 of file SkSVGParser.h.

void SkSVGParser::_addAttributeLen ( const char *  attrName,
const char *  attrValue,
size_t  len 
) [inline]

Definition at line 41 of file SkSVGParser.h.

void SkSVGParser::_endElement (  )  [inline]

Definition at line 43 of file SkSVGParser.h.

void SkSVGParser::_startElement ( const char  name[]  )  [inline]

Definition at line 48 of file SkSVGParser.h.

static void SkSVGParser::ConvertToArray ( SkString vals  )  [static]
int SkSVGParser::findAttribute ( SkSVGBase ,
const char *  attrValue,
size_t  len,
bool  isPaint 
)
const char* SkSVGParser::getFinal (  ) 
SkTDict<SkSVGElement*>& SkSVGParser::getIDs (  )  [inline]

Definition at line 46 of file SkSVGParser.h.

SkString& SkSVGParser::getPaintLast ( SkSVGPaint::Field  field  ) 
virtual bool SkSVGParser::onAddAttribute ( const char  name[],
const char  value[] 
) [protected, virtual]

Reimplemented from SkXMLParser.

bool SkSVGParser::onAddAttributeLen ( const char  name[],
const char  value[],
size_t  len 
) [protected]
virtual bool SkSVGParser::onEndElement ( const char  elem[]  )  [protected, virtual]

Reimplemented from SkXMLParser.

virtual bool SkSVGParser::onStartElement ( const char  elem[]  )  [protected, virtual]

Reimplemented from SkXMLParser.

bool SkSVGParser::onStartElementLen ( const char  elem[],
size_t  len 
) [protected]
virtual bool SkSVGParser::onText ( const char  text[],
int  len 
) [protected, virtual]

Reimplemented from SkXMLParser.

void SkSVGParser::translate ( SkSVGElement *  ,
bool  isDef 
)
void SkSVGParser::translateMatrix ( SkString ,
SkString id 
)

Friends And Related Function Documentation

friend class SkSVGGradient [friend]

Definition at line 78 of file SkSVGParser.h.

friend class SkSVGPaint [friend]

Definition at line 77 of file SkSVGParser.h.


The documentation for this class was generated from the following file:

Generated on Tue Oct 20 10:33:05 2009 for Skia by  doxygen 1.6.1