MCPcopy Create free account
hub / github.com/antvis/F2Native / OnLoadFinish

Method OnLoadFinish

core/android/CanvasImage.cpp:36–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34}
35
36void CanvasImage::OnLoadFinish(void *image, bool isSuccess) {
37 if (isSuccess) {
38 this->image_ = image;
39 if (this->finished_) {
40 this->finished_();
41 }
42 }
43}
44
45float CanvasImage::GetWidth() {
46 if (this->image_ != nullptr) {

Callers 1

nLoadImageResultFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected