Sync changes from upstream repository

Co-authored-by: croudyj <croudyj@gmail.com>
Co-authored-by: Dale Fugier <dale@mcneel.com>
Co-authored-by: Dale Lear <dalelear@mcneel.com>
Co-authored-by: piac <giulio@mcneel.com>
Co-authored-by: Steve Baer <steve@mcneel.com>
This commit is contained in:
Bozo The Builder
2022-12-01 15:03:41 -08:00
parent 31c37dea1a
commit 2db8cc1d8a
21 changed files with 1903 additions and 994 deletions

View File

@@ -424,8 +424,31 @@ public:
#pragma endregion
// Per object linetype scale
double LinetypeScale() const;
void SetLinetypeScale(double scale);
double LinetypePatternScale() const;
void SetLinetypePatternScale(double scale);
/*
Description:
Attributes can have optional custom linetypes associated with them. When a
custom linetype is attached to an attribute, this linetype is used for an
attribute instead of the linetype referenced by the linetype index. This
function adds a custom linetype for this attribute.
*/
void SetCustomLinetype(const ON_Linetype& linetype);
/*
Description:
Attributes can have optional custom linetypes associated with them. This
function returns the custom linetype if one exists. If a custom linetype is
not attached to this attribute, then an empty shared pointer is returned
*/
const ON_Linetype* CustomLinetype() const;
/*
Description:
Remove any custom linetype associated with this attribute
*/
void RemoveCustomLinetype();
#pragma region Hatch Specific Attributes
ON_Color HatchBackgroundFillColor() const;
@@ -434,6 +457,7 @@ public:
void SetHatchBoundaryVisible(bool on);
#pragma endregion
ON_Plane ObjectFrame(const ON_COMPONENT_INDEX& ci) const;
void SetObjectFrame(const ON_COMPONENT_INDEX& ci, const ON_Xform& wcs_to_ocs);
void SetObjectFrame(const ON_COMPONENT_INDEX& ci, const ON_Plane& plane);