Synced
TextRuntime
Section titled “TextRuntime”
- Owns imported font leases and a replaceable Unicode shaping backend for one runtime session.
Required contracts
Section titled “Required contracts”API: engine
Implements: Inno.Text.ITextService
Inherits: Inno.Runtime.Contracts.RuntimeSubsystem
Project: Inno.Text.Runtime
Declaration
Section titled “Declaration”public sealed class Inno.Text.Runtime.TextRuntime : Inno.Runtime.Contracts.RuntimeSubsystem, Inno.Text.ITextServiceMembers
Section titled “Members”| Kind | Element | Description |
|---|---|---|
| Constructors | TextRuntime.Constructor | Creates a text runtime and assumes ownership of its backend. |
| Methods | TextRuntime.EnterExecutionScope | Binds this runtime to the current asynchronous execution context. |
| Methods | TextRuntime.OnBeginFrame | Binds the script-facing text facade for the complete runtime frame. |
| Methods | TextRuntime.OnStop | Releases every native face and retained immutable artifact before the backend. |
| Methods | TextRuntime.Rasterize | Rasterizes one glyph from an imported font. |
| Methods | TextRuntime.Shape | Shapes one Unicode string with an imported font. |