SvgPage

The single page of an SvgDocument: the SVG viewport, painted as vectors.

Properties

Link copied to clipboard
open override val displayHeight: Double
Link copied to clipboard
open override val displayWidth: Double

Functions

Link copied to clipboard
open override fun displayToDeviceBase(): KiteMatrix

SVG display space is already top-left and y-down, which is what the page contract asks for, so the base is the identity, as it is for a comic page. A flip here turned every standalone SVG upside down (#96).

Link copied to clipboard
open override fun renderTo(canvas: KiteCanvas, deviceCtm: KiteMatrix)
Link copied to clipboard