Home
last modified time | relevance | path

Searched refs:BlendMode (Results 1 – 25 of 71) sorted by relevance

123

/third_party/skia/modules/canvaskit/htmlcanvas/
Dcanvas2dcontext.js25 this._globalCompositeOperation = CanvasKit.BlendMode.SrcOver;
131 case CanvasKit.BlendMode.SrcOver:
133 case CanvasKit.BlendMode.DstOver:
135 case CanvasKit.BlendMode.Src:
137 case CanvasKit.BlendMode.Dst:
139 case CanvasKit.BlendMode.Clear:
141 case CanvasKit.BlendMode.SrcIn:
143 case CanvasKit.BlendMode.DstIn:
145 case CanvasKit.BlendMode.SrcOut:
147 case CanvasKit.BlendMode.DstOut:
[all …]
/third_party/flutter/skia/modules/canvaskit/htmlcanvas/
Dcanvas2dcontext.js24 this._globalCompositeOperation = CanvasKit.BlendMode.SrcOver;
133 case CanvasKit.BlendMode.SrcOver:
135 case CanvasKit.BlendMode.DstOver:
137 case CanvasKit.BlendMode.Src:
139 case CanvasKit.BlendMode.Dst:
141 case CanvasKit.BlendMode.Clear:
143 case CanvasKit.BlendMode.SrcIn:
145 case CanvasKit.BlendMode.DstIn:
147 case CanvasKit.BlendMode.SrcOut:
149 case CanvasKit.BlendMode.DstOut:
[all …]
/third_party/skia/modules/canvaskit/npm_build/types/
Dindex.d.ts428 readonly BlendMode: BlendModeEnumValues; property
1123 blendMode?: BlendMode | null, colors?: ColorIntArray | null,
1140 drawColor(color: InputColor, blendMode?: BlendMode): void;
1150 drawColorComponents(r: number, g: number, b: number, a: number, blendMode?: BlendMode): void;
1157 drawColorInt(color: ColorInt, blendMode?: BlendMode): void;
1323 mode?: BlendMode | null,
1416 drawVertices(verts: Vertices, mode: BlendMode, paint: Paint): void;
1960 setBlendMode(mode: BlendMode): void;
3135 MakeBlend(color: InputColor, mode: BlendMode): ColorFilter;
3363 MakeBlend(mode: BlendMode, one: Shader, two: Shader): Shader;
[all …]
Dcanvaskit-wasm-tests.ts99 CK.BlendMode.Darken,
107 canvas.drawColor(someColor, CK.BlendMode.ColorDodge);
109 canvas.drawColorComponents(0.2, 1.0, -0.02, 0.5, CK.BlendMode.ColorDodge);
111 canvas.drawColorInt(CK.ColorAsInt(100, 110, 120), CK.BlendMode.ColorDodge);
135 canvas.drawPatch(cubics, colors, null, CK.BlendMode.Clear, paint);
137 canvas.drawPatch(cubics, colors, texs, CK.BlendMode.SrcOver, paint);
149 canvas.drawVertices(verts, CK.BlendMode.DstOut, paint);
223 const filterOne = cf.MakeBlend(CK.CYAN, CK.BlendMode.ColorBurn); // $ExpectType ColorFilter
399 paint.setBlendMode(CK.BlendMode.DstOut);
723 const s2 = CK.Shader.MakeBlend(CK.BlendMode.Src, s1, s1); // $ExpectType Shader
/third_party/flutter/engine/flutter/lib/web_ui/lib/src/engine/
Dbitmap_canvas.dart418 void drawColor(ui.Color color, ui.BlendMode blendMode) {
908 String _stringForBlendMode(ui.BlendMode blendMode) {
913 case ui.BlendMode.srcOver:
915 case ui.BlendMode.srcIn:
917 case ui.BlendMode.srcOut:
919 case ui.BlendMode.srcATop:
921 case ui.BlendMode.dstOver:
923 case ui.BlendMode.dstIn:
925 case ui.BlendMode.dstOut:
927 case ui.BlendMode.dstATop:
[all …]
/third_party/skia/platform_tools/android/apps/AndroidKit/src/main/java/org/skia/androidkit/
DBlendMode.java10 public enum BlendMode { enum
41 BlendMode(int nativeInt) { in BlendMode() method in BlendMode
DImageFilter.java78 public static ImageFilter blend(BlendMode blendMode, @Nullable ImageFilter background, in blend()
/third_party/flutter/flutter/packages/flutter/test/rendering/
Dproxy_getters_and_setters_test.dart60 expect(box.blendMode, BlendMode.modulate);
61 box.blendMode = BlendMode.colorBurn;
62 expect(box.blendMode, BlendMode.colorBurn);
Dimage_test.dart228 image.colorBlendMode = BlendMode.color;
229 expect(image.colorBlendMode, BlendMode.color);
Dlayers_test.dart307 colorFilter: const ColorFilter.mode(Color(0xFFFF0000), BlendMode.color),
310 layer.colorFilter = const ColorFilter.mode(Color(0xFF00FF00), BlendMode.color);
317 …MaskLayer layer = ShaderMaskLayer(shader: shader, maskRect: Rect.zero, blendMode: BlendMode.clear);
322 layer.blendMode = BlendMode.color;
/third_party/ffmpeg/libavfilter/
Dblend.h27 enum BlendMode { enum
66 enum BlendMode mode;
/third_party/flutter/flutter/packages/flutter/lib/src/rendering/
Dimage.dart33 BlendMode colorBlendMode,
137 _colorFilter = ColorFilter.mode(_color, _colorBlendMode ?? BlendMode.srcIn);
168 /// The default is [BlendMode.srcIn]. In terms of the blend mode, [color] is
173 /// * [BlendMode], which includes an illustration of the effect of each blend mode.
174 BlendMode get colorBlendMode => _colorBlendMode;
175 BlendMode _colorBlendMode;
176 set colorBlendMode(BlendMode value) {
381 properties.add(EnumProperty<BlendMode>('colorBlendMode', colorBlendMode, defaultValue: null));
/third_party/skia/modules/canvaskit/tests/
Dcanvas.spec.js247 CanvasKit.BLUE, CanvasKit.BlendMode.SrcIn);
249 CanvasKit.Color(255, 0, 0, 0.8), CanvasKit.BlendMode.SrcOver);
287 const blendModeNames = Object.keys(CanvasKit.BlendMode).filter((key) => key !== 'values');
311 const blendMode = CanvasKit.BlendMode[blendModeName];
351 function drawRectangle(x1, y1, x2, y2, color, blendMode=CanvasKit.BlendMode.srcOver) {
393 canvas.drawColorComponents(250/255, 30/255, 240/255, 0.9, CanvasKit.BlendMode.SrcOver);
398 canvas.drawColorInt(CanvasKit.ColorAsInt(200, 200, 200, 255), CanvasKit.BlendMode.SrcOver);
701 canvas.drawVertices(vertices, CanvasKit.BlendMode.Src, paint);
720 canvas.drawVertices(vertices, CanvasKit.BlendMode.Src, paint);
745 canvas.drawVertices(vertices, CanvasKit.BlendMode.Src, paint);
/third_party/flutter/flutter/packages/flutter/test/widgets/
Dcolor_filter_test.dart14 colorFilter: ColorFilter.mode(Colors.red, BlendMode.color),
74 colorFilter: ColorFilter.mode(color, BlendMode.color),
Dinvert_colors_test.dart37 filter: ColorFilter.mode(Color.fromRGBO(0, 255, 0, 0.5), BlendMode.plus),
/third_party/vk-gl-cts/framework/referencerenderer/
DrrRenderState.hpp119 enum BlendMode enum
255 BlendMode blendMode;
/third_party/flutter/skia/experimental/pvg/
Ddraw_msg.proto51 enum BlendMode { enum
74 BlendMode blend_mode = 3;
/third_party/skia/experimental/pvg/
Ddraw_msg.proto51 enum BlendMode { enum
74 BlendMode blend_mode = 3;
/third_party/flutter/engine/flutter/testing/dart/
Dcanvas_test.dart53 …anvas) => canvas.drawAtlas(image, <RSTransform>[], <Rect>[], <Color>[], BlendMode.src, rect, paint…
55 testCanvas((Canvas canvas) => canvas.drawColor(color, BlendMode.src));
67 …anvas.drawRawAtlas(image, Float32List(0), Float32List(0), Int32List(0), BlendMode.src, rect, paint…
/third_party/skia/modules/sksg/include/
DSkSGPaint.h32 SG_ATTRIBUTE(BlendMode , SkBlendMode , fBlendMode )
/third_party/skia/modules/androidkit/src/
DUtils.cpp36 SkBlendMode BlendMode(jint bm) { in BlendMode() function
DUtils.h101 SkBlendMode BlendMode(jint);
DImageFilter.cpp54 …auto filter = SkImageFilters::Blend(androidkit::utils::BlendMode(bm), std::move(bg), std::move(fg)… in ImageFilter_Blend()
/third_party/flutter/skia/modules/sksg/include/
DSkSGPaint.h32 SG_ATTRIBUTE(BlendMode , SkBlendMode , fBlendMode )
/third_party/flutter/flutter/packages/flutter/test/painting/
Dborder_side_test.dart117 expect(paint1.blendMode, BlendMode.srcOver);
122 expect(paint2.blendMode, BlendMode.srcOver);

123