QCAD
Open Source 2D CAD
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
RTextData.h
Go to the documentation of this file.
1 
20 #ifndef RTEXTDATA_H
21 #define RTEXTDATA_H
22 
23 #include "entity_global.h"
24 
25 #include "RDocument.h"
26 #include "RTextBasedData.h"
27 #include "RVector.h"
28 
38  friend class RTextEntity;
39 
40 protected:
42 
43 public:
44  RTextData();
46  RTextData(const RVector& position,
47  const RVector& alignmentPoint,
48  double textHeight,
49  double textWidth,
50  RS::VAlign verticalAlignment,
51  RS::HAlign horizontalAlignment,
52  RS::TextDrawingDirection drawingDirection,
53  RS::TextLineSpacingStyle lineSpacingStyle,
54  double lineSpacingFactor,
55  const QString& text,
56  const QString& fontName,
57  bool bold,
58  bool italic,
59  double angle,
60  bool simple);
61 };
62 
66 Q_DECLARE_METATYPE(QSharedPointer<RTextData>)
67 Q_DECLARE_METATYPE(QSharedPointer<RTextData>*)
68 
69 #endif