Home
last modified time | relevance | path

Searched refs:SkSVGNumberType (Results 1 – 25 of 27) sorted by relevance

12

/third_party/skia/modules/svg/src/
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 …]
DSkSVGAttribute.cpp14 result.fFillOpacity.set(SkSVGNumberType(1)); in MakeInitial()
23 result.fStrokeMiterLimit.set(SkSVGNumberType(4)); in MakeInitial()
24 result.fStrokeOpacity.set(SkSVGNumberType(1)); in MakeInitial()
42 result.fStopOpacity.set(SkSVGNumberType(1)); in MakeInitial()
44 result.fFloodOpacity.set(SkSVGNumberType(1)); in MakeInitial()
DSkSVGFeLighting.cpp20 SkSVGAttributeParser::parse<SkSVGNumberType>("surfaceScale", n, v)) || in parseAndSetAttribute()
28 std::vector<SkSVGNumberType> values; in parse()
74 SkSVGNumberType x, in resolveXYZ()
75 SkSVGNumberType y, in resolveXYZ()
76 SkSVGNumberType z) const { in resolveXYZ()
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()
DSkSVGFeColorMatrix.cpp50 SkColorMatrix SkSVGFeColorMatrix::MakeSaturate(SkSVGNumberType s) { in MakeSaturate()
56 SkColorMatrix SkSVGFeColorMatrix::MakeHueRotate(SkSVGNumberType degrees) { in MakeHueRotate()
58 const SkSVGNumberType c = SkScalarCos(theta); in MakeHueRotate()
59 const SkSVGNumberType s = SkScalarSin(theta); in MakeHueRotate()
101 SkSVGNumberType value; in parse()
DSkSVGFeComposite.cpp18 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()
DSkSVGFeTurbulence.cpp20 this->setSeed(SkSVGAttributeParser::parse<SkSVGNumberType>("seed", name, value)) || in parseAndSetAttribute()
30 SkSVGNumberType freqX; in parse()
35 SkSVGNumberType freqY; in parse()
DSkSVGFeOffset.cpp17 this->setDx(SkSVGAttributeParser::parse<SkSVGNumberType>("dx", name, value)) || in parseAndSetAttribute()
18 this->setDy(SkSVGAttributeParser::parse<SkSVGNumberType>("dy", name, value)); in parseAndSetAttribute()
DSkSVGNode.cpp20 fPresentationAttributes.fStopOpacity.set(SkSVGNumberType(1.0f)); in SkSVGNode()
22 fPresentationAttributes.fFloodOpacity.set(SkSVGNumberType(1.0f)); in SkSVGNode()
DSkSVGFeGaussianBlur.cpp35 std::vector<SkSVGNumberType> values; in parse()
DSkSVGAttributeParser.cpp326 bool SkSVGAttributeParser::parse(SkSVGNumberType* number) { in parse()
332 *number = SkSVGNumberType(s); in parse()
351 *number = SkSVGNumberType(i); in parseInteger()
952 bool SkSVGAttributeParser::parse(std::vector<SkSVGNumberType>* numbers) { in parse()
DSkSVGFeMorphology.cpp53 std::vector<SkSVGNumberType> values; in parse()
DSkSVGFeDisplacementMap.cpp24 this->setScale(SkSVGAttributeParser::parse<SkSVGNumberType>("scale", name, value)); in parseAndSetAttribute()
/third_party/skia/modules/svg/include/
DSkSVGFeLightSource.h36 SVG_ATTR(Azimuth , SkSVGNumberType, 0)
37 SVG_ATTR(Elevation, SkSVGNumberType, 0)
53 SVG_ATTR(X, SkSVGNumberType, 0)
54 SVG_ATTR(Y, SkSVGNumberType, 0)
55 SVG_ATTR(Z, SkSVGNumberType, 0)
71 SVG_ATTR(X , SkSVGNumberType, 0)
72 SVG_ATTR(Y , SkSVGNumberType, 0)
73 SVG_ATTR(Z , SkSVGNumberType, 0)
74 SVG_ATTR(PointsAtX , SkSVGNumberType, 0)
75 SVG_ATTR(PointsAtY , SkSVGNumberType, 0)
[all …]
DSkSVGFeComposite.h22 SVG_ATTR(K1, SkSVGNumberType, SkSVGNumberType(0))
23 SVG_ATTR(K2, SkSVGNumberType, SkSVGNumberType(0))
24 SVG_ATTR(K3, SkSVGNumberType, SkSVGNumberType(0))
25 SVG_ATTR(K4, SkSVGNumberType, SkSVGNumberType(0))
DSkSVGFeLighting.h21 SkSVGNumberType fDx;
22 SkSVGNumberType fDy;
25 SVG_ATTR(SurfaceScale, SkSVGNumberType, 1)
54 SkSVGNumberType,
55 SkSVGNumberType,
56 SkSVGNumberType) const;
68 SVG_ATTR(SpecularConstant, SkSVGNumberType, 1)
69 SVG_ATTR(SpecularExponent, SkSVGNumberType, 1)
98 SVG_ATTR(DiffuseConstant, SkSVGNumberType, 1)
DSkSVGAttribute.h75 SkSVGProperty<SkSVGNumberType, true> fFillOpacity;
84 SkSVGProperty<SkSVGNumberType, true> fStrokeMiterLimit;
85 SkSVGProperty<SkSVGNumberType, true> fStrokeOpacity;
101 SkSVGProperty<SkSVGNumberType, false> fOpacity;
107 SkSVGProperty<SkSVGNumberType, false> fStopOpacity;
109 SkSVGProperty<SkSVGNumberType, false> fFloodOpacity;
DSkSVGFeOffset.h18 SVG_ATTR(Dx, SkSVGNumberType, SkSVGNumberType(0))
19 SVG_ATTR(Dy, SkSVGNumberType, SkSVGNumberType(0))
DSkSVGNode.h125 SVG_PRES_ATTR(FillOpacity , SkSVGNumberType, true)
135 SVG_PRES_ATTR(StrokeMiterLimit , SkSVGNumberType, true)
136 SVG_PRES_ATTR(StrokeOpacity , SkSVGNumberType, true)
146 SVG_PRES_ATTR(Opacity , SkSVGNumberType, false)
148 SVG_PRES_ATTR(StopOpacity , SkSVGNumberType, false)
150 SVG_PRES_ATTR(FloodOpacity , SkSVGNumberType, false)
DSkSVGFeGaussianBlur.h17 SkSVGNumberType fX;
18 SkSVGNumberType fY;
DSkSVGFeTurbulence.h22 SVG_ATTR(Seed, SkSVGNumberType, SkSVGNumberType(0))
DSkSVGFeMorphology.h17 SkSVGNumberType fX;
18 SkSVGNumberType fY;
DSkSVGFeColorMatrix.h37 static SkColorMatrix MakeSaturate(SkSVGNumberType s);
39 static SkColorMatrix MakeHueRotate(SkSVGNumberType degrees);
DSkSVGFeDisplacementMap.h28 SVG_ATTR(Scale , SkSVGNumberType , SkSVGNumberType(0))
DSkSVGTypes.h24 using SkSVGNumberType = SkScalar; variable
637 using SkSVGFeColorMatrixValues = SkTDArray<SkSVGNumberType>;
651 SkSVGFeTurbulenceBaseFrequency(SkSVGNumberType freqX, SkSVGNumberType freqY) in SkSVGFeTurbulenceBaseFrequency()
654 SkSVGNumberType freqX() const { return fFreqX; } in freqX()
655 SkSVGNumberType freqY() const { return fFreqY; } in freqY()
658 SkSVGNumberType fFreqX;
659 SkSVGNumberType fFreqY;
DSkSVGValue.h75 using SkSVGNumberValue = SkSVGWrapperValue<SkSVGNumberType , SkSVGValue::Type::kNumber >;

12