|
SILICON
|
#include <algorithm>#include <utility>#include <QPoint>#include <QRect>

Go to the source code of this file.
Classes | |
| struct | RectEdges |
Namespaces | |
| namespace | SILICON |
| namespace | SILICON::ui |
| namespace | SILICON::ui::portGeometryDetail |
Enumerations | |
| enum class | PortSide { LEFT , RIGHT , UP , DOWN } |
Functions | |
| RectEdges | rectEdges (const QRect &rect) |
| bool | isPortPositionOutside (const QPoint &pt, const QRect &rect) |
| Returns whether a position lies strictly beyond a rectangle boundary. | |
| std::pair< PortSide, QPoint > | nearestPortSide (const QPoint &pt, const QRect &rect) |
| Finds the nearest rectangle side for an interior or exterior point. | |