Home
last modified time | relevance | path

Searched refs:ColorStop (Results 1 – 7 of 7) sorted by relevance

/external/skia/modules/sksg/include/
DSkSGGradient.h27 struct ColorStop { struct
31 bool operator==(const ColorStop& other) const { argument
36 SG_ATTRIBUTE(ColorStops, std::vector<ColorStop>, fColorStops)
49 std::vector<ColorStop> fColorStops;
/external/skqp/modules/sksg/include/
DSkSGGradient.h27 struct ColorStop { struct
31 bool operator==(const ColorStop& other) const { argument
36 SG_ATTRIBUTE(ColorStops, std::vector<ColorStop>, fColorStops)
49 std::vector<ColorStop> fColorStops;
/external/fonttools/Tests/colorLib/
Dbuilder_test.py285 s = _build(ot.ColorStop, (0.1, 2))
300 ot.ColorStop, {"StopOffset": 0.2, "Color": {"PaletteIndex": 3, "Alpha": 0.4}}
328 assert [(cs.StopOffset, cs.Color.PaletteIndex) for cs in cline.ColorStop] == stops
344 ot.ColorLine, {"ColorStop": [_build(ot.ColorStop, s) for s in stops]}
346 assert [(cs.StopOffset, cs.Color.PaletteIndex) for cs in cline.ColorStop] == stops
363 for cs in cline.ColorStop
404 color_stops = _sample_stops(ot.ColorStop)
420 assert gradient.ColorLine.ColorStop == color_stops
446 color_stops = _sample_stops(ot.ColorStop)
479 assert gradient.ColorLine.ColorStop == color_stops
[all …]
/external/skia/modules/skottie/src/layers/shapelayer/
DGradient.cpp123 sksg::Gradient::ColorStop current_stop = { in onSync()
131 std::vector<sksg::Gradient::ColorStop> stops; in onSync()
/external/skqp/modules/skottie/src/
DSkottieAdapter.cpp195 std::vector<sksg::Gradient::ColorStop> stops; in apply()
/external/fonttools/Tests/subset/
Dsubset_test.py1147 assert layers[0].Paint.Paint.ColorLine.ColorStop[0].Color.PaletteIndex == 0
1148 assert layers[0].Paint.Paint.ColorLine.ColorStop[1].Color.PaletteIndex == 1
/external/fonttools/Lib/fontTools/subset/
D__init__.py2076 for stop in paint.ColorLine.ColorStop: