2 // This page intentionally left (mostly) blank
9 // Initialize static variables
11 bool Global::fixedAngle = false;
12 bool Global::fixedLength = false;
13 QFont * Global::font = 0;
14 int Global::viewportHeight = 0;
16 bool Global::deleteActive = false;
17 bool Global::dimensionActive = false;
18 bool Global::snapToGrid = true;
20 //snapToPoints all well here?
21 bool Global::ignoreClicks = false;
22 bool Global::dontMove = false;
23 bool Global::selectionInProgress = false;
24 Rect Global::selection;
26 int Global::tool = TTNone;
27 int Global::toolState = TSNone;
28 bool Global::toolSuppressCrosshair = false;
29 double Global::parallelDist = 1.0;
30 int Global::parallelNum = 1;
31 int Global::parallelBU = BUInch;
33 double Global::gridSpacing;
34 Point Global::snapPoint;
35 bool Global::snapPointIsValid = false;
36 uint32_t Global::objectID = 1;
38 Vector Global::origin(-10.0, -10.0);
39 double Global::zoom = 1.0;
40 Vector Global::screenSize(200.0, 200.0);
42 float Global::scale = 0.5;
44 float Global::penWidth = 1.0;
45 int Global::penStyle = 1;
46 uint32_t Global::penColor = 0x000000;
47 bool Global::penStamp = false;
48 bool Global::penDropper = false;
50 Point Global::intersectPoint[16]; // Overkill, yes
51 double Global::intersectParam[16]; // Ditto
52 int Global::numIntersectPoints = 0;
53 int Global::numIntersectParams = 0;
55 int Global::activeLayer = 0;
56 int Global::numLayers = 1;
57 BVector Global::layerHidden;
58 BVector Global::layerLocked;
59 SVector Global::layerName;