|
SILICON
|
#include <cmath>#include <QPoint>#include <QPointF>#include <QSize>

Go to the source code of this file.
Namespaces | |
| namespace | SILICON |
| namespace | SILICON::ui |
Functions | |
| int | gridToPixels (int value) |
| int | pixelsToGrid (int value) |
| QPoint | gridToPixels (const QPoint &point) |
| QPoint | pixelsToGrid (const QPoint &point) |
| QSize | pixelsToGrid (const QSize &size) |
| int | pixelsToNearestGrid (qreal value) |
| QPoint | pixelsToNearestGrid (const QPointF &point) |
Variables | |
| constexpr int | GRID_SIZE = 10 |