ADDED: Lasso selection in pcbnew

Adds a lasso or freeform selection tool to KiCad in addition to standard
rectangular selection.  Adds supporting HitTest routines

Fixes: https://gitlab.com/kicad/code/kicad/-/issues/1977
This commit is contained in:
Andrzej Wolski
2025-08-06 16:06:40 -07:00
committed by Seth Hillbrand
parent 1306cb337d
commit c73d555fe2
50 changed files with 1069 additions and 187 deletions
+6
View File
@@ -203,6 +203,12 @@ bool PCB_REFERENCE_IMAGE::HitTest( const BOX2I& aRect, bool aContained, int aAcc
}
bool PCB_REFERENCE_IMAGE::HitTest( const SHAPE_LINE_CHAIN& aPoly, bool aContained ) const
{
return KIGEOM::BoxHitTest( aPoly, GetBoundingBox(), aContained );
}
BITMAPS PCB_REFERENCE_IMAGE::GetMenuImage() const
{
return BITMAPS::image;