Home
last modified time | relevance | path

Searched refs:colors (Results 1 - 25 of 538) sorted by relevance

12345678910>>...22

/third_party/node/deps/npm/node_modules/@colors/colors/examples/
H A Dsafe-string.js1 var colors = require('../safe'); variable
3 console.log(colors.yellow('First some yellow text'));
5 console.log(colors.yellow.underline('Underline that text'));
7 console.log(colors.red.bold('Make it bold and red'));
9 console.log(colors.rainbow('Double Raindows All Day Long'));
11 console.log(colors.trap('Drop the bass'));
13 console.log(colors.rainbow(colors.trap('DROP THE RAINBOW BASS')));
16 console.log(colors.bold.italic.underline.red('Chains are also cool.'));
19 console.log(colors
[all...]
/third_party/node/deps/npm/node_modules/@colors/colors/lib/
H A Dcolors.js31 var colors = {};
32 module['exports'] = colors;
34 colors.themes = {};
37 var ansiStyles = colors.styles = require('./styles');
41 colors.supportsColor = require('./system/supports-colors').supportsColor;
43 if (typeof colors.enabled === 'undefined') {
44 colors.enabled = colors.supportsColor() !== false;
47 colors
[all...]
H A DextendStringPrototype.js1 var colors = require('./colors'); variable
12 return colors.strip(this);
16 return colors.strip(this);
20 return colors.trap(this);
24 return colors.zalgo(this);
28 return colors.zebra(this);
32 return colors.rainbow(this);
36 return colors.random(this);
40 return colors
[all...]
/third_party/skia/include/effects/
H A DSkGradientShader.h41 two half planes, each filled by the first and last colors of the gradient. The planes will be
50 /** By default gradients will interpolate their colors in unpremul space
52 * gradients will premultiply their colors first, and then interpolate
62 @param colors The array[count] of colors, to be distributed between the two points
64 each corresponding color in the colors array. If this is NULL,
65 the the colors are distributed evenly between the start and end point.
68 @param count Must be >=2. The number of colors (and pos if not NULL) entries.
74 const SkColor colors[], const SkScalar pos[], int count,
78 const SkColor colors[], cons in MakeLinear()
77 MakeLinear(const SkPoint pts[2], const SkColor colors[], const SkScalar pos[], int count, SkTileMode mode) MakeLinear() argument
101 MakeLinear(const SkPoint pts[2], const SkColor4f colors[], sk_sp<SkColorSpace> colorSpace, const SkScalar pos[], int count, SkTileMode mode) MakeLinear() argument
124 MakeRadial(const SkPoint& center, SkScalar radius, const SkColor colors[], const SkScalar pos[], int count, SkTileMode mode) MakeRadial() argument
147 MakeRadial(const SkPoint& center, SkScalar radius, const SkColor4f colors[], sk_sp<SkColorSpace> colorSpace, const SkScalar pos[], int count, SkTileMode mode) MakeRadial() argument
165 MakeTwoPointConical(const SkPoint& start, SkScalar startRadius, const SkPoint& end, SkScalar endRadius, const SkColor colors[], const SkScalar pos[], int count, SkTileMode mode) MakeTwoPointConical() argument
185 MakeTwoPointConical(const SkPoint& start, SkScalar startRadius, const SkPoint& end, SkScalar endRadius, const SkColor4f colors[], sk_sp<SkColorSpace> colorSpace, const SkScalar pos[], int count, SkTileMode mode) MakeTwoPointConical() argument
215 MakeSweep(SkScalar cx, SkScalar cy, const SkColor colors[], const SkScalar pos[], int count, uint32_t flags, const SkMatrix* localMatrix) MakeSweep() argument
221 MakeSweep(SkScalar cx, SkScalar cy, const SkColor colors[], const SkScalar pos[], int count) MakeSweep() argument
248 MakeSweep(SkScalar cx, SkScalar cy, const SkColor4f colors[], sk_sp<SkColorSpace> colorSpace, const SkScalar pos[], int count, uint32_t flags, const SkMatrix* localMatrix) MakeSweep() argument
255 MakeSweep(SkScalar cx, SkScalar cy, const SkColor4f colors[], sk_sp<SkColorSpace> colorSpace, const SkScalar pos[], int count) MakeSweep() argument
[all...]
/third_party/skia/platform_tools/android/apps/AndroidKit/src/main/java/org/skia/androidkit/
H A DGradient.java15 long make(float[] colors, float[] pos, int tileMode, long nativeLocalMatrix); in make() argument
18 protected Gradient(int[] colors, float[] pos, TileMode tm, Matrix lm, in Gradient() argument
20 super(makeGradient(colors, pos, tm, lm, gf)); in Gradient()
23 protected Gradient(float[] colors, float[] pos, TileMode tm, Matrix lm, in Gradient() argument
25 super(makeGradient(colors, pos, tm, lm, gf)); in Gradient()
28 private static long makeGradient(int[] colors, float[] pos, TileMode tm, Matrix lm, in makeGradient() argument
30 if (colors.length != pos.length) { in makeGradient()
31 throw new IllegalArgumentException("Expecting equal-length colors and positions."); in makeGradient()
34 float[] fcolors = new float[colors.length * 4]; in makeGradient()
36 for (int i = 0; i < colors in makeGradient()
46 makeGradient(float[] colors, float[] pos, TileMode tm, Matrix lm, GradientFactory gf) makeGradient() argument
[all...]
H A DSweepGradient.java15 int[] colors, float[] pos, TileMode tm, in SweepGradient()
17 super(colors, pos, tm, localMatrix, in SweepGradient()
22 int[] colors, float[] pos, TileMode tm) throws IllegalArgumentException { in SweepGradient()
23 this(x, y, startAngle, endAngle, colors, pos, tm, null); in SweepGradient()
26 public SweepGradient(float x, float y, int[] colors, in SweepGradient() argument
28 this(x, y, 0, 360, colors, pos, TileMode.CLAMP, null); in SweepGradient()
32 float[] colors, float[] pos, TileMode tm, in SweepGradient()
34 super(colors, pos, tm, localMatrix, in SweepGradient()
39 float[] colors, float[] pos, TileMode tm) throws IllegalArgumentException { in SweepGradient()
40 this(x, y, startAngle, endAngle, colors, po in SweepGradient()
14 SweepGradient(float x, float y, float startAngle, float endAngle, int[] colors, float[] pos, TileMode tm, @Nullable Matrix localMatrix) SweepGradient() argument
21 SweepGradient(float x, float y, float startAngle, float endAngle, int[] colors, float[] pos, TileMode tm) SweepGradient() argument
31 SweepGradient(float x, float y, float startAngle, float endAngle, float[] colors, float[] pos, TileMode tm, @Nullable Matrix localMatrix) SweepGradient() argument
38 SweepGradient(float x, float y, float startAngle, float endAngle, float[] colors, float[] pos, TileMode tm) SweepGradient() argument
43 SweepGradient(float x, float y, float[] colors, float[] pos) SweepGradient() argument
48 nMakeSweep(float x, float y, float sa, float ea, float[] colors, float[] pos, int tilemode, long nativeLocalMatrix) nMakeSweep() argument
[all...]
H A DRadialGradient.java14 public RadialGradient(float x, float y, float r, int[] colors, float[] pos, TileMode tm, in RadialGradient() argument
16 super(colors, pos, tm, localMatrix, in RadialGradient()
20 public RadialGradient(float x, float y, float r, int[] colors, in RadialGradient() argument
22 this(x, y, r, colors, pos, tm, null); in RadialGradient()
25 public RadialGradient(float x, float y, float r, float[] colors, float[] pos, TileMode tm, in RadialGradient() argument
27 super(colors, pos, tm, localMatrix, in RadialGradient()
31 public RadialGradient(float x, float y, float r, float[] colors, in RadialGradient() argument
33 this(x, y, r, colors, pos, tm, null); in RadialGradient()
36 private static native long nMakeRadial(float x, float y, float r, float[] colors, float[] pos, in nMakeRadial() argument
H A DLinearGradient.java14 public LinearGradient(float x0, float y0, float x1, float y1, int[] colors, in LinearGradient() argument
17 super(colors, pos, tm, localMatrix, in LinearGradient()
21 public LinearGradient(float x0, float y0, float x1, float y1, int[] colors, in LinearGradient() argument
23 this(x0, y0, x1, y1, colors, pos, tm, null); in LinearGradient()
26 public LinearGradient(float x0, float y0, float x1, float y1, float[] colors, in LinearGradient() argument
29 super(colors, pos, tm, localMatrix, in LinearGradient()
33 public LinearGradient(float x0, float y0, float x1, float y1, float[] colors, in LinearGradient() argument
35 this(x0, y0, x1, y1, colors, pos, tm, null); in LinearGradient()
39 float[] colors, float[] pos, int tilemode, in nMakeLinear()
38 nMakeLinear(float x0, float y0, float x1, float y1, float[] colors, float[] pos, int tilemode, long nativeLocalMatrix) nMakeLinear() argument
H A DTwoPointConicalGradient.java15 int[] colors, float[] pos, TileMode tm, in TwoPointConicalGradient()
17 super(colors, pos, tm, localMatrix, in TwoPointConicalGradient()
22 int[] colors, float[] pos, in TwoPointConicalGradient()
24 this(x0, y0, r0, x1, y1, r1, colors, pos, tm, null); in TwoPointConicalGradient()
28 float[] colors, float[] pos, TileMode tm, in TwoPointConicalGradient()
30 super(colors, pos, tm, localMatrix, in TwoPointConicalGradient()
35 float[] colors, float[] pos, in TwoPointConicalGradient()
37 this(x0, y0, r0, x1, y1, r1, colors, pos, tm, null); in TwoPointConicalGradient()
42 float[] colors, float[] pos, int tilemode, in nMakeTwoPointConical()
14 TwoPointConicalGradient(float x0, float y0, float r0, float x1, float y1, float r1, int[] colors, float[] pos, TileMode tm, @Nullable Matrix localMatrix) TwoPointConicalGradient() argument
21 TwoPointConicalGradient(float x0, float y0, float r0, float x1, float y1, float r1, int[] colors, float[] pos, TileMode tm) TwoPointConicalGradient() argument
27 TwoPointConicalGradient(float x0, float y0, float r0, float x1, float y1, float r1, float[] colors, float[] pos, TileMode tm, @Nullable Matrix localMatrix) TwoPointConicalGradient() argument
34 TwoPointConicalGradient(float x0, float y0, float r0, float x1, float y1, float r1, float[] colors, float[] pos, TileMode tm) TwoPointConicalGradient() argument
40 nMakeTwoPointConical(float x0, float y0, float r0, float x1, float y1, float r1, float[] colors, float[] pos, int tilemode, long nativeLocalMatrix) nMakeTwoPointConical() argument
/third_party/skia/third_party/externals/harfbuzz/test/api/
H A Dtest-ot-color.c106 #define assert_color_rgba(colors, i, r, g, b, a) G_STMT_START { \
107 const hb_color_t *_colors = (colors); \
112 "colors[" #i "]", _colors[_i], "==", red, 'x'); \
116 "colors[" #i "]", _colors[_i], "==", green, 'x'); \
120 "colors[" #i "]", colors[_i], "==", blue, 'x'); \
124 "colors[" #i "]", _colors[_i], "==", alpha, 'x'); \
213 hb_color_t *colors = (hb_color_t*) malloc (num_colors * sizeof (hb_color_t)); in test_hb_ot_color_palette_get_colors_v0() local
214 size_t colors_size = num_colors * sizeof(*colors); in test_hb_ot_color_palette_get_colors_v0()
218 g_assert_cmpint (hb_ot_color_palette_get_colors (cpal_v0, 0, 0, &num_colors, colors), in test_hb_ot_color_palette_get_colors_v0()
263 hb_color_t colors[3]; test_hb_ot_color_palette_get_colors_v1() local
[all...]
/third_party/skia/gm/
H A Dverylargebitmap.cpp28 static void draw(SkCanvas* canvas, int width, int height, SkColor colors[2]) { in draw() argument
32 paint.setShader(SkGradientShader::MakeRadial(center, radius, colors, nullptr, 2, in draw()
38 static sk_sp<SkImage> make_raster_image(int width, int height, SkColor colors[2]) { in make_raster_image() argument
40 draw(surface->getCanvas(), width, height, colors); in make_raster_image()
44 static sk_sp<SkImage> make_picture_image(int width, int height, SkColor colors[2]) { in make_picture_image() argument
46 draw(recorder.beginRecording(SkRect::MakeIWH(width, height)), width, height, colors); in make_picture_image()
53 typedef sk_sp<SkImage> (*ImageMakerProc)(int width, int height, SkColor colors[2]);
55 static void show_image(SkCanvas* canvas, int width, int height, SkColor colors[2], in show_image() argument
57 sk_sp<SkImage> image(proc(width, height, colors)); in show_image()
103 SkColor colors[ variable
[all...]
H A Dpatch.cpp26 const SkColor colors[] = { in make_shader() local
32 return SkGradientShader::MakeLinear(pts, colors, nullptr, SK_ARRAY_COUNT(colors), in make_shader()
79 // The order of the colors and points is clockwise starting at upper-left corner.
96 static void dopatch(SkCanvas* canvas, const SkColor colors[], sk_sp<SkImage> img, in dopatch() argument
133 canvas->drawPatch(gCubics, colors, nullptr, modes[y], paint); in dopatch()
142 canvas->drawPatch(gCubics, colors, tex, modes[y], paint); in dopatch()
157 const SkColor colors[SkPatchUtils::kNumCorners] = { in DEF_SIMPLE_GM() local
160 dopatch(canvas, colors, nullptr, nullptr); in DEF_SIMPLE_GM()
163 const SkColor colors[SkPatchUtil in DEF_SIMPLE_GM() local
169 const SkColor colors[SkPatchUtils::kNumCorners] = { DEF_SIMPLE_GM() local
178 const SkColor colors[SkPatchUtils::kNumCorners] = { DEF_SIMPLE_GM() local
188 const SkColor colors[SkPatchUtils::kNumCorners] = { DEF_SIMPLE_GM() local
[all...]
H A Dshallowgradient.cpp24 static sk_sp<SkShader> shader_linear(const SkColor colors[], int count, const SkSize& size) { in shader_linear() argument
26 return SkGradientShader::MakeLinear(pts, colors, nullptr, count, SkTileMode::kClamp); in shader_linear()
29 static sk_sp<SkShader> shader_radial(const SkColor colors[], int count, const SkSize& size) { in shader_radial() argument
31 return SkGradientShader::MakeRadial(center, size.width()/2, colors, nullptr, count, in shader_radial()
35 static sk_sp<SkShader> shader_conical(const SkColor colors[], int count, const SkSize& size) { in shader_conical() argument
38 colors, nullptr, count, SkTileMode::kClamp); in shader_conical()
41 static sk_sp<SkShader> shader_sweep(const SkColor colors[], int count, const SkSize& size) { in shader_sweep() argument
42 return SkGradientShader::MakeSweep(size.width()/2, size.height()/2, colors, nullptr, count); in shader_sweep()
62 const SkColor colors[] = { 0xFF555555, 0xFF444444 }; variable
63 const int colorCount = SK_ARRAY_COUNT(colors);
[all...]
/third_party/mesa3d/src/freedreno/rnn/
H A Drnndec.c38 res->colors = &envy_null_colors; in rnndec_newcontext()
189 asprintf (&res, "%s%s%s", ctx->colors->eval, ctmp, ctx->colors->reset); in rnndec_decodeval()
215 ctx->colors->err : ctx->colors->mod; in rnndec_decodeval()
218 asprintf (&res, "%s%s%s", color, bitfields[i]->name, ctx->colors->reset); in rnndec_decodeval()
220 asprintf (&tmp, "%s | %s%s%s", res, color, bitfields[i]->name, ctx->colors->reset); in rnndec_decodeval()
232 asprintf (&subval, "%s%#"PRIx64"%s", ctx->colors->err, field_val, ctx->colors->reset); in rnndec_decodeval()
237 asprintf (&res, "%s%s%s = %s", ctx->colors in rnndec_decodeval()
[all...]
/third_party/skia/modules/sksg/src/
H A DSkSGGradient.cpp21 std::vector<SkColor4f> colors; in onRevalidateShader() local
23 colors.reserve(fColorStops.size()); in onRevalidateShader()
28 colors.push_back(stop.fColor); in onRevalidateShader()
34 return this->onMakeShader(colors, positions); in onRevalidateShader()
37 sk_sp<SkShader> LinearGradient::onMakeShader(const std::vector<SkColor4f>& colors, in onMakeShader() argument
39 SkASSERT(colors.size() == positions.size()); in onMakeShader()
42 return SkGradientShader::MakeLinear(pts, colors.data(), nullptr, positions.data(), in onMakeShader()
43 SkToInt(colors.size()), this->getTileMode()); in onMakeShader()
46 sk_sp<SkShader> RadialGradient::onMakeShader(const std::vector<SkColor4f>& colors, in onMakeShader() argument
48 SkASSERT(colors in onMakeShader()
[all...]
/third_party/skia/fuzz/
H A DFuzzGradients.cpp28 void initGradientParams(Fuzz* fuzz, std::vector<SkColor>* colors, in initGradientParams() argument
39 colors->clear(); in initGradientParams()
45 colors->push_back(c); in initGradientParams()
69 const std::vector<SkColor>& colors, in logLinearGradient()
82 SkDebugf(" colors:\t[ "); in logLinearGradient()
83 for (auto color : colors) { in logLinearGradient()
114 std::vector<SkColor> colors; in fuzzLinearGradient() local
117 initGradientParams(fuzz, &colors, &pos, &mode); in fuzzLinearGradient()
127 p.setShader(SkGradientShader::MakeLinear(pts, colors.data(), pos.data(), in fuzzLinearGradient()
128 colors in fuzzLinearGradient()
68 logLinearGradient(const SkPoint pts[2], const std::vector<SkColor>& colors, const std::vector<SkScalar> pos, SkTileMode mode, uint32_t flags, const SkMatrix* localMatrix, const SkMatrix* globalMatrix) logLinearGradient() argument
152 std::vector<SkColor> colors; fuzzRadialGradient() local
190 std::vector<SkColor> colors; fuzzTwoPointConicalGradient() local
224 std::vector<SkColor> colors; fuzzSweepGradient() local
[all...]
/third_party/skia/src/core/
H A DSkCompressedDataUtils.cpp101 IColor colors[2]; in decompress_etc1() local
104 colors[0].fR = extend_5To8bits(high >> 27); in decompress_etc1()
105 colors[1].fR = extend_5plus3To8Bits(high >> 27, high >> 24); in decompress_etc1()
106 colors[0].fG = extend_5To8bits(high >> 19); in decompress_etc1()
107 colors[1].fG = extend_5plus3To8Bits(high >> 19, high >> 16); in decompress_etc1()
108 colors[0].fB = extend_5To8bits(high >> 11); in decompress_etc1()
109 colors[1].fB = extend_5plus3To8Bits(high >> 11, high >> 8); in decompress_etc1()
111 colors[0].fR = extend_4To8bits(high >> 28); in decompress_etc1()
112 colors[1].fR = extend_4To8bits(high >> 24); in decompress_etc1()
113 colors[ in decompress_etc1()
187 SkPMColor colors[4]; decompress_bc1() local
[all...]
/third_party/node/lib/internal/assert/
H A Dassertion_error.js24 const colors = require('internal/util/colors');
107 const c = inspect.defaultOptions.colors;
169 actualLines[46] = `${colors.blue}...${colors.white}`;
182 end = `\n${colors.blue}...${colors.white}${end}`;
193 `\n${colors.green}+ actual${colors.white} ${colors
[all...]
/third_party/skia/tests/
H A DShaderOpacityTest.cpp53 SkColor colors[2]; in test_gradient() local
59 colors[0] = SkColorSetARGB(0xFF, 0, 0, 0); in test_gradient()
60 colors[1] = SkColorSetARGB(0xFF, 0, 0, 0); in test_gradient()
61 auto grad = SkGradientShader::MakeLinear(pts, colors, pos, count, mode); in test_gradient()
66 colors[0] = SkColorSetARGB(0, 0, 0, 0); in test_gradient()
67 colors[1] = SkColorSetARGB(0, 0, 0, 0); in test_gradient()
68 grad = SkGradientShader::MakeLinear(pts, colors, pos, count, mode); in test_gradient()
73 colors[0] = SkColorSetARGB(0xFF, 0, 0, 0); in test_gradient()
74 colors[1] = SkColorSetARGB(0x40, 0, 0, 0); in test_gradient()
75 grad = SkGradientShader::MakeLinear(pts, colors, po in test_gradient()
[all...]
H A DRuntimeBlendTest.cpp37 std::vector<SkColor> colors; in test_blend() local
57 colors.push_back(bitmap.getColor(/*x=*/0, /*y=*/0)); in test_blend()
60 REPORTER_ASSERT(r, nearly_equal(colors[0], colors[1]), in test_blend()
65 SkColorGetA(colors[0]), in test_blend()
66 SkColorGetR(colors[0]), in test_blend()
67 SkColorGetG(colors[0]), in test_blend()
68 SkColorGetB(colors[0]), in test_blend()
69 SkColorGetA(colors[1]), in test_blend()
70 SkColorGetR(colors[ in test_blend()
[all...]
/third_party/ffmpeg/libavcodec/
H A Dmsvideo1.c103 unsigned char colors[8]; in msvideo1_decode_8bit() local
144 colors[0] = s->buf[stream_ptr++]; in msvideo1_decode_8bit()
145 colors[1] = s->buf[stream_ptr++]; in msvideo1_decode_8bit()
149 pixels[pixel_ptr++] = colors[(flags & 0x1) ^ 1]; in msvideo1_decode_8bit()
157 memcpy(colors, &s->buf[stream_ptr], 8); in msvideo1_decode_8bit()
163 colors[((pixel_y & 0x2) << 1) + in msvideo1_decode_8bit()
169 colors[0] = byte_a; in msvideo1_decode_8bit()
173 pixels[pixel_ptr++] = colors[0]; in msvideo1_decode_8bit()
203 unsigned short colors[8]; in msvideo1_decode_16bit() local
244 colors[ in msvideo1_decode_16bit()
[all...]
/third_party/python/Lib/turtledemo/
H A Dpaint.py33 global colors
34 colors = colors[1:]+colors[:1]
35 color(colors[0])
38 global colors
43 colors=["red", "green", "blue", "yellow"]
44 color(colors[0])
/third_party/skia/src/shaders/gradients/
H A DSkGradientShader.cpp152 // check if we need to add in start and/or end position/colors in SkGradientShaderBase()
166 // Now copy over the colors, adding the dummies as needed in SkGradientShaderBase()
318 // Transform all of the colors to destination color space in onAppendStages()
466 // Transform our colors as we want them interpolated, in dst color space, possibly premul. in onProgram()
479 // Transform our colors into a scale factor f and bias b such that for in onProgram()
488 // 2-stop gradients have colors at 0 and 1, and so must be evenly spaced. in onProgram()
620 // TODO: use linear colors? in onAsLuminanceColor()
631 SkColor4fXformer::SkColor4fXformer(const SkColor4f* colors, int colorCount, in SkColor4fXformer() argument
633 fColors = colors; in SkColor4fXformer()
674 static bool valid_grad(const SkColor4f colors[], cons argument
679 desc_init(SkGradientShaderBase::Descriptor* desc, const SkColor4f colors[], sk_sp<SkColorSpace> colorSpace, const SkScalar pos[], int colorCount, SkTileMode mode, uint32_t flags, const SkMatrix* localMatrix) desc_init() argument
694 average_gradient_color(const SkColor4f colors[], const SkScalar pos[], int colorCount) average_gradient_color() argument
752 make_degenerate_gradient(const SkColor4f colors[], const SkScalar pos[], int colorCount, sk_sp<SkColorSpace> colorSpace, SkTileMode mode) make_degenerate_gradient() argument
843 MakeLinear(const SkPoint pts[2], const SkColor colors[], const SkScalar pos[], int colorCount, SkTileMode mode, uint32_t flags, const SkMatrix* localMatrix) MakeLinear() argument
854 MakeLinear(const SkPoint pts[2], const SkColor4f colors[], sk_sp<SkColorSpace> colorSpace, const SkScalar pos[], int colorCount, SkTileMode mode, uint32_t flags, const SkMatrix* localMatrix) MakeLinear() argument
890 MakeRadial(const SkPoint& center, SkScalar radius, const SkColor colors[], const SkScalar pos[], int colorCount, SkTileMode mode, uint32_t flags, const SkMatrix* localMatrix) MakeRadial() argument
901 MakeRadial(const SkPoint& center, SkScalar radius, const SkColor4f colors[], sk_sp<SkColorSpace> colorSpace, const SkScalar pos[], int colorCount, SkTileMode mode, uint32_t flags, const SkMatrix* localMatrix) MakeRadial() argument
934 MakeTwoPointConical(const SkPoint& start, SkScalar startRadius, const SkPoint& end, SkScalar endRadius, const SkColor colors[], const SkScalar pos[], int colorCount, SkTileMode mode, uint32_t flags, const SkMatrix* localMatrix) MakeTwoPointConical() argument
949 MakeTwoPointConical(const SkPoint& start, SkScalar startRadius, const SkPoint& end, SkScalar endRadius, const SkColor4f colors[], sk_sp<SkColorSpace> colorSpace, const SkScalar pos[], int colorCount, SkTileMode mode, uint32_t flags, const SkMatrix* localMatrix) MakeTwoPointConical() argument
1010 MakeSweep(SkScalar cx, SkScalar cy, const SkColor colors[], const SkScalar pos[], int colorCount, SkTileMode mode, SkScalar startAngle, SkScalar endAngle, uint32_t flags, const SkMatrix* localMatrix) MakeSweep() argument
1024 MakeSweep(SkScalar cx, SkScalar cy, const SkColor4f colors[], sk_sp<SkColorSpace> colorSpace, const SkScalar pos[], int colorCount, SkTileMode mode, SkScalar startAngle, SkScalar endAngle, uint32_t flags, const SkMatrix* localMatrix) MakeSweep() argument
[all...]
/third_party/skia/modules/canvaskit/
H A Dmemory.js149 // Copies an array of colors to wasm, returning an object with the pointer
150 // and info necessary to use the copied colors.
155 function copyFlexibleColorArray(colors) {
158 count: colors.length,
161 if (colors instanceof Float32Array) {
162 result.colorPtr = copy1dArray(colors, 'HEAPF32');
163 result.count = colors.length / 4;
165 } else if (colors instanceof Uint32Array) {
166 result.colorPtr = copy1dArray(colors, 'HEAPU32');
169 } else if (colors instanceo
[all...]
/third_party/backends/backend/
H A Dpieusb_buffer.c63 * the buffer based on width, height, number of colors and depth. The buffer
115 * @param colors bitmap specifying the colors in the scanned data (bitmap: 0000 IBGR)
131 buffer->colors = 0; in sanei_pieusb_buffer_create()
132 if (color_spec & 0x01) { buffer->color_index_red = 0; buffer->colors++; } else { buffer->color_index_red = -1; } in sanei_pieusb_buffer_create()
133 if (color_spec & 0x02) { buffer->color_index_green = 1; buffer->colors++; } else { buffer->color_index_green = -1; } in sanei_pieusb_buffer_create()
134 if (color_spec & 0x04) { buffer->color_index_blue = 2; buffer->colors++; } else { buffer->color_index_blue = -1; } in sanei_pieusb_buffer_create()
135 if (color_spec & 0x08) { buffer->color_index_infrared = 3; buffer->colors++; } else { buffer->color_index_infrared = -1; } in sanei_pieusb_buffer_create()
136 if (buffer->colors == 0) { in sanei_pieusb_buffer_create()
137 DBG(DBG_error, "sanei_pieusb_buffer_create(): no colors specifie in sanei_pieusb_buffer_create()
[all...]

Completed in 12 milliseconds

12345678910>>...22