Home
last modified time | relevance | path

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

12

/external/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.h121 SVG_PRES_ATTR(FillOpacity , SkSVGNumberType, true)
131 SVG_PRES_ATTR(StrokeMiterLimit , SkSVGNumberType, true)
132 SVG_PRES_ATTR(StrokeOpacity , SkSVGNumberType, true)
142 SVG_PRES_ATTR(Opacity , SkSVGNumberType, false)
144 SVG_PRES_ATTR(StopOpacity , SkSVGNumberType, false)
146 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;
/external/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()
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()
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()
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()
/external/skqp/experimental/svg/model/
DSkSVGStop.h25 const SkSVGNumberType& stopOpacity() const { return fStopOpacity; } in stopOpacity()
29 void setStopOpacity(const SkSVGNumberType&);
39 SkSVGNumberType fStopOpacity = SkSVGNumberType(1);
DSkSVGAttribute.h68 SkTLazy<SkSVGNumberType> fFillOpacity;
77 SkTLazy<SkSVGNumberType> fStrokeMiterLimit;
78 SkTLazy<SkSVGNumberType> fStrokeOpacity;
84 SkTLazy<SkSVGNumberType> fOpacity;
DSkSVGNode.cpp75 void SkSVGNode::setFillOpacity(const SkSVGNumberType& opacity) { in setFillOpacity()
77 SkSVGNumberType(SkTPin<SkScalar>(opacity.value(), 0, 1))); in setFillOpacity()
84 void SkSVGNode::setOpacity(const SkSVGNumberType& opacity) { in setOpacity()
86 SkSVGNumberType(SkTPin<SkScalar>(opacity.value(), 0, 1))); in setOpacity()
101 void SkSVGNode::setStrokeOpacity(const SkSVGNumberType& opacity) { in setStrokeOpacity()
103 SkSVGNumberType(SkTPin<SkScalar>(opacity.value(), 0, 1))); in setStrokeOpacity()
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()
DSkSVGNode.h57 void setFillOpacity(const SkSVGNumberType&);
59 void setOpacity(const SkSVGNumberType&);
63 void setStrokeOpacity(const SkSVGNumberType&);

12