| 2228 | |
| 2229 | return newJavaObjectWrappingValue(JavaEnv(), Valdi::Value(androidBitmap)).releaseObject(); |
| 2230 | } |
| 2231 | |
| 2232 | jobject ValdiAndroid::NativeBridge::rasterizeSVG(fbjni::alias_ref<fbjni::JClass> /*clazz*/, // NOLINT |
| 2233 | jbyteArray svgData, |
| 2234 | jint preferredWidth, |
| 2235 | jint preferredHeight, |
| 2236 | jfloat /*displayScale*/) { |
| 2237 | auto* env = fbjni::Environment::current(); |
| 2238 | if (svgData == nullptr) { |
| 2239 | ValdiAndroid::throwJavaValdiException(env, "SVG data cannot be null"); |
nothing calls this directly
no test coverage detected