RasterTerminalRenderer class final Ultraviolet

Native cell-to-image backend with exact grid placement and explicit fonts.

Two rendering passes prevent continuation-cell backgrounds from erasing wide glyphs. pure_ui parses font outlines; Dart software coverage and package:image produce the pixels. No browser, Flutter engine, or native font library is required. No backgrounds are inferred from adjacent cells.

Blink is captured in its visible phase. Multi-codepoint graphemes, external graphics, and missing glyphs or font variants produce diagnostics.

Inheritance

Constructors

RasterTerminalRenderer({required RasterFont font, RasterRenderOptions options = const RasterRenderOptions()})
Creates an offscreen renderer with fixed font and color policy.

Properties

cellHeight int
Actual vertical cell advance in pixels.
no setter
cellWidth int
Actual horizontal cell advance in pixels.
no setter
diagnostics List<RasterDiagnostic>
Fidelity diagnostics from the last render.
no setter
font RasterFont
Font faces used for glyph coverage.
final
hashCode int
The hash code for this object.
no setterinherited
image → Image?
Last rendered pixels, or null before rendering/after a strict failure.
no setter
lastFlushedOutput String
no setterinherited
options RasterRenderOptions
Rendering options; palette data is copied internally.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

disableBracketedPaste() → void
inherited
disableFocusReporting() → void
inherited
disableMouseAllEvents() → void
inherited
dispose() → void
Releases renderer-owned frame state.
inherited
enableBracketedPaste() → void
inherited
enableFocusReporting() → void
inherited
enableMouseAllEvents() → void
inherited
enterAltScreen() → void
inherited
erase() → void
inherited
exitAltScreen() → void
inherited
flush() → void
override
height() int
override
hideCursor() → void
inherited
moveTo(int x, int y) → void
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
popKeyboardEnhancements() → void
inherited
prependString(Buffer newbuf, String str) → void
inherited
pushKeyboardEnhancements(int flags) → void
inherited
queryBackgroundColor() → void
inherited
queryColorScheme() → void
inherited
queryCursorColor() → void
inherited
queryForegroundColor() → void
inherited
queryKeyboardEnhancements() → void
inherited
queryKittyGraphics() → void
inherited
queryPrimaryDeviceAttributes() → void
inherited
querySecondaryDeviceAttributes() → void
inherited
queryTerminalVersion() → void
inherited
queryTertiaryDeviceAttributes() → void
inherited
render(Buffer buffer) → void
override
resize(int width, int height) → void
override
setBackspace(bool v) → void
inherited
setColorProfile(Profile profile) → void
inherited
setFullscreen(bool v) → void
inherited
setHasTab(bool v) → void
inherited
setLogger(void logger(String message)?) → void
inherited
setRelativeCursor(bool v) → void
inherited
setScrollOptim(bool v) → void
inherited
setSynchronizedOutput(bool v) → void
inherited
setTabStops(int width) → void
inherited
showCursor() → void
inherited
toString() String
A string representation of this object.
inherited
width() int
override
writeString(String s) int
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited