development/documentation/Setsquare_Readme.md
Switch on/off either from menu Edit > Setsquare or via the toolbar (setsquare symbol)
The setsquare can be used for measuring length and angles and for geometric constructions. Check your Display DPI Callibration in the Zoom panel of menu Edit > Preferences to have length on your screen match physical length.
It is designed to be used either with touch (one hand) and stylus/mouse (other hand) or with keyboard (one hand) and stylus/mouse (other hand)
Keyboard and Touch are used to move the setsquare (and the page) around, to rotate it and change its size, whereas Stylus/Mouse are used to draw/annotate and in particular to draw lines at the longest side of the setsquare.
Keyboard (use Alt modifier to get smaller steps):
Touch can be used with one finger or two fingers. Gestures with more fingers are not handled.
Edit > Preferences are also applied for the resizing operation. I would recommend to set the percentage to something like 50% to avoid unintended resizing.Stylus/Mouse interact with the Pen, Highlighter and Hand tool
There is also a display of the current angle (in tenth of degrees) between the longest side of the setsquare and a horizontal axis. The number always looks up.
The setsquare drawing is devided into several steps. First the outline is drawn, then the horizontal marks, vertical marks, angular marks and the rotation indicator. Some of these drawing functions use clipping of horizontal or vertical stripes. All of that, including the user coordinate system and variables used for drawing, is depicted in the following images: