Renamed to elm-messenger/messenger-core. That is where the repository lives now. It has not been published as a package under the new name.
Versions published as linsyking/messenger-core still install under that name. 34 versions of 52 come from the new location (see their notes). 7 versions could not be recovered and cannot be installed.
Unavailable. Nobody can download this version any more, with elm or with the Lamdera compiler: Software Heritage has not archived the repo; no fork with tag 14.0.0 found (17 same-name repos checked); no cached copy. Use another version.
This module deals with the coordinate transformation.
This module is very important because it can calculate the correct position of the point you want to draw.
posToReal
Transform from the virtual coordinate system to the real pixel system.
Inverse of posToReal.
widthToReal
Use this if you want to draw something based on the length.
The inverse function of widthToReal.
maxHandW
getStartPoint
judgeMouseRect Judge whether the mouse position is in the rectangle.
fromMouseToVirtual
fixedPosToReal
Same as posToReal, but add the initial position of canvas.