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

Method DrawImage

core/android/BitmapCanvasContext.cpp:517–521  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

515}
516
517void BitmapCanvasContext::DrawImage(CanvasImage *image, float dx, float dy) {
518 TraceCommand("DrawImage");
519 env_ = GetJniEnvSafe();
520 F2SafeCallVoidMethod(env_, canvasContext_->obj(), drawImage_, image->GetImage(), dx, dy);
521}
522
523void BitmapCanvasContext::DrawImage(CanvasImage *image, float dx, float dy, float width, float height) {
524 TraceCommand("DrawImage2");

Callers 1

DrawInnerMethod · 0.45

Calls 3

GetJniEnvSafeFunction · 0.85
objMethod · 0.45
GetImageMethod · 0.45

Tested by

no test coverage detected