| 388 | void BitmapCanvasContext::SetShadowBlur(float v) {} |
| 389 | |
| 390 | float BitmapCanvasContext::MeasureTextWidth(const std::string &text) { |
| 391 | TraceCommand("MeasureTextWidth: " + text); |
| 392 | env_ = GetJniEnvSafe(); |
| 393 | F2SafeCallFloatMethod(env_, canvasContext_->obj(), measureTextWidth_, jni::StringToJavaString(env_, text).obj()); |
| 394 | } |
| 395 | |
| 396 | float BitmapCanvasContext::MeasureTextHeight(const std::string &text) { |
| 397 | TraceCommand("MeasureTextHeight: " + text); |
no test coverage detected