scoop:scoop.graphics.text:0.1.0
scoop.graphics.text.native
API
-
struct
NativeTextLayout
Paired native queries over the same shaped layout. Retain before saving this borrowed value. Affinity is 0 upstream or 1 downstream; range units are grapheme, word, visual line, logical line. Native functions and the boxes visitor must not enter Scoop or throw across the ABI.
-
struct
NativeTextPosition
Native query status: 1 success, 0 unavailable, -1 invalid argument, -2 native failure.
- struct NativeTextRange
- struct NativeTextRect
-
function
withNativeLayout
Borrows retainable native queries; ordinary TextLayout methods remain owner-thread-only.