Skia
2D Graphics Library
SkSVGAttributeParser Class Reference

#include <SkSVGAttributeParser.h>

Inheritance diagram for SkSVGAttributeParser:

Public Types

template<typename T >
using ParseResult = SkTLazy< T >
 

Public Member Functions

 SkSVGAttributeParser (const char[])
 
bool parseInteger (SkSVGIntegerType *)
 
bool parseViewBox (SkSVGViewBoxType *)
 
bool parsePreserveAspectRatio (SkSVGPreserveAspectRatio *)
 
bool parse (SkSVGIntegerType *v)
 

Static Public Member Functions

template<typename T >
static ParseResult< T > parse (const char *value)
 
template<typename T >
static ParseResult< T > parse (const char *expectedName, const char *name, const char *value)
 
template<typename PropertyT >
static ParseResult< PropertyT > parseProperty (const char *expectedName, const char *name, const char *value)
 

Member Typedef Documentation

◆ ParseResult

template<typename T >
using SkSVGAttributeParser::ParseResult = SkTLazy<T>

Constructor & Destructor Documentation

◆ SkSVGAttributeParser()

SkSVGAttributeParser::SkSVGAttributeParser ( const char  [])

Member Function Documentation

◆ parse() [1/3]

template<typename T >
static ParseResult<T> SkSVGAttributeParser::parse ( const char *  expectedName,
const char *  name,
const char *  value 
)
inlinestatic

◆ parse() [2/3]

template<typename T >
static ParseResult<T> SkSVGAttributeParser::parse ( const char *  value)
inlinestatic

◆ parse() [3/3]

bool SkSVGAttributeParser::parse ( SkSVGIntegerType v)
inline

◆ parseInteger()

bool SkSVGAttributeParser::parseInteger ( SkSVGIntegerType )

◆ parsePreserveAspectRatio()

bool SkSVGAttributeParser::parsePreserveAspectRatio ( SkSVGPreserveAspectRatio )

◆ parseProperty()

template<typename PropertyT >
static ParseResult<PropertyT> SkSVGAttributeParser::parseProperty ( const char *  expectedName,
const char *  name,
const char *  value 
)
inlinestatic

◆ parseViewBox()

bool SkSVGAttributeParser::parseViewBox ( SkSVGViewBoxType )

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