17 #if !defined(OPENNURBS_DIMSTYLE_INC_) 
   18 #define OPENNURBS_DIMSTYLE_INC_ 
   95   const wchar_t* 
Name() 
const;
 
  219     fn_angularunits                = 10,
 
  220     fn_lengthformat                = 11,
 
  222     fn_angleresolution             = 13,
 
  223     fn_lengthresolution            = 14,
 
  225     fn_lengthfactor                = 16,
 
  227     fn_alternate_lengthfactor      = 18,
 
  228     fn_alternate_lengthformat      = 19, 
 
  229     fn_alternate_lengthresolution  = 20,
 
  230     fn_alternate_angleformat       = 21, 
 
  231     fn_alternate_angleresolution   = 22,
 
  234     fn_alternate_prefix            = 25,
 
  235     fn_alternate_suffix            = 26,
 
  236     fn_dimextension                = 27,
 
  237     fn_leaderarrowsize             = 28,
 
  238     fn_leaderarrowtype             = 29,
 
  239     fn_suppressextension1          = 30,
 
  240     fn_suppressextension2          = 31,
 
  245     fn_overall_scale               = 33,
 
  246     fn_ext_line_color_source       = 34,
 
  247     fn_dim_line_color_source       = 35,
 
  248     fn_arrow_color_source          = 36,
 
  249     fn_text_color_source           = 37,
 
  250     fn_ext_line_color              = 38,
 
  251     fn_dim_line_color              = 39,
 
  254     fn_ext_line_plot_color_source  = 42,
 
  255     fn_dim_line_plot_color_source  = 43,
 
  256     fn_arrow_plot_color_source     = 44,
 
  257     fn_text_plot_color_source      = 45,
 
  258     fn_ext_line_plot_color         = 46,
 
  259     fn_dim_line_plot_color         = 47,
 
  260     fn_arrow_plot_color            = 48,
 
  261     fn_text_plot_color             = 49,
 
  262     fn_ext_line_plot_weight_source = 50,
 
  263     fn_dim_line_plot_weight_source = 51,
 
  264     fn_ext_line_plot_weight_mm     = 52,
 
  265     fn_dim_line_plot_weight_mm     = 53,
 
  266     fn_tolerance_style             = 54,
 
  267     fn_tolerance_resolution        = 55,
 
  268     fn_tolerance_upper_value       = 56,
 
  269     fn_tolerance_lower_value       = 57,
 
  270     fn_tolerance_height_scale      = 58,
 
  271     fn_baseline_spacing            = 59,
 
  276     fn_mask_color_source           = 61,
 
  283     fn_dimscale_source             = 65,
 
  288     fn_really_last                 = 0xFFFF
 
  449   unsigned int m_valid;        
 
void SetMaskColorSource(int source)
bool HasOverrides() const
bool OverrideFields(const ON_DimStyle &source, const ON_DimStyle &parent)
void SetSuffix(wchar_t *)
void SetAlternateSuffix(const wchar_t *)
void SetDrawTextMask(bool bDraw)
void SetPrefix(wchar_t *)
void SetDimScale(double scale)
ON_BOOL32 IsValid(ON_TextLog *text_log=NULL) const
int ToleranceStyle() const
ON_BOOL32 Write(ON_BinaryArchive &) const
bool InheritFields(const ON_DimStyle &parent)
double BaselineSpacing() const
ON_DimStyle & operator=(const ON_3dmAnnotationSettings &src)
ON_UUID ModelObjectId() const
ON_wString m_dimstyle_name
ON_DEPRECATED void InvalidateAllFields()
static double DefaultToleranceUpperValue()
void SetName(const wchar_t *)
static double DefaultToleranceLowerValue()
static bool DefaultDrawTextMask()
double m_alternate_lengthfactor
double LeaderArrowSize() const
void SetArrowType(eArrowType)
int AlternateLengthFormat() const
void SetLeaderArrowType(eArrowType)
int LengthResolution() const
void SetLengthFormat(int)
void SetSourceDimstyle(ON_UUID source_uuid)
int m_alternate_lengthformat
void SetTextAlignment(ON::eTextDisplayMode)
int m_alternate_angleformat
int LeaderArrowType() const
void SetSuppressExtension2(bool)
int TextAlignment() const
int MaskColorSource() const
ON_wString m_alternate_suffix
const class ON_DimStyleExtra * DimStyleExtension() const
void SetLeaderArrowSize(const double)
int AlternateLengthResolution() const
void SetAngleResolution(int)
double ToleranceLowerValue() const
void GetName(ON_wString &) const
static ON_Color DefaultMaskColor()
static int DefaultToleranceStyle()
void GetPrefix(ON_wString &) const
double CenterMark() const
void GetSuffix(ON_wString &) const
void SetDimExtension(const double)
double TextHeight() const
void SetAlternatePrefix(const wchar_t *)
void SetDimScaleSource(int source)
ON_DEPRECATED void ValidateField(eField field)
int AlternateAngleFormat() const
int ToleranceResolution() const
bool IsFieldOverride(eField field_id) const
bool SuppressExtension1() const
void SetTextGap(double gap)
int AlternateAngleResolution() const
int m_alternate_lengthresolution
static double DefaultDimScale()
void SetToleranceHeightScale(double scale)
void SetAlternateLengthResolution(int)
ON_UUID SourceDimstyle() const
void SetAlternateSuffix(wchar_t *)
double ToleranceHeightScale() const
bool IsChildDimstyle() const
void SetAlternateAngleFormat(int)
static int DefaultToleranceResolution()
double LengthFactor() const
virtual void SetFontIndex(int index)
void SetToleranceLowerValue(double lower_value)
int DimScaleSource() const
void SetLengthResolution(int)
ON_DEPRECATED void Composite(const ON_DimStyle &override)
void SetAlternateLengthFactor(double)
bool SuppressExtension2() const
class ON_DimStyleExtra * DimStyleExtension()
void SetArrowSize(const double)
bool m_bSuppressExtension2
void SetTextHeight(double height)
ON_BOOL32 Read(ON_BinaryArchive &)
double DimExtension() const
const wchar_t * Suffix() const
ON_DEPRECATED void SetLengthactor(double)
void SetToleranceResolution(int resolution)
int AngleResolution() const
void SetToleranceStyle(int style)
ON_DEPRECATED void SetParent(ON_UUID &parent_uuid)
ON_DEPRECATED void InvalidateField(eField field)
void SetAngularUnits(int)
void SetAlternatePrefix(wchar_t *)
ON_DEPRECATED bool IsFieldValid(eField) const
static int DefaultDimScaleSource()
const wchar_t * AlternatePrefix() const
const wchar_t * Name() const
void SetFieldOverride(ON_DimStyle::eField field_id, bool bOverride)
bool m_bSuppressExtension1
void SetMaskColor(ON_Color color)
void SetParentId(ON_UUID parent_uuid)
void SetSuppressExtension1(bool)
void SetToleranceUpperValue(double upper_value)
void SetCenterMark(const double)
void SetName(const char *)
const wchar_t * AlternateSuffix() const
int m_alternate_angleresolution
static double DefaultToleranceHeightScale()
static int DefaultMaskColorSource()
void SetExtOffset(const double)
bool CompareFields(const ON_DimStyle &other) const
static double DefaultBaselineSpacing()
ON_wString m_alternate_prefix
bool DrawTextMask() const
void SetPrefix(const wchar_t *)
void SetBaselineSpacing(double spacing=false)
void SetAlternateAngleResolution(int)
ON_Color MaskColor() const
bool IsChildOf(const ON_UUID &parent_uuid) const
double ExtExtension() const
void Dump(ON_TextLog &) const
void SetAlternateLengthFormat(int)
double MaskOffsetFactor() const
void GetAlternateSuffix(ON_wString &) const
void SetExtExtension(const double)
double ToleranceUpperValue() const
double AlternateLengthFactor() const
void SetLengthFactor(double)
void GetAlternatePrefix(ON_wString &) const
void SetSuffix(const wchar_t *)
void SetDefaultsNoExtension()
ON_DEPRECATED void SetAlternateLengthactor(double)
bool IsChildOf(ON_UUID &parent_uuid) const
const wchar_t * Prefix() const