Home
last modified time | relevance | path

Searched refs:pathEffectHandle (Results 1 – 8 of 8) sorted by relevance

/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/drawing_ndk/src/
H A Ddrawing_path_effect.cpp36 NativeHandle<PathEffect>* pathEffectHandle = new NativeHandle<PathEffect>; in OH_Drawing_CreateDashPathEffect() local
37 pathEffectHandle->value = PathEffect::CreateDashPathEffect(intervals, count, phase); in OH_Drawing_CreateDashPathEffect()
38 if (pathEffectHandle->value == nullptr) { in OH_Drawing_CreateDashPathEffect()
39 delete pathEffectHandle; in OH_Drawing_CreateDashPathEffect()
42 return Helper::CastTo<NativeHandle<PathEffect>*, OH_Drawing_PathEffect*>(pathEffectHandle); in OH_Drawing_CreateDashPathEffect()
H A Ddrawing_pen.cpp305 …auto pathEffectHandle = Helper::CastTo<OH_Drawing_PathEffect*, NativeHandle<PathEffect>*>(cPathEff… in OH_Drawing_PenSetPathEffect() local
306 pen->SetPathEffect(pathEffectHandle->value); in OH_Drawing_PenSetPathEffect()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include/recording/
H A Drecording_handle.h106 FlattenableHandle pathEffectHandle; member
128 FlattenableHandle pathEffectHandle; member
H A Dcmd_list_helper.h212 const FlattenableHandle& pathEffectHandle);
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/recording/
H A Dcmd_list_helper.cpp673 const FlattenableHandle& pathEffectHandle) in GetPathEffectFromCmdList() argument
675 if (pathEffectHandle.size == 0) { in GetPathEffectFromCmdList()
679 const void* ptr = cmdList.GetImageData(pathEffectHandle.offset, pathEffectHandle.size); in GetPathEffectFromCmdList()
685 pathEffectData->BuildWithoutCopy(ptr, pathEffectHandle.size); in GetPathEffectFromCmdList()
687 (static_cast<PathEffect::PathEffectType>(pathEffectHandle.type)); in GetPathEffectFromCmdList()
H A Dmask_cmd_list.cpp188 auto pathEffect = CmdListHelper::GetPathEffectFromCmdList(cmdList, penHandle_.pathEffectHandle); in Playback()
H A Ddraw_cmd.cpp235 if (paintHandle.pathEffectHandle.size) { in GeneratePaintFromHandle()
236 … auto pathEffect = CmdListHelper::GetPathEffectFromCmdList(cmdList, paintHandle.pathEffectHandle); in GeneratePaintFromHandle()
279 …paintHandle.pathEffectHandle = CmdListHelper::AddPathEffectToCmdList(cmdList, paint.GetPathEffect(… in GenerateHandleFromPaint()
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/recording/
H A Ddraw_cmd_test.cpp126 paintHandle.pathEffectHandle.size = 1;