MCPcopy Create free account
hub / github.com/JetBrains/skija / getRoot

Method getRoot

shared/java/svg/SVGDOM.java:17–26  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

15 }
16
17 @Nullable
18 public SVGSVG getRoot() {
19 try {
20 Stats.onNativeCall();
21 long ptr = _nGetRoot(_ptr);
22 return ptr == 0 ? null : new SVGSVG(ptr);
23 } finally {
24 Reference.reachabilityFence(this);
25 }
26 }
27
28 /**
29 * Deprecated. Use getRoot().intrinsicSize() instead

Callers 4

drawIconMethod · 0.80
drawRatioMethod · 0.80
drawMethod · 0.80

Calls 2

onNativeCallMethod · 0.95
_nGetRootMethod · 0.95

Tested by

no test coverage detected