Skip to content

gcs2dcs

gcs2dcs(canvas, point): number[]

Transform global coord to DOM coord (GCS —> DCS) on canvas element

Parameters

canvas: Canvas

point: number[]

Returns

number[]

Source

graphics/utils.ts:68