Home
last modified time | relevance | path

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

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/text_field/
H A Drosen_render_text_field.h86 return canvasCache_; in GetBitmap()
209 SkBitmap canvasCache_ {};
212 RSBitmap canvasCache_ {};
H A Drosen_render_text_field.cpp645 canvasCache_.reset();
646 canvasCache_.allocPixels(imageInfo);
647 magnifierCanvas_ = std::make_unique<SkCanvas>(canvasCache_);
656 canvasCache_.Free();
657 canvasCache_.Build(width, height, format);
659 magnifierCanvas_->Bind(canvasCache_);
665 canvasCache_.eraseColor(SK_ColorTRANSPARENT);
668 canvasCache_.ClearWithColor(RSColor::COLOR_TRANSPARENT);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/custom_paint/
H A Drosen_render_custom_paint.h194 SkBitmap canvasCache_; variable
206 RSBitmap canvasCache_; variable
H A Drosen_render_custom_paint.cpp181 canvasCache_.reset(); in CreateBitmap()
183 canvasCache_.allocPixels(imageInfo); in CreateBitmap()
185 canvasCache_.eraseColor(SK_ColorTRANSPARENT); in CreateBitmap()
187 skCanvas_ = std::make_unique<SkCanvas>(canvasCache_); in CreateBitmap()
191 canvasCache_.Free(); in CreateBitmap()
198 drawingCanvas_->Bind(canvasCache_); in CreateBitmap()
264 canvas->DrawBitmap(canvasCache_, 0.0f, 0.0f); in Paint()
348 if (canvasCache_.empty()) { in ToDataURL()
353 success = canvasCache_.pixmap().scalePixels( in ToDataURL()
356 if (!canvasCache_.IsValid()) { in ToDataURL()
[all …]