Searched refs:parseColor (Results 1 – 13 of 13) sorted by relevance
/third_party/skia/modules/canvaskit/tests/ |
D | canvas2d.spec.js | 31 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/ |
D | canvas2d.spec.js | 24 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/ |
D | color.js | 41 function parseColor(colorStr) { function 95 CanvasKit._testing['parseColor'] = parseColor;
|
D | lineargradient.js | 12 color = parseColor(color);
|
D | radialgradient.js | 15 color = parseColor(color);
|
D | canvas2dcontext.js | 88 this._fillStyle = parseColor(newStyle); 446 this._shadowColor = parseColor(newColor); 483 this._strokeStyle = parseColor(newStyle);
|
/third_party/skia/modules/canvaskit/htmlcanvas/ |
D | color.js | 184 function parseColor(colorStr) { function 188 CanvasKit._testing['parseColor'] = parseColor;
|
D | lineargradient.js | 12 color = parseColor(color);
|
D | radialgradient.js | 15 color = parseColor(color);
|
D | canvas2dcontext.js | 86 this._fillStyle = parseColor(newStyle); 427 this._shadowColor = parseColor(newColor); 464 this._strokeStyle = parseColor(newStyle);
|
/third_party/flutter/skia/experimental/svg/model/ |
D | SkSVGAttributeParser.h | 18 bool parseColor(SkSVGColorType*);
|
D | SkSVGAttributeParser.cpp | 184 bool SkSVGAttributeParser::parseColor(SkSVGColorType* color) { in parseColor() function in SkSVGAttributeParser 427 if (this->parseColor(&c)) { in parsePaint()
|
D | SkSVGDOM.cpp | 54 if (!parser.parseColor(&color)) { in SetColorAttribute()
|