Searched refs:ColorStop (Results 1 – 7 of 7) sorted by relevance
/external/skia/modules/sksg/include/ |
D | SkSGGradient.h | 27 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/ |
D | SkSGGradient.h | 27 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/ |
D | builder_test.py | 285 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/ |
D | Gradient.cpp | 123 sksg::Gradient::ColorStop current_stop = { in onSync() 131 std::vector<sksg::Gradient::ColorStop> stops; in onSync()
|
/external/skqp/modules/skottie/src/ |
D | SkottieAdapter.cpp | 195 std::vector<sksg::Gradient::ColorStop> stops; in apply()
|
/external/fonttools/Tests/subset/ |
D | subset_test.py | 1147 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__.py | 2076 for stop in paint.ColorLine.ColorStop:
|