[go: up one dir, main page]

Draft: Pen tool distance/scale tooltip

When drawing with the pen tool, it'd be nice to see the distance (and/or) angle right above the cursor. The information is already shown in the status bar, but it is rather inconvenient to place a node while while starring at the status bar.

Please note that this merge request in a very early stage of development.

Goals (as a reminder to myself):

  • Create a stack of CanvasItemText objects wrapped in a CanvasGroup which can arrange multiple text lines above the cursor properly (avoid overlays with other information displayed by for example the snapping tool). Set ids to each CanvasItemText so they can be updated in the process individually
  • Add buttons to the pencil toolbar to turn the new cursor labels (length/angle) on and off
  • Display the length (and angle) labels right above the cursor (some sort of z-index for the canvas group items?)
  • Manage label styles (colors) for different tools individually to distinguish the information visually when stacked (?)

Merge request reports

Loading