akiraux / Akira

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

Fix Artboard and multiselection hitbox detection #656

Closed mbfraga closed 3 years ago

mbfraga commented 3 years ago
## Summary / How this PR fixes the problem? Fix Artboard and multiselection hitbox detection * Artboards now have different effective for selection or for item creation. * Selection hitbox is now used for translation, which enhances artboard. * Artboard now draws label. This can probably be improved by scaling the final pixmap rather than the font size...which results in nasty hinting. * In general, virtual methods were added to drawables to allow for static items (items that change size with different scales. Although they should probably be used sparringly. ## Steps to Test Use artboards!