Skip to content

Function: fromNorm()

fromNorm(point, surface, kind?): PenSample

Defined in: protocol.ts:307

Wire point → canvas sample, against this endpoint's surface. This is the whole reason coordinates are normalized: the iPad and the host disagree about pixels, and neither has to know the other's.

Parameters

point

WirePoint

surface

Surface

kind?

PointerKind = "pen"

Returns

PenSample