| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| |
|
| | #ifndef RS_H |
| | #define RS_H |
| |
|
| | #include <cstddef> |
| |
|
| | |
| |
|
| | |
| | #define RS_MAXDOUBLE 1.0E+10 |
| | #define RS_MINDOUBLE -1.0E+10 |
| | |
| | #define RS_TOLERANCE 1.0e-10 |
| | |
| | #define RS_TOLERANCE15 1.5e-15 |
| | #define RS_TOLERANCE2 1.0e-20 |
| | #define RS_TOLERANCE_ANGLE 1.0e-8 |
| |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | namespace RS2 { |
| |
|
| | |
| | |
| | |
| | enum Flags : unsigned { |
| | |
| | FlagUndone = 1<<0, |
| | |
| | FlagVisible = 1<<1, |
| | |
| | FlagByLayer = 1<<2, |
| | |
| | FlagByBlock = 1<<3, |
| | |
| | FlagFrozen = 1<<4, |
| | |
| | FlagDefFrozen = 1<<5, |
| | |
| | FlagLocked = 1<<6, |
| | |
| | FlagInvalid = 1<<7, |
| | |
| | FlagSelected = 1<<8, |
| | |
| | FlagClosed = 1<<9, |
| | |
| | FlagTemp = 1<<10, |
| | |
| | FlagProcessed = 1<<11, |
| | |
| | FlagSelected1 = 1<<12, |
| | |
| | FlagSelected2 = 1<<13, |
| | |
| | FlagHighlighted = 1<<14, |
| | FlagTransparent = 1<<15, |
| | FlagHatchChild = 1<<16 |
| | }; |
| |
|
| | |
| | |
| | |
| | enum VariableType { |
| | VariableString, |
| | VariableInt, |
| | VariableDouble, |
| | VariableVector, |
| | VariableVoid |
| | }; |
| |
|
| | |
| | |
| | |
| | |
| | enum FormatType { |
| | FormatUnknown, |
| | FormatDXF1, |
| | FormatDXFRW2018, |
| | FormatDXFRW, |
| | FormatDXFRW2004, |
| | FormatDXFRW2000, |
| | FormatDXFRW14, |
| | FormatDXFRW12, |
| | #ifdef DWGSUPPORT |
| | FormatDWG, |
| | #endif |
| | FormatLFF, |
| | FormatCXF, |
| | FormatJWW, |
| | FormatJWC |
| | }; |
| |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | enum EntityType : unsigned { |
| | EntityUnknown, |
| | EntityContainer, |
| | EntityBlock, |
| | EntityFontChar, |
| | EntityInsert, |
| | EntityGraphic, |
| | EntityPoint, |
| | EntityLine, |
| | EntityPolyline, |
| | EntityVertex, |
| | EntityArc, |
| | EntityCircle, |
| | EntityEllipse, |
| | EntityHyperbola, |
| | EntitySolid, |
| | EntityConstructionLine, |
| | EntityMText, |
| | EntityText, |
| | EntityDimAligned, |
| | EntityDimLinear, |
| | EntityDimRadial, |
| | EntityDimDiametric, |
| | EntityDimAngular, |
| | EntityDimArc, |
| | EntityDimOrdinate, |
| | EntityTolerance, |
| | EntityDimLeader, |
| | EntityHatch, |
| | EntityImage, |
| | EntitySpline, |
| | EntitySplinePoints, |
| | EntityParabola, |
| | EntityOverlayBox, |
| | EntityPreview, |
| | EntityPattern, |
| | EntityOverlayLine, |
| | EntityRefPoint, |
| | EntityRefLine, |
| | EntityRefConstructionLine, |
| | EntityRefArc, |
| | EntityRefCircle, |
| | EntityRefEllipse, |
| | EntityDimArrowBlock |
| | }; |
| |
|
| |
|
| | inline bool isDimensionalEntity(EntityType type) { |
| | return (type >= EntityDimAligned) && (type <= EntityDimLeader); |
| | } |
| |
|
| | inline bool isTextEntity(EntityType type) { |
| | return (type == EntityText) || (type == EntityMText); |
| | } |
| |
|
| |
|
| | |
| | |
| | |
| | enum ActionType { |
| | ActionNone, |
| |
|
| | ActionDefault, |
| | ActionFileNew, |
| | ActionFileNewTemplate, |
| | ActionFileOpen, |
| | ActionFileExport, |
| | ActionFileClose, |
| | ActionFilePrint, |
| | ActionFilePrintPDF, |
| | ActionFilePrintPreview, |
| | ActionFileExportMakerCam, |
| | ActionFileQuit, |
| |
|
| | ActionEditKillAllActions, |
| | ActionEditUndo, |
| | ActionEditRedo, |
| | ActionEditCut, |
| | ActionEditCutNoSelect, |
| | ActionEditCutQuick, |
| | ActionEditCopy, |
| | ActionEditCopyQuick, |
| | ActionEditPaste, |
| | ActionEditPasteTransform, |
| | ActionOrderNoSelect, |
| | ActionOrderBottom, |
| | ActionOrderLower, |
| | ActionOrderRaise, |
| | ActionOrderTop, |
| | ActionViewStatusBar, |
| | ActionViewLayerList, |
| | ActionViewBlockList, |
| | ActionViewCommandLine, |
| | ActionViewLibrary, |
| |
|
| | ActionViewPenToolbar, |
| | ActionViewOptionToolbar, |
| | ActionViewCadToolbar, |
| | ActionViewFileToolbar, |
| | ActionViewEditToolbar, |
| | ActionViewSnapToolbar, |
| | ActionViewGrid, |
| | ActionViewDraft, |
| | ActionZoomIn, |
| | ActionZoomOut, |
| | ActionZoomAuto, |
| | ActionZoomWindow, |
| | ActionZoomPan, |
| | ActionZoomRedraw, |
| | ActionZoomPrevious, |
| | ActionZoomScroll, |
| | ActionSelect, |
| | ActionSelectSingle, |
| | ActionSelectContour, |
| | ActionSelectWindow, |
| | ActionDeselectWindow, |
| | ActionSelectAll, |
| | ActionDeselectAll, |
| | ActionSelectIntersected, |
| | ActionDeselectIntersected, |
| | ActionSelectInvert, |
| | ActionSelectLayer, |
| | ActionSelectDouble, |
| | ActionGetSelect, |
| | ActionGetEntity, |
| |
|
| | ActionEntityInfoSelectSingle, |
| |
|
| | ActionDrawArc, |
| | ActionDrawArcChord, |
| | ActionDrawArcAngleLen, |
| | ActionDrawArc3P, |
| | ActionDrawArc2PAngle, |
| | ActionDrawArc2PRadius, |
| | ActionDrawArc2PLength, |
| | ActionDrawArc2PHeight, |
| | ActionDrawArcParallel, |
| | ActionDrawArcTangential, |
| | ActionDrawCircle, |
| | ActionDrawCircle2P, |
| | ActionDrawCircle2PR, |
| | ActionDrawCircle3P, |
| | ActionDrawCircleCR, |
| | ActionDrawCircleParallel, |
| | ActionDrawCircleInscribe, |
| | ActionDrawCircleTan2_1P, |
| | ActionDrawCircleTan1_2P, |
| | ActionDrawCircleTan2, |
| | ActionDrawCircleTan3, |
| | ActionDrawCircleByArc, |
| |
|
| | ActionDrawEllipseArcAxis, |
| | ActionDrawEllipseAxis, |
| | ActionDrawEllipseFociPoint, |
| | ActionDrawEllipse4Points, |
| | ActionDrawEllipseCenter3Points, |
| | ActionDrawEllipseInscribe, |
| | ActionDrawEllipse1Point, |
| | ActionDrawEllipseArc1Point, |
| |
|
| | ActionDrawHyperbolaFP, |
| |
|
| | ActionDrawParabola4Points, |
| | ActionDrawParabolaFD, |
| |
|
| | ActionDrawHatch, |
| | ActionDrawImage, |
| | ActionDrawLine, |
| | ActionDrawLineAngle, |
| | ActionDrawLineBisector, |
| | ActionDrawLineFree, |
| | ActionDrawLineHorVert, |
| | ActionDrawLineHorizontal, |
| | ActionDrawLineOrthogonal, |
| | ActionDrawLineOrthTan, |
| | ActionDrawLineParallel, |
| | ActionDrawLineParallelThrough, |
| | ActionDrawLinePolygonCenCor, |
| | ActionDrawLinePolygonCenTan, |
| | ActionDrawLinePolygonCorCor, |
| | ActionDrawLinePolygonSideSide, |
| | ActionDrawLineRectangle, |
| | ActionDrawLineRelAngle, |
| | ActionDrawLineTangent1, |
| | ActionDrawLineTangent2, |
| | ActionDrawLineVertical, |
| | ActionDrawLineMiddle, |
| | ActionDrawMText, |
| | ActionDrawPoint, |
| | ActionDrawSpline, |
| | ActionDrawSplinePoints, |
| | ActionDrawSplinePointRemove, |
| | ActionDrawSplinePointDelTwo, |
| | ActionDrawSplinePointAppend, |
| | ActionDrawSplinePointAdd, |
| | ActionDrawSplineExplode, |
| | ActionDrawSplineFromPolyline, |
| | ActionDrawPolyline, |
| | ActionDrawText, |
| | ActionDrawBoundingBox, |
| |
|
| | ActionDrawRectangle3Points, |
| | ActionDrawRectangle1Point, |
| | ActionDrawRectangle2Points, |
| | ActionDrawSnakeLine, |
| | ActionDrawSnakeLineX, |
| | ActionDrawSnakeLineY, |
| | ActionDrawCross, |
| | ActionDrawLineAngleRel, |
| | ActionDrawLineOrthogonalRel, |
| | ActionDrawLineFromPointToLine, |
| | ActionDrawSliceDivideLine, |
| | ActionDrawSliceDivideCircle, |
| | ActionDrawLinePoints, |
| | ActionDrawPointsMiddle, |
| | ActionDrawPointsLattice, |
| | ActionSelectPoints, |
| | ActionPasteToPoints, |
| |
|
| | ActionDrawStar, |
| |
|
| | ActionPolylineAdd, |
| | ActionPolylineAppend, |
| | ActionPolylineDel, |
| | ActionPolylineDelBetween, |
| | ActionPolylineTrim, |
| | ActionPolylineEquidistant, |
| | ActionPolylineSegment, |
| | ActionPolylineArcsToLines, |
| | ActionPolylineChangeSegmentType, |
| |
|
| | ActionDimAligned, |
| | ActionDimLinear, |
| | ActionDimLinearVer, |
| | ActionDimLinearHor, |
| | ActionDimRadial, |
| | ActionDimDiametric, |
| | ActionDimAngular, |
| | ActionDimArc, |
| | ActionDimLeader, |
| | ActionDimBaseline, |
| | ActionDimContinue, |
| | ActionDimOrdinate, |
| | ActionDimStyleApply, |
| | ActionDimModify, |
| |
|
| | ActionModifyAttributes, |
| | ActionModifyDelete, |
| | ActionModifyDeleteQuick, |
| | ActionModifyDeleteFree, |
| | ActionModifyMove, |
| | ActionModifyMoveAdjust, |
| | ActionModifyRotate, |
| | ActionModifyScale, |
| | ActionModifyMirror, |
| | ActionModifyMoveRotate, |
| | ActionModifyRevertDirection, |
| | ActionModifyRotate2, |
| | ActionModifyEntity, |
| | ActionModifyTrim, |
| | ActionModifyTrim2, |
| | ActionModifyTrimAmount, |
| | ActionModifyCut, |
| | ActionModifyStretch, |
| | ActionModifyBevel, |
| | ActionModifyRound, |
| | ActionModifyOffset, |
| | ActionModifyLineJoin, |
| | ActionModifyDuplicate, |
| | ActionModifyBreakDivide, |
| | ActionModifyLineGap, |
| | ActionModifyAlign, |
| | ActionModifyAlignOne, |
| | ActionModifyAlignRef, |
| |
|
| | ActionSnapFree, |
| | ActionSnapGrid, |
| | ActionSnapEndpoint, |
| | ActionSnapOnEntity, |
| | ActionSnapCenter, |
| | ActionSnapMiddle, |
| | ActionSnapDist, |
| | ActionSnapMiddleManual, |
| | ActionSnapIntersection, |
| | ActionSnapIntersectionManual, |
| |
|
| | ActionRestrictNothing, |
| | ActionRestrictOrthogonal, |
| | ActionRestrictHorizontal, |
| | ActionRestrictVertical, |
| |
|
| | ActionSetRelativeZero, |
| | ActionLockRelativeZero, |
| | ActionUnlockRelativeZero, |
| |
|
| | ActionInfoPoint, |
| | ActionInfoInside, |
| | ActionInfoDistPoint2Point, |
| | ActionInfoDistEntity2Point, |
| | ActionInfoDistPoint2Entity, |
| | ActionInfoAngle, |
| | ActionInfoTotalLength, |
| | ActionInfoArea, |
| | ActionInfoProperties, |
| | ActionInfoPickCoordinates, |
| | ActionInfoAngle3Points, |
| |
|
| | ActionLayersDefreezeAll, |
| | ActionLayersFreezeAll, |
| | ActionLayersUnlockAll, |
| | ActionLayersLockAll, |
| | ActionLayersAdd, |
| | ActionLayersAddCmd, |
| | ActionLayersActivateCmd, |
| | ActionLayersRemove, |
| | ActionLayersEdit, |
| | ActionLayersToggleView, |
| | ActionLayersToggleLock, |
| | ActionLayersTogglePrint, |
| | ActionLayersToggleConstruction, |
| | ActionLayersExportSelected, |
| | ActionLayersExportVisible, |
| |
|
| | ActionLayerEntityActivate, |
| | ActionLayerEntityToggleView, |
| | ActionLayerEntityHideOthers, |
| | ActionLayerEntityTogglePrint, |
| | ActionLayerEntityToggleConstruction, |
| | ActionLayerEntityToggleLock, |
| |
|
| | ActionBlocksDefreezeAll, |
| | ActionBlocksFreezeAll, |
| | ActionBlocksAdd, |
| | ActionBlocksRemove, |
| | ActionBlocksAttributes, |
| | ActionBlocksEdit, |
| | ActionBlocksSave, |
| | ActionBlocksInsert, |
| | ActionBlocksToggleView, |
| | ActionBlocksCreate, |
| | ActionBlocksExplode, |
| | ActionBlocksImport, |
| |
|
| | ActionModifyExplodeText, |
| | ActionLibraryInsert, |
| |
|
| | ActionOptionsGeneral, |
| | ActionOptionsDrawing, |
| | ActionOptionsDrawingGrid, |
| | ActionOptionsDrawingUnits, |
| |
|
| | ActionDimRegenerate, |
| |
|
| | ActionScriptOpenIDE, |
| | ActionScriptRun, |
| |
|
| | ActionPenPick, |
| | ActionPenPickResolved, |
| | ActionPenApply, |
| | ActionPenCopy, |
| | ActionPenSyncFromLayer, |
| |
|
| |
|
| | ActionUCSCreate, |
| | ActionUCSSetByDimOrdinate, |
| | ActionDimOrdByOriginSelect, |
| | ActionDimOrdRebase, |
| | ActionGTDFCFrame, |
| |
|
| | ActionInteractivePickPoint, |
| | ActionInteractivePickLength, |
| | ActionInteractivePickAngle, |
| | |
| | ActionLast |
| | }; |
| |
|
| | inline bool isInteractiveInputAction(ActionType type) { |
| | return type == ActionInteractivePickPoint || |
| | type == ActionInteractivePickLength || |
| | type == ActionInteractivePickAngle; |
| | } |
| |
|
| | |
| | |
| | |
| | enum Ending { |
| | EndingStart, |
| | EndingEnd, |
| | EndingNone |
| | }; |
| |
|
| | |
| | |
| | |
| | |
| | enum UpdateMode { |
| | NoUpdate, |
| | Update, |
| | PreviewUpdate |
| | }; |
| |
|
| | |
| | |
| | |
| | enum DrawingMode { |
| | ModeFull, |
| | ModeAuto, |
| | ModePreview, |
| | ModeBW, |
| | ModeWB, |
| | }; |
| |
|
| | |
| | |
| | |
| | enum UndoableType { |
| | UndoableUnknown, |
| | UndoableEntity, |
| | UndoableLayer |
| | }; |
| |
|
| | |
| | |
| | |
| | enum Unit { |
| | None = 0, |
| | Inch = 1, |
| | Foot = 2, |
| | Mile = 3, |
| | Millimeter = 4, |
| | Centimeter = 5, |
| | Meter = 6, |
| | Kilometer = 7, |
| | Microinch = 8, |
| | Mil = 9, |
| | Yard = 10, |
| | Angstrom = 11, |
| | Nanometer = 12, |
| | Micron = 13, |
| | Decimeter = 14, |
| | Decameter = 15, |
| | Hectometer = 16, |
| | Gigameter = 17, |
| | Astro = 18, |
| | Lightyear = 19, |
| | Parsec = 20, |
| |
|
| | LastUnit = 21 |
| | }; |
| |
|
| |
|
| | |
| | |
| | |
| | enum LinearFormat { |
| | |
| | Scientific, |
| | |
| | Decimal, |
| | |
| | Engineering, |
| | |
| | Architectural, |
| | |
| | Fractional, |
| | |
| | ArchitecturalMetric |
| | }; |
| |
|
| | |
| | |
| | |
| | enum AngleUnit { |
| | Deg, |
| | Rad, |
| | Gra |
| | }; |
| |
|
| | |
| | |
| | |
| | enum AngleFormat { |
| | |
| | DegreesDecimal, |
| | |
| | DegreesMinutesSeconds, |
| | |
| | Gradians, |
| | |
| | Radians, |
| | |
| | Surveyors |
| | }; |
| |
|
| | |
| | |
| | |
| | enum ResolveLevel: unsigned short { |
| | |
| | ResolveNone, |
| | |
| | |
| | |
| | ResolveAllButInserts, |
| | |
| | |
| | |
| | ResolveAllButTexts, |
| | |
| | |
| | |
| | ResolveAllButTextImage, |
| | |
| | |
| | |
| | |
| | ResolveAll |
| | }; |
| |
|
| | |
| | |
| | |
| | enum Direction { |
| | Up, Left, Right, Down |
| | }; |
| |
|
| | enum SubWindowMode { |
| | CurrentMode = -1, Maximized, Cascade, Tile, TileVertical, TileHorizontal |
| | }; |
| |
|
| | enum TabShape { |
| | AnyShape = -1, Rounded, Triangular |
| | }; |
| |
|
| | enum TabPosition { |
| | AnyPosition = -1, North, South, West, East |
| | }; |
| |
|
| |
|
| | |
| | |
| | |
| | enum LeaderPathType { |
| | Straight, |
| | Spline |
| | }; |
| |
|
| | |
| | |
| | |
| | enum ZoomDirection { |
| | In, Out |
| | }; |
| |
|
| | |
| | |
| | |
| | enum Axis : unsigned short { |
| | OnlyX = 0, |
| | OnlyY, |
| | Both |
| | }; |
| |
|
| | |
| | |
| | |
| | enum IsoGridViewType { |
| | IsoLeft, |
| | IsoTop, |
| | IsoRight, |
| | Ortho |
| | }; |
| |
|
| | enum CrossHairType{ |
| | GridCrosshair, |
| | SpiderWebCrosshair, |
| | }; |
| |
|
| | |
| | |
| | |
| | enum SnapMode { |
| | SnapFree, |
| | SnapGrid, |
| | SnapEndpoint, |
| | SnapMiddle, |
| | SnapCenter, |
| | SnapOnEntity, |
| | SnapDist, |
| | SnapIntersection, |
| | SnapIntersectionManual |
| | }; |
| |
|
| | |
| | |
| | |
| | enum SnapRestriction { |
| | RestrictNothing, |
| | RestrictHorizontal, |
| | RestrictVertical, |
| | RestrictOrthogonal |
| | }; |
| |
|
| | |
| | |
| | |
| | enum LineType : short{ |
| | LineByBlock = -2, |
| | LineByLayer = -1, |
| | NoPen = 0, |
| | SolidLine = 1, |
| |
|
| | DotLine = 2, |
| | DotLineTiny = 3, |
| | DotLine2 = 4, |
| | DotLineX2 = 5, |
| |
|
| | DashLine = 6, |
| | DashLineTiny=7, |
| | DashLine2 = 8, |
| | DashLineX2 = 9, |
| |
|
| | DashDotLine = 10, |
| | DashDotLineTiny = 11, |
| | DashDotLine2 = 12, |
| | DashDotLineX2 = 13, |
| |
|
| | DivideLine = 14, |
| | DivideLineTiny = 15, |
| | DivideLine2 = 16, |
| | DivideLineX2 = 17, |
| |
|
| | CenterLine = 18, |
| | CenterLineTiny = 19, |
| | CenterLine2 = 20, |
| | CenterLineX2 = 21, |
| |
|
| | BorderLine = 22, |
| | BorderLineTiny = 23, |
| | BorderLine2 = 24, |
| | BorderLineX2 = 25, |
| |
|
| | LineTypeUnchanged=26, |
| | LineSelected=27 |
| | }; |
| |
|
| |
|
| | |
| | |
| | |
| | enum LineWidth { |
| | Width00 = 0, |
| | Width01 = 5, |
| | Width02 = 9, |
| | Width03 = 13, |
| | Width04 = 15, |
| | Width05 = 18, |
| | Width06 = 20, |
| | Width07 = 25, |
| | Width08 = 30, |
| | Width09 = 35, |
| | Width10 = 40, |
| | Width11 = 50, |
| | Width12 = 53, |
| | Width13 = 60, |
| | Width14 = 70, |
| | Width15 = 80, |
| | Width16 = 90, |
| | Width17 = 100, |
| | Width18 = 106, |
| | Width19 = 120, |
| | Width20 = 140, |
| | Width21 = 158, |
| | Width22 = 200, |
| | Width23 = 211, |
| | WidthByLayer = -1, |
| | WidthByBlock = -2, |
| | WidthDefault = -3, |
| | WidthByDIPs = -4, |
| | WidthUnchanged = -10 |
| | }; |
| |
|
| |
|
| | |
| | |
| | |
| | LineWidth intToLineWidth(int w); |
| | int lineWidthToInt(LineWidth lw); |
| | LineWidth dxfInt2lineWidth(int i); |
| | int lineWidth2dxfInt(LineWidth lw); |
| |
|
| | |
| | |
| | |
| | enum CursorType { |
| | ArrowCursor, |
| | UpArrowCursor, |
| | CrossCursor, |
| | WaitCursor, |
| | IbeamCursor, |
| | SizeVerCursor, |
| | SizeHorCursor, |
| | SizeBDiagCursor, |
| | SizeFDiagCursor, |
| | SizeAllCursor, |
| | BlankCursor, |
| | SplitVCursor, |
| | SplitHCursor, |
| | PointingHandCursor, |
| | ForbiddenCursor, |
| | WhatsThisCursor, |
| | OpenHandCursor, |
| | ClosedHandCursor, |
| | CadCursor, |
| | DelCursor, |
| | SelectCursor, |
| | MagnifierCursor, |
| | MovingHandCursor, |
| | NoCursorChange |
| | }; |
| |
|
| | |
| | |
| | |
| | enum PaperFormat { |
| | FirstPaperFormat, |
| | Custom = FirstPaperFormat, |
| |
|
| | |
| | A0, |
| | A1, |
| | A2, |
| | A3, |
| | A4, |
| |
|
| | |
| |
|
| | |
| | Letter, |
| | Legal, |
| | Tabloid, |
| | |
| | |
| | |
| | |
| | |
| |
|
| | |
| | |
| | |
| | Ansi_C, |
| | Ansi_D, |
| | Ansi_E, |
| |
|
| | |
| | Arch_A, |
| | Arch_B, |
| | Arch_C, |
| | Arch_D, |
| | Arch_E, |
| |
|
| | NPageFormat |
| | }; |
| |
|
| | |
| | |
| | |
| | |
| | enum OverlayGraphics: short { |
| | OverlayEffects = 0, |
| | ActionPreviewEntity = 1, |
| | Snapper = 2, |
| | InfoCursor = 3, |
| | LAST |
| | }; |
| |
|
| | |
| | enum RedrawMethod { |
| | RedrawNone = 0, |
| | RedrawGrid = 1, |
| | RedrawOverlay = 2, |
| | RedrawDrawing = 4, |
| | RedrawAll = 0xffff |
| | }; |
| |
|
| | |
| | |
| | |
| | enum TextLocaleDirection { |
| | locLeftToRight, |
| | locRightToLeft |
| | }; |
| |
|
| |
|
| | enum EntityDescriptionLevel{ |
| | DescriptionCatched, |
| | DescriptionLong, |
| | DescriptionCreating, |
| | DescriptionModifying |
| | }; |
| |
|
| | |
| | |
| | |
| | enum class EndPointType: short { |
| | Start = 0, |
| | End = 1 |
| | }; |
| |
|
| |
|
| | }; |
| |
|
| | namespace Text |
| | { |
| | |
| | |
| | |
| | enum VAlign { |
| | VATop, |
| | VAMiddle, |
| | VABottom |
| | }; |
| |
|
| | |
| | |
| | |
| | enum HAlign { |
| | HALeft, |
| | HACenter, |
| | HARight |
| | }; |
| |
|
| |
|
| | |
| | |
| | |
| | enum MTextDrawingDirection { |
| | LeftToRight, |
| | RightToLeft, |
| | TopToBottom, |
| | ByStyle |
| | }; |
| |
|
| | |
| | |
| | |
| | enum MTextLineSpacingStyle { |
| | AtLeast, |
| | Exact |
| | }; |
| |
|
| | |
| | |
| | |
| | enum TextGeneration { |
| | None, |
| | Backward, |
| | UpsideDown |
| | }; |
| | } |
| |
|
| | #endif |
| |
|