Home
last modified time | relevance | path

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

123

/external/pdfium/core/fpdfapi/page/
Dcpdf_generalstate.cpp28 BlendMode GetBlendTypeInternal(const ByteString& mode) { in GetBlendTypeInternal()
32 return BlendMode::kNormal; in GetBlendTypeInternal()
34 return BlendMode::kMultiply; in GetBlendTypeInternal()
36 return BlendMode::kScreen; in GetBlendTypeInternal()
38 return BlendMode::kOverlay; in GetBlendTypeInternal()
40 return BlendMode::kDarken; in GetBlendTypeInternal()
42 return BlendMode::kLighten; in GetBlendTypeInternal()
45 return BlendMode::kColorDodge; in GetBlendTypeInternal()
47 return BlendMode::kColorBurn; in GetBlendTypeInternal()
48 return BlendMode::kColor; in GetBlendTypeInternal()
[all …]
Dcpdf_pageobjectholder_unittest.cpp21 for (BlendMode c3 : {BlendMode::kMultiply, BlendMode::kScreen}) in TEST()
30 for (BlendMode c3 : {BlendMode::kScreen, BlendMode::kMultiply}) { in TEST()
59 for (BlendMode c3 : {BlendMode::kMultiply, BlendMode::kScreen}) { in TEST()
Dcpdf_generalstate.h32 BlendMode GetBlendType() const;
33 void SetBlendType(BlendMode type);
89 BlendMode m_BlendType = BlendMode::kNormal;
/external/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 …]
/external/skqp/experimental/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 …]
/external/pdfium/core/fxge/win32/
Dwin32_int.h98 BlendMode blend_type) override;
101 BlendMode blend_type) override;
105 BlendMode blend_type) override;
153 BlendMode blend_type) override;
162 BlendMode blend_type) override;
169 BlendMode blend_type) override;
193 BlendMode blend_type) override;
202 BlendMode blend_type) override;
209 BlendMode blend_type) override;
249 BlendMode blend_type) override;
[all …]
Dfx_win32_print.cpp79 BlendMode blend_type) { in SetDIBits()
86 FXDIB_ResampleOptions(), BlendMode::kNormal); in SetDIBits()
90 ASSERT(blend_type == BlendMode::kNormal); in SetDIBits()
110 BlendMode blend_type) { in StretchDIBits()
171 BlendMode blend_type) { in StartDIBits()
451 BlendMode blend_type) { in DrawPath()
452 if (blend_type != BlendMode::kNormal) in DrawPath()
468 BlendMode blend_type) { in SetDIBits()
469 if (blend_type != BlendMode::kNormal) in SetDIBits()
482 BlendMode blend_type) { in StretchDIBits()
[all …]
Dfx_win32_device.cpp960 BlendMode blend_type) { in DrawPath()
961 if (blend_type != BlendMode::kNormal) in DrawPath()
976 fill_color, BlendMode::kNormal); in DrawPath()
981 BlendMode::kNormal); in DrawPath()
1062 BlendMode blend_type) { in FillRectWithBlend()
1063 if (blend_type != BlendMode::kNormal) in FillRectWithBlend()
1125 BlendMode blend_type) { in DrawCosmeticLine()
1126 if (blend_type != BlendMode::kNormal) in DrawCosmeticLine()
1206 BlendMode blend_type) { in SetDIBits()
1207 ASSERT(blend_type == BlendMode::kNormal); in SetDIBits()
[all …]
/external/pdfium/core/fxge/
Dcfx_renderdevice.h85 stroke_color, fill_mode, BlendMode::kNormal); in DrawPath()
93 BlendMode blend_type);
95 return FillRectWithBlend(rect, color, BlendMode::kNormal); in FillRect()
101 return SetDIBitsWithBlend(pBitmap, left, top, BlendMode::kNormal); in SetDIBits()
106 BlendMode blend_mode);
114 BlendMode::kNormal); in StretchDIBits()
122 BlendMode blend_mode);
147 handle, BlendMode::kNormal); in StartDIBits()
155 BlendMode blend_mode);
219 BlendMode blend_type);
[all …]
Drenderdevicedriver_iface.h60 BlendMode blend_type) = 0;
64 BlendMode blend_type);
68 BlendMode blend_type);
80 BlendMode blend_type) = 0;
89 BlendMode blend_type) = 0;
96 BlendMode blend_type) = 0;
117 BlendMode blend_type);
Drenderdevicedriver_iface.cpp36 BlendMode blend_type) { in FillRectWithBlend()
43 BlendMode blend_type) { in DrawCosmeticLine()
91 BlendMode blend_type) { in SetBitsWithMask()
Dcfx_renderdevice.cpp513 BlendMode blend_type) { in DrawPathWithBlend()
621 BlendMode blend_type) { in DrawFillStrokePath()
668 BlendMode::kNormal); in DrawFillStrokePath()
673 BlendMode blend_type) { in FillRectWithBlend()
693 BlendMode::kNormal); in FillRectWithBlend()
701 BlendMode blend_type) { in DrawCosmeticLine()
728 BlendMode blend_mode) { in SetDIBitsWithBlend()
739 if ((blend_mode == BlendMode::kNormal || (m_RenderCaps & FXRC_BLEND_MODE)) && in SetDIBitsWithBlend()
765 dest_rect.top, BlendMode::kNormal); in SetDIBitsWithBlend()
775 BlendMode blend_mode) { in StretchDIBitsWithFlagsAndBlend()
[all …]
/external/pdfium/core/fxge/skia/
Dfx_skia_device.h67 BlendMode blend_type) override;
71 BlendMode blend_type) override;
77 BlendMode blend_type) override;
93 BlendMode blend_type) override;
100 BlendMode blend_type) override;
115 BlendMode blend_type) override;
123 BlendMode blend_type) override;
132 BlendMode blend_type);
Dfx_skia_device.cpp350 SkBlendMode GetSkiaBlendMode(BlendMode blend_type) { in GetSkiaBlendMode()
352 case BlendMode::kMultiply: in GetSkiaBlendMode()
354 case BlendMode::kScreen: in GetSkiaBlendMode()
356 case BlendMode::kOverlay: in GetSkiaBlendMode()
358 case BlendMode::kDarken: in GetSkiaBlendMode()
360 case BlendMode::kLighten: in GetSkiaBlendMode()
362 case BlendMode::kColorDodge: in GetSkiaBlendMode()
364 case BlendMode::kColorBurn: in GetSkiaBlendMode()
366 case BlendMode::kHardLight: in GetSkiaBlendMode()
368 case BlendMode::kSoftLight: in GetSkiaBlendMode()
[all …]
/external/skia/modules/canvaskit/npm_build/types/
Dindex.d.ts432 readonly BlendMode: BlendModeEnumValues; property
1119 blendMode?: BlendMode | null, colors?: ColorIntArray | null,
1136 drawColor(color: InputColor, blendMode?: BlendMode): void;
1146 drawColorComponents(r: number, g: number, b: number, a: number, blendMode?: BlendMode): void;
1153 drawColorInt(color: ColorInt, blendMode?: BlendMode): void;
1330 mode?: BlendMode | null,
1423 drawVertices(verts: Vertices, mode: BlendMode, paint: Paint): void;
1914 getBlendMode(): BlendMode;
1960 setBlendMode(mode: BlendMode): void;
3067 MakeBlend(color: InputColor, mode: BlendMode): ColorFilter;
[all …]
/external/pdfium/core/fxge/dib/
Dcfx_scanlinecompositor.cpp48 int Blend(BlendMode blend_mode, int back_color, int src_color) { in Blend()
50 case BlendMode::kNormal: in Blend()
52 case BlendMode::kMultiply: in Blend()
54 case BlendMode::kScreen: in Blend()
56 case BlendMode::kOverlay: in Blend()
57 return Blend(BlendMode::kHardLight, src_color, back_color); in Blend()
58 case BlendMode::kDarken: in Blend()
60 case BlendMode::kLighten: in Blend()
62 case BlendMode::kColorDodge: { in Blend()
68 case BlendMode::kColorBurn: { in Blend()
[all …]
Dcfx_scanlinecompositor.h25 BlendMode blend_type,
72 BlendMode m_BlendType = BlendMode::kNormal;
Dcfx_bitmapcomposer.h36 BlendMode blend_type);
74 BlendMode m_BlendType = BlendMode::kNormal;
Dcfx_imagerenderer.cpp52 BlendMode::kNormal); in CFX_ImageRenderer()
79 false, false, false, m_bRgbByteOrder, BlendMode::kNormal); in CFX_ImageRenderer()
106 BlendMode::kNormal, m_pClipRgn.Get(), m_bRgbByteOrder); in Continue()
113 BlendMode::kNormal, m_pClipRgn.Get(), m_bRgbByteOrder); in Continue()
/external/pdfium/core/fxge/agg/
Dfx_agg_driver.h62 BlendMode blend_type) override;
66 BlendMode blend_type) override;
77 BlendMode blend_type) override;
86 BlendMode blend_type) override;
93 BlendMode blend_type) override;
/external/pdfium/core/fpdfapi/render/
Dcpdf_imagerenderer.h38 BlendMode blendType);
47 BlendMode blendType);
97 BlendMode m_BlendType = BlendMode::kNormal;
Dcpdf_renderstatus.h120 BlendMode blend_mode,
206 BlendMode m_curBlend = BlendMode::kNormal;
/external/pdfium/testing/fuzzers/
Dpdf_scanlinecompositor_fuzzer.cc34 BlendMode blend_mode = static_cast<BlendMode>( in LLVMFuzzerTestOneInput()
35 data[28] % (static_cast<int>(BlendMode::kLast) + 1)); in LLVMFuzzerTestOneInput()
/external/skqp/experimental/nima/
DNimaActor.cpp289 case nima::BlendMode::Off: { in drawVerticesObject()
293 case nima::BlendMode::Normal: { in drawVerticesObject()
297 case nima::BlendMode::Additive: { in drawVerticesObject()
301 case nima::BlendMode::Multiply: { in drawVerticesObject()
305 case nima::BlendMode::Screen: { in drawVerticesObject()
/external/pdfium/xfa/fxfa/
Dcxfa_imagerenderer.cpp67 BlendMode::kNormal)) { in Start()
108 BlendMode::kNormal); in Continue()
139 m_pDevice->SetDIBitsWithBlend(pDIBitmap, left, top, BlendMode::kNormal); in CompositeDIBitmap()

123