Cursor advance in pixels, Rml::FontGlyph::advance.
Integer advance.
Set the native cursor advance.
valueSigned integer pixel advance.
Writable native advance mapping.
One signed integer.
Baseline-to-bitmap offset, Rml::FontGlyph::bearing.
Copied integer vector.
Set the native glyph bearing.
valueSigned integer pixel offsets.
Writable native bearing mapping.
Two signed integers.
Retained view of bitmap_data; assignment copies bytes or clears with null.
Native bytes, or null.
Replace bitmap data with an owned copy.
valueBytes to copy, or null to clear.
The width and height of the glyph bitmap in pixels.
Bitmap dimensions in pixels.
Set the native bitmap dimensions without reallocating its bytes.
valueInteger width and height in pixels.
Writable native bitmap dimension mapping; checked by effect operations.
Two signed integers.
Owned allocation view; null on weak copies. Writes also set bitmapData.
Owned native bytes, or null.
Replace owned bitmap storage and select it as bitmapData.
valueBytes to copy, or null to clear both pointers.
The channel format used to interpret the glyph bitmap bytes.
A8 or RGBA8.
Set the bitmap format without converting its bytes.
valueA8 or RGBA8.
Writable native format mapping; checked by effect operations.
One ColorFormat integer.
Native-owned Rml::FontGlyph with mapped metrics and retained bitmap storage.
Remarks
Bitmap assignment copies the given view into a native unique allocation. Weak copies and exported views retain that allocation after replacement or collection of the source glyph. Numeric fields and bytes outlive shutdown.