LibrePCB Developers Documentation
|
The BI_Polygon class. More...
#include <bi_polygon.h>
Public Types | |
enum class | Event |
typedef Slot< BI_Polygon, Event > | OnEditedSlot |
Public Member Functions | |
BI_Polygon ()=delete | |
BI_Polygon (const BI_Polygon &other)=delete | |
BI_Polygon (Board &board, const BoardPolygonData &data) | |
~BI_Polygon () noexcept | |
const BoardPolygonData & | getData () const noexcept |
bool | setLayer (const Layer &layer) noexcept |
bool | setLineWidth (const UnsignedLength &width) noexcept |
bool | setPath (const Path &path) noexcept |
bool | setIsFilled (bool isFilled) noexcept |
bool | setIsGrabArea (bool isGrabArea) noexcept |
bool | setLocked (bool locked) noexcept |
void | addToBoard () override |
void | removeFromBoard () override |
BI_Polygon & | operator= (const BI_Polygon &rhs)=delete |
Public Member Functions inherited from BI_Base | |
BI_Base ()=delete | |
BI_Base (const BI_Base &other)=delete | |
BI_Base (Board &board) noexcept | |
virtual | ~BI_Base () noexcept |
Project & | getProject () const noexcept |
Circuit & | getCircuit () const noexcept |
Board & | getBoard () const noexcept |
virtual bool | isAddedToBoard () const noexcept |
BI_Base & | operator= (const BI_Base &rhs)=delete |
Public Attributes | |
Signal< BI_Polygon, Event > | onEdited |
Private Member Functions | |
void | invalidatePlanes (const Layer &layer) noexcept |
Private Attributes | |
BoardPolygonData | mData |
Additional Inherited Members | |
Protected Attributes inherited from BI_Base | |
Board & | mBoard |
The BI_Polygon class.
typedef Slot<BI_Polygon, Event> OnEditedSlot |
|
strong |
|
delete |
|
delete |
BI_Polygon | ( | Board & | board, |
const BoardPolygonData & | data | ||
) |
|
noexcept |
|
inlinenoexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
overridevirtual |
Reimplemented from BI_Base.
|
overridevirtual |
Reimplemented from BI_Base.
|
delete |
|
privatenoexcept |
Signal<BI_Polygon, Event> onEdited |
|
private |