Home
last modified time | relevance | path

Searched refs:SkSVGAttributeParser (Results 1 – 25 of 42) sorted by relevance

12

/external/skia/modules/svg/src/
DSkSVGAttributeParser.cpp36 SkSVGAttributeParser::SkSVGAttributeParser(const char attributeString[]) in SkSVGAttributeParser() function in SkSVGAttributeParser
40 inline bool SkSVGAttributeParser::advanceWhile(F f) { in advanceWhile()
48 bool SkSVGAttributeParser::matchStringToken(const char* token, const char** newPos) const { in matchStringToken()
67 bool SkSVGAttributeParser::parseEOSToken() { in parseEOSToken()
71 bool SkSVGAttributeParser::parseSepToken() { in parseSepToken()
75 bool SkSVGAttributeParser::parseWSToken() { in parseWSToken()
79 bool SkSVGAttributeParser::parseCommaWspToken() { in parseCommaWspToken()
85 bool SkSVGAttributeParser::parseExpectedStringToken(const char* expected) { in parseExpectedStringToken()
95 bool SkSVGAttributeParser::parseScalarToken(SkScalar* res) { in parseScalarToken()
103 bool SkSVGAttributeParser::parseInt32Token(int32_t* res) { in parseInt32Token()
[all …]
DSkSVGFeLightSource.cpp26 this->setAzimuth(SkSVGAttributeParser::parse<SkSVGNumberType>("azimuth", n, v)) || in parseAndSetAttribute()
27 this->setElevation(SkSVGAttributeParser::parse<SkSVGNumberType>("elevation", n, v)); in parseAndSetAttribute()
32 this->setX(SkSVGAttributeParser::parse<SkSVGNumberType>("x", n, v)) || in parseAndSetAttribute()
33 this->setY(SkSVGAttributeParser::parse<SkSVGNumberType>("y", n, v)) || in parseAndSetAttribute()
34 this->setZ(SkSVGAttributeParser::parse<SkSVGNumberType>("z", n, v)); in parseAndSetAttribute()
39 this->setX(SkSVGAttributeParser::parse<SkSVGNumberType>("x", n, v)) || in parseAndSetAttribute()
40 this->setY(SkSVGAttributeParser::parse<SkSVGNumberType>("y", n, v)) || in parseAndSetAttribute()
41 this->setZ(SkSVGAttributeParser::parse<SkSVGNumberType>("z", n, v)) || in parseAndSetAttribute()
42 this->setPointsAtX(SkSVGAttributeParser::parse<SkSVGNumberType>("pointsAtX", n, v)) || in parseAndSetAttribute()
43 this->setPointsAtY(SkSVGAttributeParser::parse<SkSVGNumberType>("pointsAtY", n, v)) || in parseAndSetAttribute()
[all …]
DSkSVGFeComposite.cpp17 this->setIn2(SkSVGAttributeParser::parse<SkSVGFeInputType>("in2", name, value)) || in parseAndSetAttribute()
18 this->setK1(SkSVGAttributeParser::parse<SkSVGNumberType>("k1", name, value)) || in parseAndSetAttribute()
19 this->setK2(SkSVGAttributeParser::parse<SkSVGNumberType>("k2", name, value)) || in parseAndSetAttribute()
20 this->setK3(SkSVGAttributeParser::parse<SkSVGNumberType>("k3", name, value)) || in parseAndSetAttribute()
21 this->setK4(SkSVGAttributeParser::parse<SkSVGNumberType>("k4", name, value)) || in parseAndSetAttribute()
23 SkSVGAttributeParser::parse<SkSVGFeCompositeOperator>("operator", name, value)); in parseAndSetAttribute()
63 template <> bool SkSVGAttributeParser::parse(SkSVGFeCompositeOperator* op) { in parse()
DSkSVGFeTurbulence.cpp19 SkSVGAttributeParser::parse<SkSVGIntegerType>("numOctaves", name, value)) || in parseAndSetAttribute()
20 this->setSeed(SkSVGAttributeParser::parse<SkSVGNumberType>("seed", name, value)) || in parseAndSetAttribute()
21 this->setBaseFrequency(SkSVGAttributeParser::parse<SkSVGFeTurbulenceBaseFrequency>( in parseAndSetAttribute()
23 this->setTurbulenceType(SkSVGAttributeParser::parse<SkSVGFeTurbulenceType>( in parseAndSetAttribute()
28 bool SkSVGAttributeParser::parse<SkSVGFeTurbulenceBaseFrequency>( in parse()
47 bool SkSVGAttributeParser::parse<SkSVGFeTurbulenceType>(SkSVGFeTurbulenceType* type) { in parse()
DSkSVGMask.cpp16 this->setX(SkSVGAttributeParser::parse<SkSVGLength>("x", n, v)) || in parseAndSetAttribute()
17 this->setY(SkSVGAttributeParser::parse<SkSVGLength>("y", n, v)) || in parseAndSetAttribute()
18 this->setWidth(SkSVGAttributeParser::parse<SkSVGLength>("width", n, v)) || in parseAndSetAttribute()
19 this->setHeight(SkSVGAttributeParser::parse<SkSVGLength>("height", n, v)) || in parseAndSetAttribute()
21 SkSVGAttributeParser::parse<SkSVGObjectBoundingBoxUnits>("maskUnits", n, v)) || in parseAndSetAttribute()
23 SkSVGAttributeParser::parse<SkSVGObjectBoundingBoxUnits>("maskContentUnits", n, v)); in parseAndSetAttribute()
DSkSVGFilter.cpp18 this->setX(SkSVGAttributeParser::parse<SkSVGLength>("x", name, value)) || in parseAndSetAttribute()
19 this->setY(SkSVGAttributeParser::parse<SkSVGLength>("y", name, value)) || in parseAndSetAttribute()
20 this->setWidth(SkSVGAttributeParser::parse<SkSVGLength>("width", name, value)) || in parseAndSetAttribute()
21 this->setHeight(SkSVGAttributeParser::parse<SkSVGLength>("height", name, value)) || in parseAndSetAttribute()
22 this->setFilterUnits(SkSVGAttributeParser::parse<SkSVGObjectBoundingBoxUnits>( in parseAndSetAttribute()
24 this->setPrimitiveUnits(SkSVGAttributeParser::parse<SkSVGObjectBoundingBoxUnits>( in parseAndSetAttribute()
DSkSVGRect.cpp20 this->setX(SkSVGAttributeParser::parse<SkSVGLength>("x", n, v)) || in parseAndSetAttribute()
21 this->setY(SkSVGAttributeParser::parse<SkSVGLength>("y", n, v)) || in parseAndSetAttribute()
22 this->setWidth(SkSVGAttributeParser::parse<SkSVGLength>("width", n, v)) || in parseAndSetAttribute()
23 this->setHeight(SkSVGAttributeParser::parse<SkSVGLength>("height", n, v)) || in parseAndSetAttribute()
24 this->setRx(SkSVGAttributeParser::parse<SkSVGLength>("rx", n, v)) || in parseAndSetAttribute()
25 this->setRy(SkSVGAttributeParser::parse<SkSVGLength>("ry", n, v)); in parseAndSetAttribute()
DSkSVGPattern.cpp19 this->setX(SkSVGAttributeParser::parse<SkSVGLength>("x", name, value)) || in parseAndSetAttribute()
20 this->setY(SkSVGAttributeParser::parse<SkSVGLength>("y", name, value)) || in parseAndSetAttribute()
21 this->setWidth(SkSVGAttributeParser::parse<SkSVGLength>("width", name, value)) || in parseAndSetAttribute()
22 this->setHeight(SkSVGAttributeParser::parse<SkSVGLength>("height", name, value)) || in parseAndSetAttribute()
23 this->setPatternTransform(SkSVGAttributeParser::parse<SkSVGTransformType>( in parseAndSetAttribute()
25 this->setHref(SkSVGAttributeParser::parse<SkSVGIRI>("xlink:href", name, value)); in parseAndSetAttribute()
DSkSVGFe.cpp95 this->setIn(SkSVGAttributeParser::parse<SkSVGFeInputType>("in", name, value)) || in parseAndSetAttribute()
96 this->setResult(SkSVGAttributeParser::parse<SkSVGStringType>("result", name, value)) || in parseAndSetAttribute()
97 this->setX(SkSVGAttributeParser::parse<SkSVGLength>("x", name, value)) || in parseAndSetAttribute()
98 this->setY(SkSVGAttributeParser::parse<SkSVGLength>("y", name, value)) || in parseAndSetAttribute()
99 this->setWidth(SkSVGAttributeParser::parse<SkSVGLength>("width", name, value)) || in parseAndSetAttribute()
100 this->setHeight(SkSVGAttributeParser::parse<SkSVGLength>("height", name, value)); in parseAndSetAttribute()
103 template <> bool SkSVGAttributeParser::parse(SkSVGFeInputType* type) { in parse()
DSkSVGImage.cpp18 this->setX(SkSVGAttributeParser::parse<SkSVGLength>("x", n, v)) || in parseAndSetAttribute()
19 this->setY(SkSVGAttributeParser::parse<SkSVGLength>("y", n, v)) || in parseAndSetAttribute()
20 this->setWidth(SkSVGAttributeParser::parse<SkSVGLength>("width", n, v)) || in parseAndSetAttribute()
21 this->setHeight(SkSVGAttributeParser::parse<SkSVGLength>("height", n, v)) || in parseAndSetAttribute()
22 this->setHref(SkSVGAttributeParser::parse<SkSVGIRI>("xlink:href", n, v)) || in parseAndSetAttribute()
23 this->setPreserveAspectRatio(SkSVGAttributeParser::parse<SkSVGPreserveAspectRatio>( in parseAndSetAttribute()
DSkSVGFeDisplacementMap.cpp17 this->setIn2(SkSVGAttributeParser::parse<SkSVGFeInputType>("in2", name, value)) || in parseAndSetAttribute()
19 SkSVGAttributeParser::parse<SkSVGFeDisplacementMap::ChannelSelector>( in parseAndSetAttribute()
22 SkSVGAttributeParser::parse<SkSVGFeDisplacementMap::ChannelSelector>( in parseAndSetAttribute()
24 this->setScale(SkSVGAttributeParser::parse<SkSVGNumberType>("scale", name, value)); in parseAndSetAttribute()
58 bool SkSVGAttributeParser::parse<SkSVGFeDisplacementMap::ChannelSelector>( in parse()
DSkSVGRadialGradient.cpp17 this->setCx(SkSVGAttributeParser::parse<SkSVGLength>("cx", name, value)) || in parseAndSetAttribute()
18 this->setCy(SkSVGAttributeParser::parse<SkSVGLength>("cy", name, value)) || in parseAndSetAttribute()
19 this->setR(SkSVGAttributeParser::parse<SkSVGLength>("r", name, value)) || in parseAndSetAttribute()
20 this->setFx(SkSVGAttributeParser::parse<SkSVGLength>("fx", name, value)) || in parseAndSetAttribute()
21 this->setFy(SkSVGAttributeParser::parse<SkSVGLength>("fy", name, value)); in parseAndSetAttribute()
DSkSVGLinearGradient.cpp17 this->setX1(SkSVGAttributeParser::parse<SkSVGLength>("x1", name, value)) || in parseAndSetAttribute()
18 this->setY1(SkSVGAttributeParser::parse<SkSVGLength>("y1", name, value)) || in parseAndSetAttribute()
19 this->setX2(SkSVGAttributeParser::parse<SkSVGLength>("x2", name, value)) || in parseAndSetAttribute()
20 this->setY2(SkSVGAttributeParser::parse<SkSVGLength>("y2", name, value)); in parseAndSetAttribute()
DSkSVGEllipse.cpp17 this->setCx(SkSVGAttributeParser::parse<SkSVGLength>("cx", n, v)) || in parseAndSetAttribute()
18 this->setCy(SkSVGAttributeParser::parse<SkSVGLength>("cy", n, v)) || in parseAndSetAttribute()
19 this->setRx(SkSVGAttributeParser::parse<SkSVGLength>("rx", n, v)) || in parseAndSetAttribute()
20 this->setRy(SkSVGAttributeParser::parse<SkSVGLength>("ry", n, v)); in parseAndSetAttribute()
DSkSVGLine.cpp17 this->setX1(SkSVGAttributeParser::parse<SkSVGLength>("x1", n, v)) || in parseAndSetAttribute()
18 this->setY1(SkSVGAttributeParser::parse<SkSVGLength>("y1", n, v)) || in parseAndSetAttribute()
19 this->setX2(SkSVGAttributeParser::parse<SkSVGLength>("x2", n, v)) || in parseAndSetAttribute()
20 this->setY2(SkSVGAttributeParser::parse<SkSVGLength>("y2", n, v)); in parseAndSetAttribute()
DSkSVGFeMorphology.cpp17 this->setOperator(SkSVGAttributeParser::parse<SkSVGFeMorphology::Operator>( in parseAndSetAttribute()
19 this->setRadius(SkSVGAttributeParser::parse<SkSVGFeMorphology::Radius>( in parseAndSetAttribute()
42 bool SkSVGAttributeParser::parse<SkSVGFeMorphology::Operator>(SkSVGFeMorphology::Operator* op) { in parse()
52 bool SkSVGAttributeParser::parse<SkSVGFeMorphology::Radius>(SkSVGFeMorphology::Radius* radius) { in parse()
DSkSVGGradient.cpp16 this->setGradientTransform(SkSVGAttributeParser::parse<SkSVGTransformType>( in parseAndSetAttribute()
18 this->setHref(SkSVGAttributeParser::parse<SkSVGIRI>("xlink:href", name, value)) || in parseAndSetAttribute()
20 SkSVGAttributeParser::parse<SkSVGSpreadMethod>("spreadMethod", name, value)) || in parseAndSetAttribute()
21 this->setGradientUnits(SkSVGAttributeParser::parse<SkSVGObjectBoundingBoxUnits>( in parseAndSetAttribute()
101 bool SkSVGAttributeParser::parse(SkSVGSpreadMethod* spread) { in parse()
DSkSVGFeColorMatrix.cpp20 SkSVGAttributeParser::parse<SkSVGFeColorMatrixType>("type", name, value)) || in parseAndSetAttribute()
22 SkSVGAttributeParser::parse<SkSVGFeColorMatrixValues>("values", name, value)); in parseAndSetAttribute()
100 template <> bool SkSVGAttributeParser::parse(SkSVGFeColorMatrixValues* values) { in parse()
117 template <> bool SkSVGAttributeParser::parse(SkSVGFeColorMatrixType* type) { in parse()
DSkSVGFeLighting.cpp20 SkSVGAttributeParser::parse<SkSVGNumberType>("surfaceScale", n, v)) || in parseAndSetAttribute()
21 this->setKernelUnitLength(SkSVGAttributeParser::parse<SkSVGFeLighting::KernelUnitLength>( in parseAndSetAttribute()
26 bool SkSVGAttributeParser::parse<SkSVGFeLighting::KernelUnitLength>( in parse()
88 SkSVGAttributeParser::parse<SkSVGNumberType>("specularConstant", n, v)) || in parseAndSetAttribute()
90 SkSVGAttributeParser::parse<SkSVGNumberType>("specularExponent", n, v)); in parseAndSetAttribute()
144 SkSVGAttributeParser::parse<SkSVGNumberType>("diffuseConstant", n, v)); in parseAndSetAttribute()
DSkSVGUse.cpp22 this->setX(SkSVGAttributeParser::parse<SkSVGLength>("x", n, v)) || in parseAndSetAttribute()
23 this->setY(SkSVGAttributeParser::parse<SkSVGLength>("y", n, v)) || in parseAndSetAttribute()
24 this->setHref(SkSVGAttributeParser::parse<SkSVGIRI>("xlink:href", n, v)); in parseAndSetAttribute()
DSkSVGFeBlend.cpp17 this->setIn2(SkSVGAttributeParser::parse<SkSVGFeInputType>("in2", name, value)) || in parseAndSetAttribute()
18 this->setMode(SkSVGAttributeParser::parse<SkSVGFeBlend::Mode>("mode", name, value)); in parseAndSetAttribute()
49 bool SkSVGAttributeParser::parse<SkSVGFeBlend::Mode>( in parse()
DSkSVGCircle.cpp17 this->setCx(SkSVGAttributeParser::parse<SkSVGLength>("cx", n, v)) || in parseAndSetAttribute()
18 this->setCy(SkSVGAttributeParser::parse<SkSVGLength>("cy", n, v)) || in parseAndSetAttribute()
19 this->setR(SkSVGAttributeParser::parse<SkSVGLength>("r", n, v)); in parseAndSetAttribute()
DSkSVGFeOffset.cpp17 this->setDx(SkSVGAttributeParser::parse<SkSVGNumberType>("dx", name, value)) || in parseAndSetAttribute()
18 this->setDy(SkSVGAttributeParser::parse<SkSVGNumberType>("dy", name, value)); in parseAndSetAttribute()
/external/skqp/experimental/svg/model/
DSkSVGAttributeParser.cpp35 SkSVGAttributeParser::SkSVGAttributeParser(const char attributeString[]) in SkSVGAttributeParser() function in SkSVGAttributeParser
39 inline bool SkSVGAttributeParser::advanceWhile(F f) { in advanceWhile()
47 inline bool SkSVGAttributeParser::parseEOSToken() { in parseEOSToken()
51 inline bool SkSVGAttributeParser::parseSepToken() { in parseSepToken()
55 inline bool SkSVGAttributeParser::parseWSToken() { in parseWSToken()
59 inline bool SkSVGAttributeParser::parseExpectedStringToken(const char* expected) { in parseExpectedStringToken()
75 bool SkSVGAttributeParser::parseScalarToken(SkScalar* res) { in parseScalarToken()
83 bool SkSVGAttributeParser::parseHexToken(uint32_t* res) { in parseHexToken()
91 bool SkSVGAttributeParser::parseLengthUnitToken(SkSVGLength::Unit* unit) { in parseLengthUnitToken()
117 bool SkSVGAttributeParser::parseNamedColorToken(SkColor* c) { in parseNamedColorToken()
[all …]
DSkSVGDOM.cpp41 SkSVGAttributeParser parser(stringValue); in SetPaintAttribute()
53 SkSVGAttributeParser parser(stringValue); in SetColorAttribute()
65 SkSVGAttributeParser parser(stringValue); in SetIRIAttribute()
77 SkSVGAttributeParser parser(stringValue); in SetClipPathAttribute()
101 SkSVGAttributeParser parser(stringValue); in SetTransformAttribute()
113 SkSVGAttributeParser parser(stringValue); in SetLengthAttribute()
125 SkSVGAttributeParser parser(stringValue); in SetNumberAttribute()
137 SkSVGAttributeParser parser(stringValue); in SetViewBoxAttribute()
149 SkSVGAttributeParser parser(stringValue); in SetLineCapAttribute()
161 SkSVGAttributeParser parser(stringValue); in SetLineJoinAttribute()
[all …]

12