The BGI_Zone class.
More...
#include <bgi_zone.h>
Inherits QGraphicsItemGroup.
◆ BGI_Zone() [1/3]
◆ BGI_Zone() [2/3]
◆ BGI_Zone() [3/3]
◆ ~BGI_Zone()
◆ getZone()
◆ getGraphicsItem()
◆ getLineIndexAtPosition()
int getLineIndexAtPosition |
( |
const Point & |
pos | ) |
const |
|
noexcept |
Get the line segment at a specific position
- Parameters
-
pos | The position to check for lines. |
- Returns
- The index of the vertex after the line under the cursor. So for the first line segment, index 1 is returned. If no line is located under the specified position, -1 is returned.
◆ getVertexIndicesAtPosition()
QVector< int > getVertexIndicesAtPosition |
( |
const Point & |
pos | ) |
const |
|
noexcept |
Get the vertices at a specific position
- Parameters
-
pos | The position to check for vertices. |
- Returns
- All indices of the vertices at the specified position.
◆ shape()
QPainterPath shape |
( |
| ) |
const |
|
overridenoexcept |
◆ operator=()
◆ zoneEdited()
◆ itemChange()
QVariant itemChange |
( |
GraphicsItemChange |
change, |
|
|
const QVariant & |
value |
|
) |
| |
|
overrideprivatenoexcept |
◆ updateZValue()
◆ updateEditable()
◆ mZone
◆ mGraphicsItem
◆ mOnEditedSlot
The documentation for this class was generated from the following files:
- /__w/1/s/libs/librepcb/editor/project/boardeditor/graphicsitems/bgi_zone.h
- /__w/1/s/libs/librepcb/editor/project/boardeditor/graphicsitems/bgi_zone.cpp