[TD]default LineFormat ctor
This commit is contained in:
@@ -74,6 +74,14 @@ using namespace std;
|
||||
#define COSMETICEDGE 1
|
||||
#define CENTERLINE 2
|
||||
|
||||
LineFormat::LineFormat()
|
||||
{
|
||||
m_style = getDefEdgeStyle();
|
||||
m_weight = getDefEdgeWidth();
|
||||
m_color= getDefEdgeColor();
|
||||
m_visible = true;
|
||||
}
|
||||
|
||||
LineFormat::LineFormat(int style,
|
||||
double weight,
|
||||
App::Color color,
|
||||
|
||||
@@ -44,10 +44,11 @@ class DrawViewPart;
|
||||
class TechDrawExport LineFormat
|
||||
{
|
||||
public:
|
||||
LineFormat(int style = getDefEdgeStyle(),
|
||||
double weight = getDefEdgeWidth(),
|
||||
App::Color color = getDefEdgeColor(),
|
||||
bool visible = true);
|
||||
LineFormat();
|
||||
LineFormat(int style,
|
||||
double weight,
|
||||
App::Color color,
|
||||
bool visible);
|
||||
~LineFormat() = default;
|
||||
|
||||
int m_style;
|
||||
|
||||
Reference in New Issue
Block a user