MCPcopy Create free account
hub / github.com/HumbleUI/Skija / makeCoreText

Method makeCoreText

shared/java/shaper/Shaper.java:74–81  ·  view source on GitHub ↗

Only works on macOS WARN broken in m87 https://bugs.chromium.org/p/skia/issues/detail?id=10897 @return Shaper on macOS, throws UnsupportedOperationException elsewhere

()

Source from the content-addressed store, hash-verified

72 * @return Shaper on macOS, throws UnsupportedOperationException elsewhere
73 */
74 @NotNull @Contract("-> new")
75 public static Shaper makeCoreText() {
76 Stats.onNativeCall();
77 long ptr = _nMakeCoreText();
78 if (ptr == 0)
79 throw new UnsupportedOperationException("CoreText not available");
80 return new Shaper(ptr);
81 }
82
83 @NotNull @Contract("-> new")
84 public static Shaper make() {

Callers 2

drawMethod · 0.95
drawMethod · 0.95

Calls 2

onNativeCallMethod · 0.95
_nMakeCoreTextMethod · 0.95

Tested by

no test coverage detected