#include <mgui/toolbase.h>
Public Member Functions | |
| void | Adjust (DPOINT2D &pt) const |
| const DPOINT2D & | GetInterval () const |
| const TRANS2D_AFFINE & | GetTrans () const |
| bool | IsValid () const |
| void | SetInterval (const DPOINT2D &interval) |
| void | SetTrans (const TRANS2D_AFFINE &trans) |
| SNAPGRID (const DPOINT2D &interval, const TRANS2D_AFFINE &trans) | |
| SNAPGRID (const DPOINT2D &interval) | |
| SNAPGRID () | |
Definition at line 122 of file toolbase.h.
|
|
Default constructor.
|
|
|
Construct with specified interval.
|
|
||||||||||||
|
Construct with specified interval and transformation.
|
|
|
Adjust specified point to snap grid.
|
|
|
Get snap interval.
Definition at line 146 of file toolbase.h. |
|
|
Get transformation from tool to snapgrid coordinates.
Definition at line 150 of file toolbase.h. |
|
|
Determine if snapgrid is valid.
Definition at line 154 of file toolbase.h. |
|
|
Set snap interval.
Definition at line 158 of file toolbase.h. |
|
|
Set transformation from tool to snapgrid coordinates.
Definition at line 163 of file toolbase.h. |
1.3.8-20040913