QCAD
Open Source 2D CAD
RS.h
Go to the documentation of this file.
1 
20 #ifndef RS_H
21 #define RS_H
22 
23 #include "core_global.h"
24 
25 #include <QEasingCurve>
26 #include <QPair>
27 #include <QString>
28 #include <QStringList>
29 #include <QVariant>
30 
31 class RVector;
33 
37 #if defined(WIN64) || defined(_WIN64) || defined(__WIN64__)
38 # define ROS_WINDOWS
39 # define ROS_WIN32
40 # define ROS_WIN64
41 #elif defined(WIN32) || defined(_WIN32) || defined(__WIN32__) || defined(__NT__)
42 # define ROS_WINDOWS
43 # define ROS_WIN32
44 #else
45 # define ROS_POSIX
46 #endif
47 
48 #define REASING_LINEAR QEasingCurve::Linear
49 #define REASING_INQUAD QEasingCurve::InQuad
50 #define REASING_OUTQUAD QEasingCurve::OutQuad
51 #define REASING_INOUTQUAD QEasingCurve::InOutQuad
52 #define REASING_OUTINQUAD QEasingCurve::OutInQuad
53 #define REASING_INCUBIC QEasingCurve::InCubic
54 #define REASING_OUTCUBIC QEasingCurve::OutCubic
55 #define REASING_INOUTCUBIC QEasingCurve::InOutCubic
56 #define REASING_OUTINCUBIC QEasingCurve::OutInCubic
57 #define REASING_INQUART QEasingCurve::InQuart
58 #define REASING_OUTQUART QEasingCurve::OutQuart
59 #define REASING_INOUTQUART QEasingCurve::InOutQuart
60 #define REASING_OUTINQUART QEasingCurve::OutInQuart
61 #define REASING_INQUINT QEasingCurve::InQuint
62 #define REASING_OUTQUINT QEasingCurve::OutQuint
63 #define REASING_INOUTQUINT QEasingCurve::InOutQuint
64 #define REASING_OUTINQUINT QEasingCurve::OutInQuint
65 #define REASING_INSINE QEasingCurve::InSine
66 #define REASING_OUTSINE QEasingCurve::OutSine
67 #define REASING_INOUTSINE QEasingCurve::InOutSine
68 #define REASING_OUTINSINE QEasingCurve::OutInSine
69 #define REASING_INEXPO QEasingCurve::InExpo
70 #define REASING_OUTEXPO QEasingCurve::OutExpo
71 #define REASING_INOUTEXPO QEasingCurve::InOutExpo
72 #define REASING_OUTINEXPO QEasingCurve::OutInExpo
73 #define REASING_INCIRC QEasingCurve::InCirc
74 #define REASING_OUTCIRC QEasingCurve::OutCirc
75 #define REASING_INOUTCIRC QEasingCurve::InOutCirc
76 #define REASING_OUTINCIRC QEasingCurve::OutInCirc
77 #define REASING_INELASTIC QEasingCurve::InElastic
78 #define REASING_OUTELASTIC QEasingCurve::OutElastic
79 #define REASING_INOUTELASTIC QEasingCurve::InOutElastic
80 #define REASING_OUTINELASTIC QEasingCurve::OutInElastic
81 #define REASING_INBACK QEasingCurve::InBack
82 #define REASING_OUTBACK QEasingCurve::OutBack
83 #define REASING_INOUTBACK QEasingCurve::InOutBack
84 #define REASING_OUTINBACK QEasingCurve::OutInBack
85 #define REASING_INBOUNCE QEasingCurve::InBounce
86 #define REASING_OUTBOUNCE QEasingCurve::OutBounce
87 #define REASING_INOUTBOUNCE QEasingCurve::InOutBounce
88 #define REASING_OUTINBOUNCE QEasingCurve::OutInBounce
89 //#define REASING_INCURVE QEasingCurve::InCurve
90 //#define REASING_OUTCURVE QEasingCurve::OutCurve
91 //#define REASING_SINECURVE QEasingCurve::SineCurve
92 //#define REASING_COSINECURVE QEasingCurve::CosineCurve
93 //#define REASING_BEZIERSPLINE QEasingCurve::BezierSpline
94 //#define REASING_TCBSPLINE QEasingCurve::TCBSpline
95 
108 public:
109 
113  enum MessageType {
118  Command
119  };
120 
125  enum EntityType {
136 
173  EntityUser
176  };
177 
187  RenderThreeD
188  };
189 
194  enum Side {
195  NoSide = 0,
196  LeftHand = 1,
197  RightHand = 2,
198  BothSides = 3
199  };
200 
204  enum Ending {
207  EndingNone
208  };
209 
213  enum VAlign {
217  VAlignBottom
218  };
219 
223  enum HAlign {
229  HAlignFit
230  };
231 
236  LeftToRight = 1,
237  TopToBottom = 3,
238  ByStyle = 5
239  };
240 
245  AtLeast = 1,
246  Exact = 2
247  };
248 
252  enum From {
253  FromStart = 0x1,
254  FromEnd = 0x2,
255  FromAny = FromStart|FromEnd,
256  AlongPolyline = 0x4
257  };
258 
263  Top = 0x00000001,
264  Bottom = 0x00000002,
265  Left = 0x00000004,
266  LeftBack = 0x00000008,
267  Right = 0x00000010,
268  RightBack = 0x00000020,
269 
270  Isometric = 0x00010000,
271  IsometricTrue = 0x00020000,
272  Planometric = 0x00040000,
273  Dimetric = 0x00080000,
274 
275  Cabinet = 0x00100000,
276  Cabinet30 = 0x00200000,
277  Cavalier = 0x00400000,
278 
279  User1 = 0x01000000,
280  User2 = 0x02000000,
281  User3 = 0x04000000,
282  User4 = 0x08000000,
283 
284  // backwards compatibility:
285  IsoTop = Top | Isometric,
286  IsoBottom = Bottom | Isometric,
287  IsoLeft = Left | Isometric,
288  IsoLeftBack = LeftBack | Isometric,
289  IsoRight = Right | Isometric,
290  IsoRightBack = RightBack | Isometric
291  };
292 
296  enum Measurement {
297  UnknownMeasurement = -1,
298  Imperial = 0,
299  Metric = 1,
300  };
301 
305  enum Unit {
306  None = 0,
307  Inch = 1,
308  Foot = 2,
309  Mile = 3,
310  Millimeter = 4,
311  Centimeter = 5,
312  Meter = 6,
313  Kilometer = 7,
314  Microinch = 8,
315  Mil = 9,
316  Yard = 10,
317  Angstrom = 11,
318  Nanometer = 12,
319  Micron = 13,
320  Decimeter = 14,
321  Decameter = 15,
322  Hectometer = 16,
323  Gigameter = 17,
324  Astro = 18,
325  Lightyear = 19,
326  Parsec = 20,
327  //Plu = 21 /**< PLU: Plotter units used in HP/GL. 40plu = 1mm. not supported by open design*/
328  MaxUnit = Parsec
329  };
330 
334  enum AngleFormat {
336  DegreesDecimal = 0,
338  DegreesMinutesSeconds = 1,
340  Gradians = 2,
342  Radians = 3,
344  Surveyors = 4
345  };
346 
352  Scientific = 1,
354  Decimal = 2,
356  Engineering = 3,
358  ArchitecturalStacked = 4,
360  FractionalStacked = 5,
362  Architectural = 6,
364  Fractional = 7,
366  WindowsDesktop = 8
367  };
368 
372  enum AngleUnit {
373  Deg,
374  Rad,
375  Gra
376  };
377 
493  /* Point display mode */
495  /* Point display size */
552  MaxKnownVariable = WORLDVIEW,
553  INVALID = -1
554  };
555 
560  Xor
561  };
562 
563  enum FillType {
567  Negative
568  };
569 
570  enum Orientation {
571  UnknownOrientation = -1,
572  Any = 0,
573  CW = 1,
574  CCW = 2
575  };
576 
577  enum JoinType {
580  JoinMiter
581  };
582 
583  enum EndType {
589  EndOpenSingle
590  };
591 
592  enum Easing {
593  Linear = REASING_LINEAR,
594  InQuad = REASING_INQUAD,
595  OutQuad = REASING_OUTQUAD,
596  InOutQuad = REASING_INOUTQUAD,
597  OutInQuad = REASING_OUTINQUAD,
598  InCubic = REASING_INCUBIC,
599  OutCubic = REASING_OUTCUBIC,
600  InOutCubic = REASING_INOUTCUBIC,
601  OutInCubic = REASING_OUTINCUBIC,
602  InQuart = REASING_INQUART,
603  OutQuart = REASING_OUTQUART,
604  InOutQuart = REASING_INOUTQUART,
605  OutInQuart = REASING_OUTINQUART,
606  InQuint = REASING_INQUINT,
607  OutQuint = REASING_OUTQUINT,
608  InOutQuint = REASING_INOUTQUINT,
609  OutInQuint = REASING_OUTINQUINT,
610  InSine = REASING_INSINE,
611  OutSine = REASING_OUTSINE,
612  InOutSine = REASING_INOUTSINE,
613  OutInSine = REASING_OUTINSINE,
614  InExpo = REASING_INEXPO,
615  OutExpo = REASING_OUTEXPO,
616  InOutExpo = REASING_INOUTEXPO,
617  OutInExpo = REASING_OUTINEXPO,
618  InCirc = REASING_INCIRC,
619  OutCirc = REASING_OUTCIRC,
620  InOutCirc = REASING_INOUTCIRC,
621  OutInCirc = REASING_OUTINCIRC,
622  InElastic = REASING_INELASTIC,
623  OutElastic = REASING_OUTELASTIC,
624  InOutElastic = REASING_INOUTELASTIC,
625  OutInElastic = REASING_OUTINELASTIC,
626  InBack = REASING_INBACK,
627  OutBack = REASING_OUTBACK,
628  InOutBack = REASING_INOUTBACK,
629  OutInBack = REASING_OUTINBACK,
630  InBounce = REASING_INBOUNCE,
631  OutBounce = REASING_OUTBOUNCE,
632  InOutBounce = REASING_INOUTBOUNCE,
633  OutInBounce = REASING_OUTINBOUNCE,
634  //InCurve = REASING_INCURVE,
635  //OutCurve = REASING_OUTCURVE,
636  //SineCurve = REASING_SINECURVE,
637  //CosineCurve = REASING_COSINECURVE,
638  //BezierSpline = REASING_BEZIERSPLINE,
639  //TCBSpline = REASING_TCBSPLINE
640  };
641 
642 public:
643  static bool compare(const QVariant& v1, const QVariant& v2, bool noTolerance = false);
644  static bool compare(const QPair<QVariant, RPropertyAttributes>& p1,
645  const QPair<QVariant, RPropertyAttributes>& p2,
646  bool noTolerance = false);
647  static int getCpuCores();
648  static QString getBuildCpuArchitecture();
649 
650  static QString getHostId();
651  static QString getSystemId();
652  static QString getWindowManagerId();
653 
654  static QStringList getDirectoryList(const QString& subDirectory);
655  static QStringList getFileList(const QString& subDirectory,
656  const QString& fileExtension);
657  static QStringList getFontList();
658  static QStringList getPatternList(bool metric);
659  static QStringList getLinetypeList(bool metric);
660 
661  template<class T>
662  static bool mapContainsCaseInsensitive(const QMap<QString, T>& map, const QString& key) {
663  return QStringList(map.keys()).contains(key, Qt::CaseInsensitive);
664  }
665 
666  template<class T>
667  static T mapValueCaseInsensitive(const QMap<QString, T>& map, const QString& key) {
668  QMapIterator<QString, T> it(map);
669  while (it.hasNext()) {
670  it.next();
671  if (QString::compare(it.key(), key, Qt::CaseInsensitive)==0) {
672  return it.value();
673  }
674  }
675 
676  return T();
677  }
678 
679  static QStringList sortAlphanumerical(const QStringList& list);
680  static QStringList compareChunkify(const QString& s);
681  static int compareAlphanumerical(const QString& s1, const QString& s2);
682  static bool lessThanAlphanumerical(const QString& s1, const QString& s2);
683 
684  static const double PointTolerance;
685  static const double AngleTolerance;
686 };
687 
689 Q_DECLARE_METATYPE(RS::AngleFormat)
690 Q_DECLARE_METATYPE(RS::AngleFormat*)
691 Q_DECLARE_METATYPE(RS::AngleUnit)
692 Q_DECLARE_METATYPE(RS::EntityType)
693 Q_DECLARE_METATYPE(RS::EntityType*)
694 Q_DECLARE_METATYPE(RS::From)
695 Q_DECLARE_METATYPE(RS::From*)
696 Q_DECLARE_METATYPE(RS::HAlign)
697 Q_DECLARE_METATYPE(RS::HAlign*)
698 Q_DECLARE_METATYPE(RS::IsoProjectionType)
699 Q_DECLARE_METATYPE(RS::IsoProjectionType*)
700 Q_DECLARE_METATYPE(RS::KnownVariable)
701 Q_DECLARE_METATYPE(RS::KnownVariable*)
702 Q_DECLARE_METATYPE(RS::LinearFormat)
703 Q_DECLARE_METATYPE(RS::LinearFormat*)
704 Q_DECLARE_METATYPE(RS::MessageType)
705 Q_DECLARE_METATYPE(RS::ProjectionRenderingHint)
706 Q_DECLARE_METATYPE(RS::Side)
707 Q_DECLARE_METATYPE(RS::Ending)
708 Q_DECLARE_METATYPE(RS::Ending*)
709 Q_DECLARE_METATYPE(RS::TextDrawingDirection)
710 Q_DECLARE_METATYPE(RS::TextDrawingDirection*)
711 Q_DECLARE_METATYPE(RS::TextLineSpacingStyle)
712 Q_DECLARE_METATYPE(RS::TextLineSpacingStyle*)
713 Q_DECLARE_METATYPE(RS::Unit)
714 Q_DECLARE_METATYPE(RS::Measurement)
715 Q_DECLARE_METATYPE(RS::Measurement*)
716 Q_DECLARE_METATYPE(RS::VAlign)
717 Q_DECLARE_METATYPE(RS::VAlign*)
718 Q_DECLARE_METATYPE(RS::BooleanOperation)
719 Q_DECLARE_METATYPE(RS::FillType)
720 Q_DECLARE_METATYPE(RS::Orientation)
721 Q_DECLARE_METATYPE(RS::JoinType)
722 Q_DECLARE_METATYPE(RS::EndType)
723 Q_DECLARE_METATYPE(RS::Easing)
724 Q_DECLARE_METATYPE(RS::Easing*)
725 Q_DECLARE_METATYPE(QList<RS::EntityType>)
726 
727 #endif
Definition: RS.h:488
Definition: RS.h:132
static const double AngleTolerance
Definition: RS.h:685
Circle.
Definition: RS.h:149
Angular Dimension from 3 points.
Definition: RS.h:165
Ending
Entity ending.
Definition: RS.h:204
Definition: RS.h:520
FillType
Definition: RS.h:563
Definition: RS.h:558
#define REASING_INOUTELASTIC
Definition: RS.h:79
Definition: RS.h:479
Distance between dimension text and dimension lines, negative for box.
Definition: RS.h:430
Definition: RS.h:385
Definition: RS.h:388
#define REASING_LINEAR
Definition: RS.h:48
Definition: RS.h:507
Controls display of leading / trailing zeros for linear dimensions.
Definition: RS.h:470
Angular Dimension from 2 lines.
Definition: RS.h:164
Definition: RS.h:473
Definition: RS.h:511
Definition: RS.h:548
Start point.
Definition: RS.h:205
#define REASING_INBACK
Definition: RS.h:81
Definition: RS.h:392
Definition: RS.h:131
Unknown entity.
Definition: RS.h:138
Represents a 3d vector (x/y/z).
Definition: RVector.h:46
Definition: RS.h:395
Definition: RS.h:402
Formatting of linear dimensions.
Definition: RS.h:437
Text.
Definition: RS.h:154
#define REASING_OUTINQUART
Definition: RS.h:60
Definition: RS.h:475
Definition: RS.h:382
Definition: RS.h:523
#define REASING_OUTINCIRC
Definition: RS.h:76
TextLineSpacingStyle
Line spacing style for texts.
Definition: RS.h:244
Definition: RS.h:486
Definition: RS.h:416
EntityType
Entity types used for property handling / filtering.
Definition: RS.h:125
Definition: RS.h:387
Definition: RS.h:545
Face.
Definition: RS.h:156
VAlign
Vertical alignments.
Definition: RS.h:213
Definition: RS.h:464
#define REASING_INBOUNCE
Definition: RS.h:85
Definition: RS.h:445
Definition: RS.h:391
Image.
Definition: RS.h:169
Definition: RS.h:129
Middle (?)
Definition: RS.h:228
Definition: RS.h:551
Definition: RS.h:541
Radians.
Definition: RS.h:374
static T mapValueCaseInsensitive(const QMap< QString, T > &map, const QString &key)
Definition: RS.h:667
Definition: RS.h:525
Definition: RS.h:114
#define REASING_INOUTQUAD
Definition: RS.h:51
Any text based entity (text, attribute def, attribute)
Definition: RS.h:153
#define QCADCORE_EXPORT
Definition: core_global.h:10
Definition: RS.h:130
#define REASING_OUTQUART
Definition: RS.h:58
Definition: RS.h:458
Any Dimension.
Definition: RS.h:157
EndType
Definition: RS.h:583
Definition: RS.h:565
Arc.
Definition: RS.h:148
Spline.
Definition: RS.h:171
#define REASING_INQUAD
Definition: RS.h:49
Definition: RS.h:500
Ordinate Dimension.
Definition: RS.h:167
Definition: RS.h:509
Definition: RS.h:494
Definition: RS.h:549
Definition: RS.h:498
Decimal places in angular dimensions.
Definition: RS.h:397
Definition: RS.h:533
Definition: RS.h:386
Point.
Definition: RS.h:143
#define REASING_INOUTCUBIC
Definition: RS.h:55
Definition: RS.h:126
Definition: RS.h:529
Definition: RS.h:133
Right.
Definition: RS.h:226
Arc Length Dimension.
Definition: RS.h:166
AngleFormat
Angle format for printing angles.
Definition: RS.h:334
Definition: RS.h:434
Definition: RS.h:476
#define REASING_INCIRC
Definition: RS.h:73
#define REASING_OUTINELASTIC
Definition: RS.h:80
Block attribute.
Definition: RS.h:139
Definition: RS.h:389
Definition: RS.h:401
#define REASING_INCUBIC
Definition: RS.h:53
Viewport.
Definition: RS.h:172
#define REASING_OUTELASTIC
Definition: RS.h:78
Definition: RS.h:513
#define REASING_INELASTIC
Definition: RS.h:77
#define REASING_OUTCUBIC
Definition: RS.h:54
Measurement
Enum of supported measurement systems.
Definition: RS.h:296
Unknown object.
Definition: RS.h:127
Definition: RS.h:540
Definition: RS.h:423
#define REASING_OUTSINE
Definition: RS.h:66
Definition: RS.h:483
Base line.
Definition: RS.h:216
Definition: RS.h:135
Linear aligned Dimension.
Definition: RS.h:159
End point.
Definition: RS.h:206
Definition: RS.h:443
Block attribute definition.
Definition: RS.h:140
Definition: RS.h:185
#define REASING_INOUTSINE
Definition: RS.h:67
Definition: RS.h:463
Angular Dimension.
Definition: RS.h:163
Definition: RS.h:499
#define REASING_INOUTCIRC
Definition: RS.h:75
ProjectionRenderingHint
Sets the current rendering hint for exports.
Definition: RS.h:183
Definition: RS.h:428
Definition: RS.h:438
Definition: RS.h:504
BooleanOperation
Definition: RS.h:556
Definition: RS.h:544
Definition: RS.h:117
Definition: RS.h:531
Decimal separator in dimensions.
Definition: RS.h:425
Ellipse.
Definition: RS.h:150
Definition: RS.h:399
Hatch.
Definition: RS.h:168
Side
Side used for side of a point relativ to an entity (right hand or left hand side) ...
Definition: RS.h:194
Definition: RS.h:508
#define REASING_INOUTEXPO
Definition: RS.h:71
Aligned.
Definition: RS.h:227
#define REASING_OUTQUAD
Definition: RS.h:50
#define REASING_OUTQUINT
Definition: RS.h:62
Definition: RS.h:536
Definition: RS.h:408
Definition: RS.h:512
Definition: RS.h:440
Definition: RS.h:547
Top.
Definition: RS.h:214
3d Face
Definition: RS.h:152
Definition: RS.h:472
Line.
Definition: RS.h:144
Definition: RS.h:515
Definition: RS.h:501
Definition: RS.h:506
Definition: RS.h:559
Definition: RS.h:489
Definition: RS.h:503
Definition: RS.h:441
Centered.
Definition: RS.h:225
Solid.
Definition: RS.h:151
Definition: RS.h:447
static const double PointTolerance
Copyright (c) 2011-2018 by Andrew Mustun.
Definition: RS.h:684
Definition: RS.h:446
Definition: RS.h:452
#define REASING_INOUTBOUNCE
Definition: RS.h:87
Definition: RS.h:514
Definition: RS.h:468
Definition: RS.h:546
Definition: RS.h:517
Definition: RS.h:480
Definition: RS.h:444
Definition: RS.h:435
Definition: RS.h:487
Definition: RS.h:526
Q_DECLARE_METATYPE(RMath *)
Definition: RS.h:497
#define REASING_OUTINSINE
Definition: RS.h:68
Definition: RS.h:419
Definition: RS.h:383
#define REASING_INOUTQUINT
Definition: RS.h:63
Definition: RS.h:115
Definition: RS.h:505
Definition: RS.h:398
Definition: RS.h:453
#define REASING_OUTINQUINT
Definition: RS.h:64
#define REASING_INQUINT
Definition: RS.h:61
Definition: RS.h:467
Definition: RS.h:510
#define REASING_INOUTBACK
Definition: RS.h:83
Definition: RS.h:566
Definition: RS.h:516
Definition: RS.h:585
Definition: RS.h:439
IsoProjectionType
Projection type for isometric projections.
Definition: RS.h:262
Polyline.
Definition: RS.h:147
Left.
Definition: RS.h:224
LinearFormat
Format for length values.
Definition: RS.h:350
Definition: RS.h:527
Definition: RS.h:537
Definition: RS.h:542
Definition: RS.h:460
Definition: RS.h:535
Trace.
Definition: RS.h:155
Definition: RS.h:422
Definition: RS.h:471
Definition: RS.h:426
#define REASING_OUTBOUNCE
Definition: RS.h:86
KnownVariable
Well established document variables.
Definition: RS.h:381
Definition: RS.h:502
Definition: RS.h:134
Definition: RS.h:534
#define REASING_INSINE
Definition: RS.h:65
Definition: RS.h:413
#define REASING_INQUART
Definition: RS.h:57
Definition: RS.h:490
Definition: RS.h:524
Definition: RS.h:587
Definition: RS.h:116
Definition: RS.h:474
#define REASING_OUTBACK
Definition: RS.h:82
Definition: RS.h:532
Definition: RS.h:448
Definition: RS.h:457
Definition: RS.h:578
Ray.
Definition: RS.h:146
Definition: RS.h:418
Block reference.
Definition: RS.h:141
Definition: RS.h:184
Definition: RS.h:477
Definition: RS.h:586
Definition: RS.h:530
Definition: RS.h:403
#define REASING_INEXPO
Definition: RS.h:69
Vertical position of dimension label.
Definition: RS.h:432
Formatting of angular dimensions.
Definition: RS.h:410
Definition: RS.h:415
All entities (for filters)
Definition: RS.h:137
Definition: RS.h:394
Copyright (c) 2011-2018 by Andrew Mustun.
Definition: RPropertyAttributes.h:46
Definition: RS.h:557
Definition: RS.h:492
Definition: RS.h:414
#define REASING_OUTEXPO
Definition: RS.h:70
#define REASING_OUTINBACK
Definition: RS.h:84
Definition: RS.h:539
Controls display of leading / trailing zeros for angular dimensions.
Definition: RS.h:412
#define REASING_INOUTQUART
Definition: RS.h:59
Any linear dimension.
Definition: RS.h:158
#define REASING_OUTCIRC
Definition: RS.h:74
Definition: RS.h:456
JoinType
Definition: RS.h:577
Radial Dimension.
Definition: RS.h:161
XLine.
Definition: RS.h:145
Definition: RS.h:521
From
End used to specify from which end of a shape to measure a distance.
Definition: RS.h:252
Definition: RS.h:393
Definition: RS.h:564
Definition: RS.h:491
Degrees.
Definition: RS.h:373
Vertical position of dimension label.
Definition: RS.h:450
Dimension text size.
Definition: RS.h:466
Definition: RS.h:496
Definition: RS.h:427
Definition: RS.h:519
Orientation
Definition: RS.h:570
#define REASING_OUTINEXPO
Definition: RS.h:72
Unit
Enum of supported units (values correspond to DXF spec).
Definition: RS.h:305
Definition: RS.h:518
Definition: RS.h:481
Definition: RS.h:584
Diametric Dimension.
Definition: RS.h:162
static bool mapContainsCaseInsensitive(const QMap< QString, T > &map, const QString &key)
Definition: RS.h:662
Definition: RS.h:451
Definition: RS.h:478
Definition: RS.h:407
Block reference with attributes.
Definition: RS.h:142
HAlign
Horizontal alignments.
Definition: RS.h:223
TextDrawingDirection
Text drawing direction.
Definition: RS.h:235
Definition: RS.h:543
Definition: RS.h:485
Definition: RS.h:400
Definition: RS.h:405
Definition: RS.h:186
Archtick size or 0 for arrows.
Definition: RS.h:462
Easing
Definition: RS.h:592
Definition: RS.h:550
Definition: RS.h:404
#define REASING_OUTINCUBIC
Definition: RS.h:56
Definition: RS.h:588
Definition: RS.h:528
Definition: RS.h:454
#define REASING_OUTINBOUNCE
Definition: RS.h:88
Definition: RS.h:390
Decimal places in linear dimensions.
Definition: RS.h:421
Definition: RS.h:433
Definition: RS.h:442
Definition: RS.h:522
Definition: RS.h:459
Definition: RS.h:406
MessageType
Message type for debugging and displaying user messages.
Definition: RS.h:113
Definition: RS.h:538
AngleUnit
Angle Units.
Definition: RS.h:372
Class namespace for various global enums.
Definition: RS.h:107
Definition: RS.h:579
Leader.
Definition: RS.h:170
Definition: RS.h:455
Definition: RS.h:482
Definition: RS.h:484
Definition: RS.h:417
Middle.
Definition: RS.h:215
#define REASING_OUTINQUAD
Definition: RS.h:52
Linear rotated Dimension.
Definition: RS.h:160
Definition: RS.h:384