*/
HYDRODATA_EXPORT virtual QVariant GetDataVariant();
+ /**
+ * Returns default wire color for new polyline.
+ */
+ HYDRODATA_EXPORT static QColor DefaultWireColor();
+
public:
/**
/**
* Returns the presentation of polyline section in Qt maner.
*/
- HYDRODATA_EXPORT static QPainterPath BuildPainterPath( const SectionType& theType,
- const bool& theIsClosed,
- const NCollection_Sequence<gp_XYZ>& thePoints );
+ HYDRODATA_EXPORT static void BuildPainterPath( QPainterPath& thePath,
+ const SectionType& theType,
+ const bool& theIsClosed,
+ const NCollection_Sequence<gp_XYZ>& thePoints );
public: