RenderingEngine

The RenderingEngine renders runs of source text. To achieve this for some run R, it queries the active stylesheet with the run's style classifiers and then uses the obtained rendering context to set the character attributes of R.

Author

Todd L Smith

Functions

Link copied to clipboard
fun applyStylesAndPhrasePaths(document: StyledDocument, stylesheet: Stylesheet, styleRecord: StylingRecord?, phrasePathRecord: PhrasePathRecord?)

Apply all style runs from the StylingRecord, and all PhraseNode information from the PhrasePathRecord, to the given StyledDocument, using the supplied stylesheet to obtain an appropriate rendering context for each style run.