Graphite/editor/src/messages/tool
Utsav Singh 927d7dd9b2
Fix quick measuring of skewed and rotated layers by using the viewport space AABB (#2396)
* Make sure that quick measure overlays are based on AABBs drawn in the viewport local space

* Draw overlays to visualise AABBs of selected and hovered shapes

* use pre-existing functions to render dashed lines

* Redraw selected bounds using existing BoundingBoxManager

* remove unused variables

* Render transform cage after overlay is drawn

* Bring overlay and transform cage render calls above(before) other  gizmos

* Add line length tolerance and render single line for singal edge alignment with one axis overlap

* Comments

---------

Co-authored-by: Keavon Chambers <keavon@keavon.com>
2025-03-12 10:53:58 +00:00
..
common_functionality Fix quick measuring of skewed and rotated layers by using the viewport space AABB (#2396) 2025-03-12 10:53:58 +00:00
tool_messages Fix quick measuring of skewed and rotated layers by using the viewport space AABB (#2396) 2025-03-12 10:53:58 +00:00
transform_layer Instance tables refactor part 5: unwrap GraphicGroup as multi-row Instance<GraphicElement> tables and move up transforms (#2363) 2025-03-12 01:38:36 -07:00
mod.rs Code cleanup and refactoring to enhance consistency (#1695) 2024-03-20 21:28:51 -07:00
tool_message.rs Add an editor preference for touched/enclosed/directional based selection (#2156) 2025-01-26 06:34:37 +00:00
tool_message_handler.rs Experimental vector meshes (#2223) 2025-01-25 17:13:35 -08:00
utility_types.rs Fix perf regression from updating the hints bar every frame (#2360) 2025-03-06 00:23:47 -08:00