Home
last modified time | relevance | path

Searched refs:parseColor (Results 1 – 13 of 13) sorted by relevance

/third_party/skia/modules/canvaskit/tests/
Dcanvas2d.spec.js31 const parseColor = CanvasKit.parseColorString; constant
32 expectColorCloseTo(parseColor('#FED'),
34 expectColorCloseTo(parseColor('#FEDC'),
36 expectColorCloseTo(parseColor('#fed'),
38 expectColorCloseTo(parseColor('#fedc'),
42 const parseColor = CanvasKit.parseColorString; constant
43 expectColorCloseTo(parseColor('rgba(117, 33, 64, 0.75)'),
45 expectColorCloseTo(parseColor('rgb(117, 33, 64, 0.75)'),
47 expectColorCloseTo(parseColor('rgba(117,33,64)'),
49 expectColorCloseTo(parseColor('rgb(117,33, 64)'),
[all …]
/third_party/flutter/skia/modules/canvaskit/tests/
Dcanvas2d.spec.js24 const parseColor = CanvasKit._testing.parseColor;
25 expect(parseColor('#FED')).toEqual(
27 expect(parseColor('#FEDC')).toEqual(
29 expect(parseColor('#fed')).toEqual(
31 expect(parseColor('#fedc')).toEqual(
38 const parseColor = CanvasKit._testing.parseColor;
39 expect(parseColor('rgba(117, 33, 64, 0.75)')).toEqual(
41 expect(parseColor('rgb(117, 33, 64, 0.75)')).toEqual(
43 expect(parseColor('rgba(117,33,64)')).toEqual(
45 expect(parseColor('rgb(117,33, 64)')).toEqual(
[all …]
/third_party/flutter/skia/modules/canvaskit/htmlcanvas/
Dcolor.js41 function parseColor(colorStr) { function
95 CanvasKit._testing['parseColor'] = parseColor;
Dlineargradient.js12 color = parseColor(color);
Dradialgradient.js15 color = parseColor(color);
Dcanvas2dcontext.js88 this._fillStyle = parseColor(newStyle);
446 this._shadowColor = parseColor(newColor);
483 this._strokeStyle = parseColor(newStyle);
/third_party/skia/modules/canvaskit/htmlcanvas/
Dcolor.js184 function parseColor(colorStr) { function
188 CanvasKit._testing['parseColor'] = parseColor;
Dlineargradient.js12 color = parseColor(color);
Dradialgradient.js15 color = parseColor(color);
Dcanvas2dcontext.js86 this._fillStyle = parseColor(newStyle);
427 this._shadowColor = parseColor(newColor);
464 this._strokeStyle = parseColor(newStyle);
/third_party/flutter/skia/experimental/svg/model/
DSkSVGAttributeParser.h18 bool parseColor(SkSVGColorType*);
DSkSVGAttributeParser.cpp184 bool SkSVGAttributeParser::parseColor(SkSVGColorType* color) { in parseColor() function in SkSVGAttributeParser
427 if (this->parseColor(&c)) { in parsePaint()
DSkSVGDOM.cpp54 if (!parser.parseColor(&color)) { in SetColorAttribute()