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

Function SetChartGeomShape

core/android/F2NativeJNI.cpp:369–374  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

367}
368
369static jint SetChartGeomShape(JNIEnv *env, jclass clazz, jlong geom, jstring type, jstring shape) {
370 xg::geom::AbstractGeom *_geom = reinterpret_cast<xg::geom::AbstractGeom *>(geom);
371 std::string _shape = JavaStringToString(env, shape);
372 _geom->Shape(_shape);
373 return 0;
374}
375
376static jint SetChartGeomAdjust(JNIEnv *env, jclass clazz, jlong geom, jstring type, jstring adjust) {
377 xg::geom::AbstractGeom *_geom = reinterpret_cast<xg::geom::AbstractGeom *>(geom);

Callers

nothing calls this directly

Calls 2

JavaStringToStringFunction · 0.85
ShapeMethod · 0.45

Tested by

no test coverage detected