akiraux / Akira

Native Linux App for UI and UX Design built in Vala and GTK
GNU General Public License v3.0
5.26k stars 200 forks source link

Add simple XRay implementation #710

Closed mbfraga closed 2 years ago

mbfraga commented 2 years ago
## Summary / How this PR fixes the problem? Implements XRay mode: Ignores artboard/group clipping and draws a 1px stroke on items. Not exposed in the UI as a setting/toggle. ## Steps to Test Must be enabled via BaseCanvas property. ## Screenshots ![Screenshot from 2022-02-19 17-51-55](https://user-images.githubusercontent.com/5934417/154821789-dfe7d86f-8b79-426d-988f-f3685999b202.png) ## Known Issues / Things To Do In the future the implementation of drawing things should be cleaned up. But imo that should be done once the canvas is rewritten. Right now it draws black lines. Perhaps this should be theme-dependent? ## This PR fixes/implements the following **bugs/features**: - Fixes #