17 #if !defined(OPENNURBS_ANNOTATION_INC_)
18 #define OPENNURBS_ANNOTATION_INC_
254 ON::eAnnotationType
Type()
const;
344 double Angle()
const {
return m_angle; }
346 double Radius()
const {
return m_radius; }
378 double Height()
const {
return m_height; }
void SetAngle(double angle)
void SetRadius(double radius)
ON_BOOL32 Write(ON_BinaryArchive &file) const
ON_AngularDimension(const ON_AngularDimension &)
ON_BOOL32 Read(ON_BinaryArchive &file)
ON_AngularDimension & operator=(const ON_AngularDimension &)
ON_BOOL32 IsRealObject() const
ON_3dVector Vector() const
ON_BOOL32 Transform(const ON_Xform &)
ON_BOOL32 IsValid(ON_TextLog *text_log=NULL) const
ON_BOOL32 GetBBox(double *, double *, ON_BOOL32=false) const
ON_AnnotationArrow & operator=(const ON_AnnotationArrow &)
ON_BOOL32 Read(ON_BinaryArchive &)
void Dump(ON_TextLog &) const
ON::object_type ObjectType() const
ON_BOOL32 Write(ON_BinaryArchive &) const
ON_AnnotationArrow(const ON_AnnotationArrow &)
virtual ON_BOOL32 IsRealObject() const =0
ON_Annotation(const ON_Annotation &)
ON_Annotation & operator=(const ON_Annotation &)
bool GeWCStoECSXform(ON_Xform &xform) const
bool GetECStoWCSXform(ON_Xform &xform) const
ON_BOOL32 Write(ON_BinaryArchive &) const
ON_BOOL32 Transform(const ON_Xform &)
ON_2dPoint Point(int idx) const
bool m_userpositionedtext
virtual double NumericValue() const
void SetTextDisplayMode(ON::eTextDisplayMode mode)
ON_BOOL32 Read(ON_BinaryArchive &)
ON::eAnnotationType m_type
virtual void SetTextToDefault()
const ON_wString & DefaultText() const
void Dump(ON_TextLog &) const
void SetPlane(const ON_Plane &plane)
ON_BOOL32 IsValid(ON_TextLog *text_log=NULL) const
ON::eTextDisplayMode m_textdisplaymode
void SetPoint(int idx, ON_3dPoint point)
void SetType(ON::eAnnotationType type)
ON::eTextDisplayMode TextDisplayMode() const
void SetUserText(const wchar_t *string)
void SetDefaultText(const wchar_t *string)
bool UserPositionedText() const
ON_SimpleArray< ON_2dPoint > m_points
ON_BOOL32 GetBBox(double *, double *, ON_BOOL32=false) const
ON::eAnnotationType Type() const
static const ON_3dmAnnotationSettings & AnnotationSettings()
ON::object_type ObjectType() const
void SetUserPositionedText(int bUserPositionedText)
static void SetAnnotationSettings(const ON_3dmAnnotationSettings *)
const ON_SimpleArray< ON_2dPoint > & Points() const
void SetPoints(const ON_SimpleArray< ON_2dPoint > &points)
const ON_wString & UserText() const
ON_BOOL32 IsValid(ON_TextLog *text_log=NULL) const
ON_AnnotationTextDot(const ON_AnnotationTextDot &)
ON_AnnotationTextDot & operator=(const ON_AnnotationTextDot &)
ON_BOOL32 Read(ON_BinaryArchive &)
void Dump(ON_TextLog &) const
ON_BOOL32 Write(ON_BinaryArchive &) const
ON_BOOL32 IsRealObject() const
ON_Leader & operator=(const ON_Leader &)
ON_Leader(const ON_Leader &)
ON_BOOL32 IsRealObject() const
ON_LinearDimension(const ON_LinearDimension &)
ON_LinearDimension & operator=(const ON_LinearDimension &)
ON_RadialDimension(const ON_RadialDimension &)
ON_RadialDimension & operator=(const ON_RadialDimension &)
ON_BOOL32 IsRealObject() const
ON_wString FaceName() const
ON_BOOL32 Read(ON_BinaryArchive &file)
void SetHeight(double height)
ON_TextEntity & operator=(const ON_TextEntity &)
void SetFontWeight(int weight)
ON_BOOL32 Write(ON_BinaryArchive &file) const
void SetFaceName(ON_wString string)
ON_TextEntity(const ON_TextEntity &)
ON_BOOL32 IsRealObject() const