Construct the native base effect with white colour and Back layer.
callbacksOptionalOptional synchronous native virtual overrides.
Rml::FontEffect::GetColour/SetColour; unpremultiplied byte colour.
Copied colour; assign the whole value to change it.
Copy the effect and set its colour.
valueUnpremultiplied byte colour.
Rml::FontEffect::GetFingerprint/SetFingerprint, exact native size_t.
Unsigned fingerprint.
Copy the effect and set its fingerprint.
valueUnsigned native size_t value.
Check whether the font effect generates its own glyph texture.
Whether the effect generates its own glyph texture.
Copy the effect and set its layer.
valueBack or Front.
Generate native premultiplied RGBA glyph pixels into the destination view.
destinationWritable non-shared bytes; must not overlap the glyph.
dimensionsDestination glyph area in pixels.
strideBytes between destination rows, at least width times four.
glyphSource bitmap and metrics.
Call the native virtual GetGlyphMetrics without mutating input vectors.
glyphGlyph to size.
originOptionalInitial pixel offset; defaults to zero.
dimensionsOptionalInitial size; defaults to glyph.bitmapDimensions.
Support flag and both output vectors.
StaticfillRml::FontEffect::FillColorValuesFromAlpha; copy alpha to RGB in place.
destinationWritable non-shared RGBA bytes.
dimensionsInteger width and height in pixels.
strideRow stride in bytes, at least width times four.
Rml::FontEffect with writable metadata and native virtual glyph operations.
Remarks
Writes copy metadata and retain the original effect's glyph implementation. Lists and Properties retain the prior immutable effect. A list getter gives independent wrappers; assign them back to publish edits. Shutdown invalidates every effect wrapper. Supply callbacks to register native overrides. Native styles and default font layers retain callbacks. Font layers survive document closure until releaseFontResources(); detached owner cycles remain collectable. Custom parsers may construct effects without nested parsing.