Scoop API

scoop:scoop.ui.component.desktop:0.1.0

toDesktopImage

function toDesktopImage

source · line 11
public
public fun SvgAsset.toDesktopImage(size: LogicalSize, resolutions: Array<PhysicalSize>, options: SvgDrawOptions = SvgDrawOptions(), template: Boolean = false): DesktopImage

Extension receiver: SvgAsset

Explicit CPU conversion; callers retain and reuse the resulting representations.

function toDesktopImage

source · line 21
public
public fun SvgDocument.toDesktopImage(size: LogicalSize, resolutions: Array<PhysicalSize>, options: SvgDrawOptions = SvgDrawOptions(), template: Boolean = false): DesktopImage

Extension receiver: SvgDocument