Home
last modified time | relevance | path

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

/base/useriam/fingerprint_auth/services_ex/src/
Dsensor_illumination_task.cpp105 ResultCode DrawCanvas(std::shared_ptr<RSPaintFilterCanvas> canvas, const CanvasParam &param) in DrawCanvas() argument
107 IF_FALSE_LOGE_AND_RETURN_VAL(canvas != nullptr, ResultCode::GENERAL_ERROR); in DrawCanvas()
110 canvas->clear(SkColorSetARGB(param.alpha, 0x00, 0x00, 0x00)); in DrawCanvas()
117 canvas->drawCircle(SkPoint::Make(param.centerXInPx, param.centerYInPy), param.radius, paint); in DrawCanvas()
119 canvas->Clear(Drawing::Color::ColorQuadSetARGB(0x00, 0x00, 0x00, param.alpha)); in DrawCanvas()
125 canvas->AttachBrush(brush); in DrawCanvas()
126 canvas->DrawCircle(Drawing::Point(param.centerXInPx, param.centerYInPy), param.radius); in DrawCanvas()
127 canvas->DetachBrush(); in DrawCanvas()
256 auto canvas = Common::MakeShared<RSPaintFilterCanvas>(skSurface.get()); in DrawSurfaceNode() local
257 IF_FALSE_LOGE_AND_RETURN_VAL(canvas != nullptr, ResultCode::GENERAL_ERROR); in DrawSurfaceNode()
[all …]