SkSVGParser Class Reference
#include <SkSVGParser.h>
Inherits SkXMLParser.
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 () |
SkString & | getPaintLast (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] |
void SkSVGParser::_addAttribute |
( |
const char * |
attrName, |
|
|
const char * |
attrValue | |
|
) |
| | [inline] |
void SkSVGParser::_addAttributeLen |
( |
const char * |
attrName, |
|
|
const char * |
attrValue, |
|
|
size_t |
len | |
|
) |
| | [inline] |
void SkSVGParser::_endElement |
( |
|
) |
[inline] |
void SkSVGParser::_startElement |
( |
const char |
name[] |
) |
[inline] |
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] |
virtual bool SkSVGParser::onAddAttribute |
( |
const char |
name[], |
|
|
const char |
value[] | |
|
) |
| | [protected, virtual] |
bool SkSVGParser::onAddAttributeLen |
( |
const char |
name[], |
|
|
const char |
value[], |
|
|
size_t |
len | |
|
) |
| | [protected] |
virtual bool SkSVGParser::onEndElement |
( |
const char |
elem[] |
) |
[protected, virtual] |
virtual bool SkSVGParser::onStartElement |
( |
const char |
elem[] |
) |
[protected, virtual] |
bool SkSVGParser::onStartElementLen |
( |
const char |
elem[], |
|
|
size_t |
len | |
|
) |
| | [protected] |
virtual bool SkSVGParser::onText |
( |
const char |
text[], |
|
|
int |
len | |
|
) |
| | [protected, virtual] |
void SkSVGParser::translate |
( |
SkSVGElement * |
, |
|
|
bool |
isDef | |
|
) |
| | |
Friends And Related Function Documentation
friend class SkSVGGradient [friend] |
The documentation for this class was generated from the following file: