CanvasIO.toDots

Convert pixels to screen-dependent dots.

In Fluid, pixel is a unit equal to 1/96th of an inch.

interface CanvasIO
final const nothrow
toDots

Parameters

pixels Vector2

Value in pixels.

Return Value

Type: Vector2

Corresponding value in dots.

Meta