Workspace 6.21.5
Namespaces | Functions
snaptogrid.cpp File Reference
#include "snaptogrid.h"
Include dependency graph for snaptogrid.cpp:

Namespaces

namespace  CSIRO
 Top level namespace for all Workspace code.
 
namespace  CSIRO::Presentation
 The graphical user interface layer for the workspace.
 

Functions

QPointF snapToGrid (const QPointF &point, int gridSpacing)
 
int snapToGrid (double p, int gridSpacing)