Searched refs:offscreenCanvasPattern_ (Results 1 – 2 of 2) sorted by relevance
165 auto bitmapSize = workCanvas->offscreenCanvasPattern_->GetBitmapSize(); in Constructor()257 CHECK_NULL_RETURN(offscreenCanvasPattern_, nullptr); in OnSetWidth()279 offscreenCanvasPattern_->UpdateSize(width_, height_); in OnSetWidth()289 CHECK_NULL_RETURN(offscreenCanvasPattern_, nullptr); in OnSetHeight()311 offscreenCanvasPattern_->UpdateSize(width_, height_); in OnSetHeight()321 if (offscreenCanvasPattern_ == nullptr || offscreenCanvasContext_ == nullptr) { in onTransferToImageBitmap()326 auto pixelMap = offscreenCanvasPattern_->TransferToImageBitmap(); in onTransferToImageBitmap()338 auto imageData = offscreenCanvasPattern_->GetImageData(0, 0, width_, height_); in onTransferToImageBitmap()424 if (offscreenCanvasPattern_ == nullptr) { in CreateContext2d()429 offscreenCanvasContext_->SetOffscreenPattern(offscreenCanvasPattern_); in CreateContext2d()[all …]
180 offscreenCanvasPattern_ = offscreenPattern; in SetOffscreenPattern()198 RefPtr<NG::OffscreenCanvasPattern> offscreenCanvasPattern_; variable