|
SILICON
|
#include <cstddef>#include <utility>#include <ui/circuit/diagram/grid.hpp>#include <ui/circuit/diagram/portGeometry.hpp>

Go to the source code of this file.
Namespaces | |
| namespace | SILICON |
| namespace | SILICON::ui |
Functions | |
| QPoint | automaticPortPosition (const QSize &size, bool input, std::size_t index, std::size_t count) |
| QRect | shapeRect (const QSize &size) |
| QPoint | sanitizePortPosition (const QPointF &position, const QRect &rect) |
Variables | |
| constexpr int | EXTERNAL_PORT_MARGIN_GRID = 2 |
| constexpr int | EXTERNAL_PORT_SPACING_GRID = 2 |