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

Method Scale

core/android/BitmapCanvasContext.cpp:499–503  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

497}
498
499void BitmapCanvasContext::Scale(float scale_width, float scale_height) {
500 TraceCommand("Scale");
501 env_ = GetJniEnvSafe();
502 F2SafeCallVoidMethod(env_, canvasContext_->obj(), scale_, scale_width);
503}
504
505void BitmapCanvasContext::Rotate(float angle) {
506 TraceCommand("Rotate");

Callers 1

SetChartScaleFunction · 0.45

Calls 2

GetJniEnvSafeFunction · 0.85
objMethod · 0.45

Tested by

no test coverage detected