34 #define MAX_LEADER_NUMBER 5000
35 #define MAX_LEADERLINE_NUMBER 5000
68 kMoveContentAndDoglegPoints
103 kMTextUnderLineMark = kMTextMark + 1,
108 kToleranceMark = kMTextUnderLineMark + 1,
113 kBlockMark = kToleranceMark + 1,
118 kBlockAttribute = kBlockMark + 1
133 kLeaderLineColor = 1,
138 kLeaderLineTypeId = 2,
143 kLeaderLineWeight = 3,
188 kTextLeftAttachmentType = 12,
198 kTextAlignmentType = 14,
213 kEnableFrameText = 17,
243 kBlockConnectionType = 23,
253 kTextRightAttachmentType = 25,
258 kTextSwitchAlignmentType = 26,
263 kTextAttachmentDirection = 27,
268 kTextTopAttachmentType = 28,
273 kTextBottomAttachmentType = 29,
278 kExtendLeaderToText = 30,
283 kSize = kExtendLeaderToText + 1
388 bool isOverride =
true);
476 bool bAutoSwitchDogleg =
true);
493 void getLeaderIndexes(
523 void getLeaderLineIndexes(
534 int& leaderLineIndex);
547 int& leaderLineIndex);
557 void removeLeaderLine(
558 int leaderLineIndex);
578 int leaderLineIndex);
632 int leaderLineIndex);
718 void getLeaderLineIndexes(
728 void setDoglegDirection(
739 void getDoglegDirection(
752 void setLeaderLineType(
769 void setLeaderLineColor(
786 void setLeaderLineTypeId(
803 void setLeaderLineWeight(
826 double landingGap() const;
837 void setEnableLanding(
843 bool enableLanding() const;
854 void setEnableDogleg(
860 bool enableDogleg() const;
872 void setDoglegLength(
874 double dDoglegLength);
887 double doglegLength () const;
899 void setArrowSymbolId(
922 double arrowSize() const;
968 void setTextAttachmentType(
989 void setTextAngleType(
1006 void setTextAlignmentType(
1045 double textHeight() const;
1056 void setEnableFrameText(
1057 bool enableFrameText);
1062 bool enableFrameText() const;
1091 void setBlockContentId(
1142 void setBlockRotation(
1148 double blockRotation() const;
1160 void setBlockConnectionType(
1174 void setEnableAnnotationScale(
1175 bool enableAnnotationScale);
1180 bool enableAnnotationScale() const;
1187 void setMLeaderStyle(
1215 void* pContextDataManager);
1220 void* getContextDataManager() const;
1227 void setBlockPosition(
1235 void getBlockPosition(
1243 void setTextLocation(
1251 void getTextLocation(
1284 void setArrowSymbolId(
1285 int leaderLineIndex,
1294 int leaderLineIndex) const;
1299 bool hasContent() const;
1361 int leaderLineIndex) const;
1382 void setTextAttachmentDirection(
1398 kOverrideLeaderType = 0,
1418 kOverrideArrowSymbolId
1444 int leaderLineIndex,
1453 int leaderLineIndex)
const;
1466 int leaderLineIndex,
1475 int leaderLineIndex)
const;
1488 int leaderLineIndex,
1497 int leaderLineIndex)
const;
1510 int leaderLineIndex,
1519 int leaderLineIndex)
const;
1532 int leaderLineIndex,
1541 int leaderLineIndex)
const;
OdSmartPtr< OdDbMLeader > OdDbMLeaderPtr
#define MAX_LEADERLINE_NUMBER
OdSmartPtr< OdDbMLeaderRecomputePE > OdDbMLeaderRecomputePEPtr
OdUInt32 TOOLKIT_EXPORT OdDbMLeader_setRecomputeFlags(OdDbMLeader *pMLeader, OdUInt32 flags)
** { Secret } */
TOOLKIT_EXPORT void fxMLeaderRecompute(OdDbMLeader *pMLeader)
#define MAX_LEADER_NUMBER
OdCmColor leaderLineColor(int leaderLineIndex) const
OdDb::LineWeight leaderLineWeight(int leaderLineIndex) const
virtual OdResult dwgInFields(OdDbDwgFiler *filer) ODRX_OVERRIDE
virtual OdResult subGetSubentPathsAtGsMarker(OdDb::SubentType type, OdGsMarker gsMark, const OdGePoint3d &pickPoint, const OdGeMatrix3d &xfm, OdDbFullSubentPathArray &subentPaths, const OdDbObjectIdArray *pEntAndInsertStack=0) const ODRX_OVERRIDE
void setLeaderLineWeight(int leaderLineIndex, OdDb::LineWeight leaderLineWeight)
void setLeaderLineColor(int leaderLineIndex, const OdCmColor &leaderLineColor)
OdDbMLeaderStyle::LeaderType leaderLineType(int leaderLineIndex) const
ODDB_DECLARE_MEMBERS(OdDbMLeader)
virtual void dxfOutFields(OdDbDxfFiler *filer) const ODRX_OVERRIDE
@ kMoveAllExceptArrowHeaderPoints
virtual bool subWorldDraw(OdGiWorldDraw *pWd) const ODRX_OVERRIDE
virtual OdResult subMoveGripPointsAt(const OdIntArray &indices, const OdGeVector3d &offset)
virtual void copyFrom(const OdRxObject *pSource) ODRX_OVERRIDE
void setArrowSize(int leaderLineIndex, double arrowSize)
void setLeaderLineType(int leaderLineIndex, OdDbMLeaderStyle::LeaderType leaderLineType)
bool extendLeaderToText() const
virtual OdResult dxfInFields(OdDbDxfFiler *filer) ODRX_OVERRIDE
void setLeaderLineTypeId(int leaderLineIndex, OdDbObjectId leaderLineTypeId)
virtual OdDbObjectPtr subDeepClone(OdDbIdMapping &ownerIdMap, OdDbObject *pObj, bool bPrimary) const ODRX_OVERRIDE
virtual void modified(const OdDbObject *pObj) ODRX_OVERRIDE
bool isOverride(int leaderLineIndex, LeaderLineOverrideType value)
virtual void subSetDatabaseDefaults(OdDbDatabase *pDb, bool doSubents) ODRX_OVERRIDE
virtual void dwgOutFields(OdDbDwgFiler *filer) const ODRX_OVERRIDE
virtual OdDbObjectPtr subWblockClone(OdDbIdMapping &ownerIdMap, OdDbObject *pObj, bool bPrimary) const ODRX_OVERRIDE
virtual void subViewportDraw(OdGiViewportDraw *mode) const ODRX_OVERRIDE
virtual OdUInt32 subSetAttributes(OdGiDrawableTraits *pTraits) const ODRX_OVERRIDE
void setExtendLeaderToText(bool bSet)
virtual OdResult subTransformBy(const OdGeMatrix3d &xform) ODRX_OVERRIDE
OdDbObjectId leaderLineTypeId(int leaderLineIndex) const
double arrowSize(int leaderLineIndex) const
virtual OdResult recomputeBreakPoints(OdDbMLeader *pMLeader)=0
ODRX_DECLARE_MEMBERS(OdDbMLeaderRecomputePE)
GLuint GLsizei GLsizei GLint GLenum * type
GLsizei const GLfloat * value
@ kNone
Light mode is inherited from the annotation.