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

Method MeasureTextHeight

core/android/BitmapCanvasContext.cpp:396–400  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

394}
395
396float BitmapCanvasContext::MeasureTextHeight(const std::string &text) {
397 TraceCommand("MeasureTextHeight: " + text);
398 env_ = GetJniEnvSafe();
399 F2SafeCallFloatMethod(env_, canvasContext_->obj(), measureTextHeight_, jni::StringToJavaString(env_, text).obj());
400}
401
402void BitmapCanvasContext::Transform(float a, float b, float c, float d, float e, float f) {
403 TraceCommand("Transform " );

Callers 2

RenderMethod · 0.80

Calls 3

GetJniEnvSafeFunction · 0.85
StringToJavaStringFunction · 0.85
objMethod · 0.45

Tested by

no test coverage detected