Documentation / @ripl/terminal / createTerminalTransform
Function: createTerminalTransform() ​
createTerminalTransform(
letterbox,transform?):TerminalTransform
Defined in: terminal/src/transform.ts:67
Composes a letterbox with a transform and wraps the result as a TerminalTransform.
Parameters ​
| Parameter | Type | Description |
|---|---|---|
letterbox | Matrix | The context's logical-to-raster letterbox. |
transform | Matrix | The current transform, in logical space. Defaults to the identity. |
Returns ​
The composite mapping used by every drawing path.