Home
last modified time | relevance | path

Searched refs:cBlendMode (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/drawing_ndk/src/
H A Ddrawing_brush.cpp191 void OH_Drawing_BrushSetBlendMode(OH_Drawing_Brush* cBrush, OH_Drawing_BlendMode cBlendMode) in OH_Drawing_BrushSetBlendMode() argument
198 if (cBlendMode < BLEND_MODE_CLEAR || cBlendMode > BLEND_MODE_LUMINOSITY) { in OH_Drawing_BrushSetBlendMode()
202 brush->SetBlendMode(static_cast<BlendMode>(cBlendMode)); in OH_Drawing_BrushSetBlendMode()
H A Ddrawing_color_filter.cpp37 …ColorFilter* OH_Drawing_ColorFilterCreateBlendMode(uint32_t color, OH_Drawing_BlendMode cBlendMode) in OH_Drawing_ColorFilterCreateBlendMode() argument
40 static_cast<BlendMode>(cBlendMode)); in OH_Drawing_ColorFilterCreateBlendMode()
H A Ddrawing_pen.cpp350 void OH_Drawing_PenSetBlendMode(OH_Drawing_Pen* cPen, OH_Drawing_BlendMode cBlendMode) in OH_Drawing_PenSetBlendMode() argument
352 if (cBlendMode < BLEND_MODE_CLEAR || cBlendMode > BLEND_MODE_LUMINOSITY) { in OH_Drawing_PenSetBlendMode()
361 pen->SetBlendMode(static_cast<BlendMode>(cBlendMode)); in OH_Drawing_PenSetBlendMode()
H A Ddrawing_canvas.cpp858 OH_Drawing_BlendMode cBlendMode) in OH_Drawing_CanvasDrawColor() argument
865 if (cBlendMode < BLEND_MODE_CLEAR || cBlendMode > BLEND_MODE_LUMINOSITY) { in OH_Drawing_CanvasDrawColor()
869 canvas->DrawColor(color, static_cast<BlendMode>(cBlendMode)); in OH_Drawing_CanvasDrawColor()
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/ndk/ndkpen_fuzzer/
H A Dpen_fuzzer.cpp131 uint32_t cBlendMode = GetObject<uint32_t>(); in PenFuzzTest002() local
151 …OH_Drawing_PenSetBlendMode(nullptr, static_cast<OH_Drawing_BlendMode>(cBlendMode % PATH_TWENTY_NI… in PenFuzzTest002()
152 …OH_Drawing_PenSetBlendMode(pen, static_cast<OH_Drawing_BlendMode>(cBlendMode % PATH_TWENTY_NINE)); in PenFuzzTest002()