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:
committed by
Seth Hillbrand
parent
1306cb337d
commit
c73d555fe2
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user