Home | History | Annotate | Download | only in effects

Lines Matching refs:colors

21         /** By default gradients will interpolate their colors in unpremul space
23 * gradients will premultiply their colors first, and then interpolate
32 @param colors The array[count] of colors, to be distributed between the two points
34 each corresponding color in the colors array. If this is NULL,
35 the the colors are distributed evenly between the start and end point.
38 @param count Must be >=2. The number of colors (and pos if not NULL) entries.
42 const SkColor colors[], const SkScalar pos[], int count,
46 const SkColor colors[], const SkScalar pos[], int count,
48 return MakeLinear(pts, colors, pos, count, mode, 0, NULL);
54 @param colors The array[count] of colors, to be distributed between the two points
56 each corresponding color in the colors array. If this is NULL,
57 the the colors are distributed evenly between the start and end point.
60 @param count Must be >=2. The number of colors (and pos if not NULL) entries.
64 const SkColor4f colors[], sk_sp<SkColorSpace> colorSpace,
68 const SkColor4f colors[], sk_sp<SkColorSpace> colorSpace,
70 return MakeLinear(pts, colors, std::move(colorSpace), pos, count, mode, 0, NULL);
77 @param colors The array[count] of colors, to be distributed between the center and edge of the circle
79 each corresponding color in the colors array. If this is NULL,
80 the the colors are distributed evenly between the center and edge of the circle.
83 @param count Must be >= 2. The number of colors (and pos if not NULL) entries
87 const SkColor colors[], const SkScalar pos[], int count,
91 const SkColor colors[], const SkScalar pos[], int count,
93 return MakeRadial(center, radius, colors, pos, count, mode, 0, NULL);
100 @param colors The array[count] of colors, to be distributed between the center and edge of the circle
102 each corresponding color in the colors array. If this is NULL,
103 the the colors are distributed evenly between the center and edge of the circle.
106 @param count Must be >= 2. The number of colors (and pos if not NULL) entries
110 const SkColor4f colors[], sk_sp<SkColorSpace> colorSpace,
114 const SkColor4f colors[], sk_sp<SkColorSpace> colorSpace,
116 return MakeRadial(center, radius, colors, std::move(colorSpace), pos, count, mode, 0, NULL);
127 const SkColor colors[], const SkScalar pos[],
132 const SkColor colors[], const SkScalar pos[],
134 return MakeTwoPointConical(start, startRadius, end, endRadius, colors, pos, count, mode,
146 const SkColor4f colors[],
152 const SkColor4f colors[],
155 return MakeTwoPointConical(start, startRadius, end, endRadius, colors,
163 @param colors The array[count] of colors, to be distributed around the center.
165 each corresponding color in the colors array. If this is NULL,
166 the the colors are distributed evenly between the center and edge of the circle.
169 @param count Must be >= 2. The number of colors (and pos if not NULL) entries
172 const SkColor colors[], const SkScalar pos[], int count,
175 const SkColor colors[], const SkScalar pos[], int count) {
176 return MakeSweep(cx, cy, colors, pos, count, 0, NULL);
183 @param colors The array[count] of colors, to be distributed around the center.
185 each corresponding color in the colors array. If this is NULL,
186 the the colors are distributed evenly between the center and edge of the circle.
189 @param count Must be >= 2. The number of colors (and pos if not NULL) entries
192 const SkColor4f colors[], sk_sp<SkColorSpace> colorSpace,
196 const SkColor4f colors[], sk_sp<SkColorSpace> colorSpace,
198 return MakeSweep(cx, cy, colors, std::move(colorSpace), pos, count, 0, NULL);