QCAD
Open Source 2D CAD
Core Module

This module contains some fundamental core classes and abstract base classes for extensions, e.g. RStorage as an abstract base class for all storage implementations or REntity, the base class for all entity classes in the Entity module. More...

Classes

class  RAction
 Abstract base class for all action classes. More...
 
class  RActionAdapter
 Abstract base class for all action classes. More...
 
class  RBlock
 Represents a block definition in a drawing. More...
 
class  RBlockListener
 Abstract base class for classes that are interested in being notified whenever a block has been added or changed. More...
 
class  RBlockReferenceData
 Defines the geometry and appearance of a block reference entity. More...
 
class  RBlockReferenceEntity
 Block reference entity. More...
 
class  RColor
 Color. More...
 
class  RCommandEvent
 Copyright (c) 2011-2015 by Andrew Mustun. More...
 
class  RCoordinateEvent
 Coordinate Event. More...
 
class  RCoordinateListener
 Abstract base class for classes that are interested in the current coordinate of the mouse cursor. More...
 
class  RDebug
 This class provides some static methods for printing debugging information to stderr. More...
 
class  RDocument
 A graphics document contains and owns entities, layers, user coordinate systems, variables, block definitions, etc. More...
 
class  RDocumentInterface
 Interface for interaction between a graphics document and a user. More...
 
class  RDocumentVariables
 Copyright (c) 2011-2015 by Andrew Mustun. More...
 
class  RDxfServices
 Copyright (c) 2011-2015 by Andrew Mustun. More...
 
class  REntity
 Base class for all entity classes. More...
 
class  REntityData
 Base class for all entity data classes. More...
 
class  REntityPickEvent
 Entity pick event. More...
 
class  RExporter
 Abstract base class for exporters. More...
 
class  RExportListener
 Abstract base class for classes that are interested in file export events. More...
 
class  RFileCache
 Copyright (c) 2011-2015 by Andrew Mustun. More...
 
class  RFileExporter
 Base class for file exporters. More...
 
class  RFileExporterFactory
 Needs to be implemented by RFileExporter implementations to check if the exporter is suitable to export a file and to instantiate the file exporter if required. More...
 
class  RFileExporterRegistry
 Registry of all available file exporters (RFileExporter). More...
 
class  RFileImporter
 Copyright (c) 2011-2015 by Andrew Mustun. More...
 
class  RFileImporterFactory
 Needs to be implemented by RFileImporter implementations to check if the importer is suitable to import a file and to instantiate the file importer if required. More...
 
class  RFileImporterRegistry
 Registry of all available file importers (RFileImporter). More...
 
class  RFocusListener
 Abstract base class for classes that are interested in the current focus. More...
 
class  RFont
 Copyright (c) 2011-2015 by Andrew Mustun. More...
 
class  RFontList
 Copyright (c) 2011-2015 by Andrew Mustun. More...
 
class  RGraphicsScene
 Abstract base class for all graphics scenes. More...
 
class  RGraphicsView
 Graphics view. More...
 
class  RGrid
 Abstract base class for grid implementations. More...
 
class  RGuiAction
 Abstract base class for GUI action classes. More...
 
class  RImporter
 Base class for importers. More...
 
class  RImportListener
 Abstract base class for classes that are interested in file import events. More...
 
class  RInputEvent
 An input event for a graphics scene. More...
 
class  RInterTransactionListener
 Abstract base class for classes that are intercepting transactions for example to add to a transaction in progress. More...
 
class  RLayer
 Represents a layer in a drawing. More...
 
class  RLayerListener
 Abstract base class for classes that are interested in being notified whenever a layer has been added or changed. More...
 
class  RLinetype
 Represents a linetype in a drawing. More...
 
class  RLinetypeList
 Copyright (c) 2011-2015 by Andrew Mustun. More...
 
class  RLinetypeListImperial
 Copyright (c) 2011-2015 by Andrew Mustun. More...
 
class  RLinetypeListMetric
 Copyright (c) 2011-2015 by Andrew Mustun. More...
 
class  RLinkedStorage
 Copyright (c) 2011-2015 by Andrew Mustun. More...
 
class  RMainWindow
 Base class for an MDI main application window. More...
 
class  RMemoryStorage
 Copyright (c) 2011-2015 by Andrew Mustun. More...
 
class  RMessageHandler
 Copyright (c) 2011-2015 by Andrew Mustun. More...
 
class  RModifiedListener
 Abstract base class for classes that are interested in the current state of a storage (modified or unmodified). More...
 
class  RMouseCoordinateListener
 Abstract base class for classes that are interested in the current coordinate of the mouse cursor. More...
 
class  RMouseEvent
 A mouse event for a graphics scene. More...
 
class  RNavigationAction
 Copyright (c) 2011-2015 by Andrew Mustun. More...
 
class  RNewDocumentListener
 Abstract base class for classes that are interested in being notified when a new document is created. More...
 
class  RNonCopyable
 Copyright (c) 2011-2015 by Andrew Mustun. More...
 
class  RObject
 Abstract base class for all objects. More...
 
class  ROperation
 This abstract class is an interface for all operation implementations. More...
 
class  RPainterPath
 Extended painter path with a z-level and a pen. More...
 
class  RPainterPathDevice
 Copyright (c) 2011-2015 by Andrew Mustun. More...
 
class  RPainterPathEngine
 Copyright (c) 2011-2015 by Andrew Mustun. More...
 
class  RPainterPathSource
 Copyright (c) 2011-2015 by Andrew Mustun. More...
 
class  RPattern
 Copyright (c) 2011-2015 by Andrew Mustun. More...
 
class  RPatternLine
 Copyright (c) 2011-2015 by Andrew Mustun. More...
 
class  RPatternList
 Copyright (c) 2011-2015 by Andrew Mustun. More...
 
class  RPatternListImperial
 Copyright (c) 2011-2015 by Andrew Mustun. More...
 
class  RPatternListMetric
 Copyright (c) 2011-2015 by Andrew Mustun. More...
 
class  RPenListener
 Abstract base class for classes that are interested in being notified whenever the current pen changes. More...
 
class  RPluginInfo
 Information about a plugin. More...
 
class  RPluginInterface
 Interface for all C++ QCAD plugins. More...
 
class  RPluginLoader
 Copyright (c) 2011-2015 by Andrew Mustun. More...
 
class  RProgressHandler
 Copyright (c) 2011-2015 by Andrew Mustun. More...
 
class  RPropertyAttributes
 Copyright (c) 2011-2015 by Andrew Mustun. More...
 
class  RPropertyEditor
 Copyright (c) 2011-2015 by Andrew Mustun. More...
 
class  RPropertyEvent
 Copyright (c) 2011-2015 by Andrew Mustun. More...
 
class  RPropertyListener
 Abstract base class for classes that are interested in properties of the current selection or the current action. More...
 
class  RPropertyTypeId
 Copyright (c) 2011-2015 by Andrew Mustun. More...
 
class  RRequireHeap
 Copyright (c) 2011-2015 by Andrew Mustun. More...
 
class  RResourceList< T >
 Copyright (c) 2011-2015 by Andrew Mustun. More...
 
class  RS
 Class namespace for various global enums. More...
 
class  RScriptAction
 Copyright (c) 2011-2015 by Andrew Mustun. More...
 
class  RScriptHandler
 Abstract base class for all script handlers. More...
 
class  RScriptHandlerRegistry
 Copyright (c) 2011-2015 by Andrew Mustun. More...
 
class  RSelectionChangedEvent
 Copyright (c) 2011-2015 by Andrew Mustun. More...
 
class  RSelectionListener
 Abstract base class for classes that are interested in the current clipboard contents and want to be notified whenever the clipboard changes. More...
 
class  RSettings
 
class  RSingleton
 Copyright (c) 2011-2015 by Andrew Mustun. More...
 
class  RSnap
 Abstract base class for all grid and object snap implementations. More...
 
class  RSnapListener
 Abstract base class for classes that are interested in the current snap mode. More...
 
class  RSnapRestriction
 Abstract base class for all snap restriction implementations. More...
 
class  RSpatialIndex
 Abstract base class for spatial index implementations. More...
 
class  RSpatialIndexSimple
 Copyright (c) 2011-2015 by Andrew Mustun. More...
 
class  RSpatialIndexVisitor
 Copyright (c) 2011-2015 by Andrew Mustun. More...
 
class  RStorage
 Copyright (c) 2011-2015 by Andrew Mustun. More...
 
class  RTabletEvent
 A tablet event for a graphics scene. More...
 
class  RTerminateEvent
 Copyright (c) 2011-2015 by Andrew Mustun. More...
 
class  RTransaction
 Transaction implementation. More...
 
class  RTransactionEvent
 Copyright (c) 2011-2015 by Andrew Mustun. More...
 
class  RTransactionListener
 Abstract base class for classes that are interested in the current transaction stack. More...
 
class  RTransactionStack
 Copyright (c) 2011-2015 by Andrew Mustun. More...
 
class  RUcs
 Represents a user coordinate system (UCS) in a drawing. More...
 
class  RUcsListener
 Abstract base class for classes that are interested in being notified whenever a UCS has been added or changed. More...
 
class  RView
 Represents a view in a drawing. More...
 
class  RViewFocusListener
 Abstract base class for classes that are interested in the current view focus. More...
 
class  RViewListener
 Abstract base class for classes that are interested in being notified whenever a view has been added or changed. More...
 
class  RViewportData
 Copyright (c) 2011-2015 by Andrew Mustun. More...
 
class  RViewportEntity
 Viewport entity. More...
 
class  RWheelEvent
 A mouse wheel event for a graphics scene. More...
 

Enumerations

enum  RS::AngleFormat {
  RS::DegreesDecimal = 0, RS::DegreesMinutesSeconds = 1, RS::Gradians = 2, RS::Radians = 3,
  RS::Surveyors = 4
}
 Angle format for printing angles. More...
 
enum  RS::AngleUnit { RS::Deg, RS::Rad, RS::Gra }
 Angle Units. More...
 
enum  RS::BooleanOperation { RS::Intersection, RS::Union, RS::Difference, RS::Xor }
 
enum  RAction::ClickMode { RAction::PickCoordinate, RAction::PickEntity, RAction::PickingDisabled }
 Current mouse click mode. More...
 
enum  RGraphicsView::ColorMode { RGraphicsView::FullColor, RGraphicsView::GrayScale, RGraphicsView::BlackWhite }
 
enum  RS::Ending { RS::EndingStart, RS::EndingEnd, RS::EndingNone }
 Entity ending. More...
 
enum  RS::EndType {
  RS::EndClosedPolygon, RS::EndClosedLine, RS::EndOpenButt, RS::EndOpenSquare,
  RS::EndOpenRound, RS::EndOpenSingle
}
 
enum  RS::EntityType {
  RS::EntityAll, RS::EntityUnknown, RS::EntityAttribute, RS::EntityAttributeDefinition,
  RS::EntityBlockRef, RS::EntityBlockRefAttr, RS::EntityPoint, RS::EntityLine,
  RS::EntityXLine, RS::EntityRay, RS::EntityPolyline, RS::EntityArc,
  RS::EntityCircle, RS::EntityEllipse, RS::EntitySolid, RS::Entity3dFace,
  RS::EntityTextBased, RS::EntityText, RS::EntityTrace, RS::EntityDimension,
  RS::EntityDimLinear, RS::EntityDimAligned, RS::EntityDimRotated, RS::EntityDimRadial,
  RS::EntityDimDiametric, RS::EntityDimAngular, RS::EntityDimOrdinate, RS::EntityHatch,
  RS::EntityImage, RS::EntityLeader, RS::EntitySpline, RS::EntityViewport,
  RS::EntityUser
}
 Entity types used for property handling / filtering. More...
 
enum  RS::FillType { RS::EvenOdd, RS::NonZero, RS::Positive, RS::Negative }
 
enum  RS::From { RS::FromStart = 0x1, RS::FromEnd = 0x2, RS::FromAny = 0x3, RS::AlongPolyline = 0x4 }
 End used to specify from which end of a shape to measure a distance. More...
 
enum  RS::HAlign {
  RS::HAlignLeft, RS::HAlignCenter, RS::HAlignRight, RS::HAlignAlign,
  RS::HAlignMid, RS::HAlignFit
}
 Horizontal alignments. More...
 
enum  RPluginInterface::InitStatus {
  RPluginInterface::GotSplashWindow, RPluginInterface::AddOnsInitialized, RPluginInterface::ActionsAdded, RPluginInterface::GotMainWindowBeforeShow,
  RPluginInterface::GotMainWindow, RPluginInterface::LoadedFiles, RPluginInterface::ScriptsExecuted, RPluginInterface::AllDone
}
 
enum  RDocumentInterface::IoErrorCode {
  RDocumentInterface::IoErrorNoError, RDocumentInterface::IoErrorNoImporterFound, RDocumentInterface::IoErrorZeroSize, RDocumentInterface::IoErrorNotFound,
  RDocumentInterface::IoErrorPermission, RDocumentInterface::IoErrorGeneralImportError, RDocumentInterface::IoErrorGeneralImportUrlError
}
 
enum  RS::IsoProjectionType {
  RS::IsoTop, RS::IsoBottom, RS::IsoLeft, RS::IsoLeftBack,
  RS::IsoRight, RS::IsoRightBack
}
 Projection type for isometric projections. More...
 
enum  RS::JoinType { RS::JoinBevel, RS::JoinRound, RS::JoinMiter }
 
enum  RS::KnownVariable {
  RS::ANGBASE, RS::ANGDIR, RS::ATTMODE, RS::AUNITS,
  RS::AUPREC, RS::CECOLOR, RS::CELTSCALE, RS::CHAMFERA,
  RS::CHAMFERB, RS::CHAMFERC, RS::CHAMFERD, RS::CMLJUST,
  RS::CMLSCALE, RS::DIMADEC, RS::DIMALT, RS::DIMALTD,
  RS::DIMALTF, RS::DIMALTRND, RS::DIMALTTD, RS::DIMALTTZ,
  RS::DIMALTU, RS::DIMALTZ, RS::DIMAPOST, RS::DIMASZ,
  RS::DIMATFIT, RS::DIMAUNIT, RS::DIMAZIN, RS::DIMBLK,
  RS::DIMBLK1, RS::DIMBLK2, RS::DIMCEN, RS::DIMCLRD,
  RS::DIMCLRE, RS::DIMCLRT, RS::DIMDEC, RS::DIMDLE,
  RS::DIMDLI, RS::DIMDSEP, RS::DIMEXE, RS::DIMEXO,
  RS::DIMFRAC, RS::DIMGAP, RS::DIMJUST, RS::DIMLDRBLK,
  RS::DIMLFAC, RS::DIMLIM, RS::DIMLUNIT, RS::DIMLWD,
  RS::DIMLWE, RS::DIMPOST, RS::DIMRND, RS::DIMSAH,
  RS::DIMSCALE, RS::DIMSD1, RS::DIMSD2, RS::DIMSE1,
  RS::DIMSE2, RS::DIMSOXD, RS::DIMTAD, RS::DIMTDEC,
  RS::DIMTFAC, RS::DIMTIH, RS::DIMTIX, RS::DIMTM,
  RS::DIMTOFL, RS::DIMTOH, RS::DIMTOL, RS::DIMTOLJ,
  RS::DIMTP, RS::DIMTSZ, RS::DIMTVP, RS::DIMTXSTY,
  RS::DIMTXT, RS::DIMTZIN, RS::DIMUPT, RS::DIMZIN,
  RS::DISPSILH, RS::DWGCODEPAGE, RS::DRAWORDERCTL, RS::ELEVATION,
  RS::EXTMAX, RS::EXTMIN, RS::FACETRES, RS::FILLETRAD,
  RS::FILLMODE, RS::INSBASE, RS::INSUNITS, RS::ISOLINES,
  RS::LIMCHECK, RS::LIMMAX, RS::LIMMIN, RS::LTSCALE,
  RS::LUNITS, RS::LUPREC, RS::MAXACTVP, RS::MIRRTEXT,
  RS::ORTHOMODE, RS::PDMODE, RS::PDSIZE, RS::PELEVATION,
  RS::PELLIPSE, RS::PEXTMAX, RS::PEXTMIN, RS::PINSBASE,
  RS::PLIMCHECK, RS::PLIMMAX, RS::PLIMMIN, RS::PLINEGEN,
  RS::PLINEWID, RS::PROXYGRAPHICS, RS::PSLTSCALE, RS::PUCSNAME,
  RS::PUCSORG, RS::PUCSXDIR, RS::PUCSYDIR, RS::QTEXTMODE,
  RS::REGENMODE, RS::SHADEDGE, RS::SHADEDIF, RS::SKETCHINC,
  RS::SKPOLY, RS::SPLFRAME, RS::SPLINESEGS, RS::SPLINETYPE,
  RS::SURFTAB1, RS::SURFTAB2, RS::SURFTYPE, RS::SURFU,
  RS::SURFV, RS::TEXTQLTY, RS::TEXTSIZE, RS::TEXTSTYLE,
  RS::THICKNESS, RS::TILEMODE, RS::TRACEWID, RS::TREEDEPTH,
  RS::UCSNAME, RS::UCSORG, RS::UCSXDIR, RS::UCSYDIR,
  RS::UNITMODE, RS::USERI1, RS::USERI2, RS::USERI3,
  RS::USERI4, RS::USERI5, RS::USERR1, RS::USERR2,
  RS::USERR3, RS::USERR4, RS::USERR5, RS::USRTIMER,
  RS::VISRETAIN, RS::WORLDVIEW, RS::MaxKnownVariable = WORLDVIEW, RS::INVALID = -1
}
 Well established document variables. More...
 
enum  RS::LinearFormat {
  RS::Scientific = 1, RS::Decimal = 2, RS::Engineering = 3, RS::ArchitecturalStacked = 4,
  RS::FractionalStacked = 5, RS::Architectural = 6, RS::Fractional = 7, RS::WindowsDesktop = 8
}
 Format for length values. More...
 
enum  RS::MessageType {
  RS::Print, RS::Debug, RS::Warning, RS::Critical,
  RS::Command
}
 Message type for debugging and displaying user messages. More...
 
enum  RPainterPath::Mode {
  RPainterPath::NoModes = 0x00, RPainterPath::Selected = 0x01, RPainterPath::Highlighted = 0x02, RPainterPath::Invalid = 0x04,
  RPainterPath::FixedPenColor = 0x08, RPainterPath::FixedBrushColor = 0x10, RPainterPath::AutoRegen = 0x20, RPainterPath::AlwaysRegen = 0x40,
  RPainterPath::InheritPen = 0x80
}
 
enum  RColor::Mode { RColor::ByLayer, RColor::ByBlock, RColor::Fixed }
 
enum  RPropertyAttributes::Option {
  RPropertyAttributes::NoOptions = 0x0, RPropertyAttributes::ReadOnly = 0x1, RPropertyAttributes::Invisible = 0x2, RPropertyAttributes::Angle = 0x4,
  RPropertyAttributes::AffectsOtherProperties = 0x8, RPropertyAttributes::IgnoreCase = 0x10, RPropertyAttributes::AllowMixedValue = 0x20, RPropertyAttributes::List = 0x40,
  RPropertyAttributes::Mixed = 0x80, RPropertyAttributes::RichText = 0x100, RPropertyAttributes::Style = 0x200, RPropertyAttributes::DimensionLabel = 0x400,
  RPropertyAttributes::Label = 0x800, RPropertyAttributes::Pattern = 0x1000, RPropertyAttributes::Custom = 0x2000, RPropertyAttributes::Integer = 0x4000,
  RPropertyAttributes::Redundant = 0x8000, RPropertyAttributes::VisibleToParent = 0x10000, RPropertyAttributes::KnownVariable = 0x20000, RPropertyAttributes::NumericallySorted = 0x40000
}
 
enum  RS::Orientation { RS::Any, RS::CW, RS::CCW }
 
enum  RS::ProjectionRenderingHint { RS::RenderTop, RS::RenderSide, RS::RenderFront, RS::RenderThreeD }
 Sets the current rendering hint for exports. More...
 
enum  RS::Side { RS::RightHand, RS::LeftHand, RS::NoSide, RS::BothSides }
 Side used for side of a point relativ to an entity (right hand or left hand side) More...
 
enum  RSnap::Status {
  RSnap::Unknown, RSnap::Free, RSnap::Grid, RSnap::Endpoint,
  RSnap::OnEntity, RSnap::Center, RSnap::Middle, RSnap::Distance,
  RSnap::Intersection, RSnap::IntersectionManual, RSnap::Reference, RSnap::Perpendicular,
  RSnap::Coordinate, RSnap::CoordinatePolar
}
 Snap status, returned by snap tools (most importantly auto snap tool) to indicate what snap was used. More...
 
enum  RS::TextDrawingDirection { RS::LeftToRight = 1, RS::TopToBottom = 3, RS::ByStyle = 5 }
 Text drawing direction. More...
 
enum  RS::TextLineSpacingStyle { RS::AtLeast = 1, RS::Exact = 2 }
 Line spacing style for texts. More...
 
enum  RS::Unit {
  RS::None = 0, RS::Inch = 1, RS::Foot = 2, RS::Mile = 3,
  RS::Millimeter = 4, RS::Centimeter = 5, RS::Meter = 6, RS::Kilometer = 7,
  RS::Microinch = 8, RS::Mil = 9, RS::Yard = 10, RS::Angstrom = 11,
  RS::Nanometer = 12, RS::Micron = 13, RS::Decimeter = 14, RS::Decameter = 15,
  RS::Hectometer = 16, RS::Gigameter = 17, RS::Astro = 18, RS::Lightyear = 19,
  RS::Parsec = 20, RS::MaxUnit = Parsec
}
 Enum of supported units (values correspond to DXF spec). More...
 
enum  RS::VAlign { RS::VAlignTop, RS::VAlignMiddle, RS::VAlignBase, RS::VAlignBottom }
 Vertical alignments. More...
 
enum  RObject::XYZ { RObject::X, RObject::Y, RObject::Z }
 

Detailed Description

This module contains some fundamental core classes and abstract base classes for extensions, e.g. RStorage as an abstract base class for all storage implementations or REntity, the base class for all entity classes in the Entity module.

Enumeration Type Documentation

Angle format for printing angles.

Enumerator
DegreesDecimal 

Degrees with decimal point (e.g.

24.5<degree symbol>="">)

DegreesMinutesSeconds 

Degrees, Minutes and Seconds (e.g.

24<degree symbol>="">30'5'')

Gradians 

Gradians with decimal point (e.g.

390.5)

Radians 

Radians with decimal point (e.g.

1.57)

Surveyors 

Surveyor's units.

Angle Units.

Enumerator
Deg 

Degrees.

Rad 

Radians.

Gra 

Gradians.

Enumerator
Intersection 
Union 
Difference 
Xor 

Current mouse click mode.

Enumerator
PickCoordinate 

Mouse click will pick a coordinate and trigger coordinateEvent.

This is the default mode.

PickEntity 

Mouse click will pick an entity and trigger entityPickEvent.

PickingDisabled 

Mouse click will not trigger any events except for mousePressEvent and mouseReleaseEvent.

Enumerator
FullColor 
GrayScale 
BlackWhite 
enum RS::Ending

Entity ending.

Used for returning which end of an entity is ment.

Enumerator
EndingStart 

Start point.

EndingEnd 

End point.

EndingNone 

Neither.

Enumerator
EndClosedPolygon 
EndClosedLine 
EndOpenButt 
EndOpenSquare 
EndOpenRound 
EndOpenSingle 

Entity types used for property handling / filtering.

Enumerator
EntityAll 

All entities (for filters)

EntityUnknown 

Unknown.

EntityAttribute 

Block attribute.

EntityAttributeDefinition 

Block attribute definition.

EntityBlockRef 

Block reference.

EntityBlockRefAttr 

Block reference with attributes.

EntityPoint 

Point.

EntityLine 

Line.

EntityXLine 

XLine.

EntityRay 

Ray.

EntityPolyline 

Polyline.

EntityArc 

Arc.

EntityCircle 

Circle.

EntityEllipse 

Ellipse.

EntitySolid 

Solid.

Entity3dFace 

3d Face

EntityTextBased 

Any text based entity (text, attribute def, attribute)

EntityText 

Text.

EntityTrace 

Trace.

EntityDimension 

Any Dimension.

EntityDimLinear 

Any linear dimension.

EntityDimAligned 

Linear aligned Dimension.

EntityDimRotated 

Linear rotated Dimension.

EntityDimRadial 

Radial Dimension.

EntityDimDiametric 

Diametric Dimension.

EntityDimAngular 

Angular Dimension.

EntityDimOrdinate 

Ordinate Dimension.

EntityHatch 

Hatch.

EntityImage 

Image.

EntityLeader 

Leader.

EntitySpline 

Spline.

EntityViewport 

Viewport.

EntityUser 

User defined entity.

Use this to identify entities that are added in a separate library and resort to C++ RTTI for RTTI.

Enumerator
EvenOdd 
NonZero 
Positive 
Negative 
enum RS::From

End used to specify from which end of a shape to measure a distance.

Enumerator
FromStart 
FromEnd 
FromAny 

Start or end.

AlongPolyline 
enum RS::HAlign

Horizontal alignments.

Enumerator
HAlignLeft 

Left.

HAlignCenter 

Centered.

HAlignRight 

Right.

HAlignAlign 

Aligned.

HAlignMid 

Middle (?)

HAlignFit 

Fit.

Enumerator
GotSplashWindow 

Splashscreen showing.

AddOnsInitialized 

Add ons are initialized, actions created but not added to widgets.

ActionsAdded 

Actions have been added to widgets.

GotMainWindowBeforeShow 

Main window created but not shown yet.

GotMainWindow 

Main window with all tools and menus has been created.

LoadedFiles 

Loaded files given on command line.

ScriptsExecuted 

Executed scripts given on command line.

AllDone 

Application is ready and idle.

Enumerator
IoErrorNoError 

No error occurred during import or export.

IoErrorNoImporterFound 

No suitable importer was found.

IoErrorZeroSize 

File size is zero bytes.

IoErrorNotFound 

File not found.

IoErrorPermission 

No permissions to read file.

IoErrorGeneralImportError 

General import error, i.e.

non of the errors above.

IoErrorGeneralImportUrlError 

General import error if an URL was given, i.e.

non of the errors above.

Projection type for isometric projections.

Enumerator
IsoTop 

Top projection (x/y)

IsoBottom 

Bottom projection (x/y)

IsoLeft 

Front left projection (x/z)

IsoLeftBack 

Back left projection (x/z)

IsoRight 

Front right projection (y/z)

IsoRightBack 

Back right projection (y/z)

Enumerator
JoinBevel 
JoinRound 
JoinMiter 

Well established document variables.

Enumerator
ANGBASE 
ANGDIR 
ATTMODE 
AUNITS 
AUPREC 
CECOLOR 
CELTSCALE 
CHAMFERA 
CHAMFERB 
CHAMFERC 
CHAMFERD 
CMLJUST 
CMLSCALE 
DIMADEC 

Decimal places in angular dimensions.

DIMALT 
DIMALTD 
DIMALTF 
DIMALTRND 
DIMALTTD 
DIMALTTZ 
DIMALTU 
DIMALTZ 
DIMAPOST 
DIMASZ 
DIMATFIT 
DIMAUNIT 

Formatting of angular dimensions.

DIMAZIN 

Controls display of leading / trailing zeros for angular dimensions.

DIMBLK 
DIMBLK1 
DIMBLK2 
DIMCEN 
DIMCLRD 
DIMCLRE 
DIMCLRT 
DIMDEC 

Decimal places in linear dimensions.

DIMDLE 
DIMDLI 
DIMDSEP 
DIMEXE 
DIMEXO 
DIMFRAC 
DIMGAP 

Distance between dimension text and dimension lines, negative for box.

DIMJUST 

Vertical position of dimension label.

DIMLDRBLK 
DIMLFAC 
DIMLIM 
DIMLUNIT 

Formatting of linear dimensions.

DIMLWD 
DIMLWE 
DIMPOST 
DIMRND 
DIMSAH 
DIMSCALE 
DIMSD1 
DIMSD2 
DIMSE1 
DIMSE2 
DIMSOXD 
DIMTAD 

Vertical position of dimension label.

DIMTDEC 
DIMTFAC 
DIMTIH 
DIMTIX 
DIMTM 
DIMTOFL 
DIMTOH 
DIMTOL 
DIMTOLJ 
DIMTP 
DIMTSZ 

Archtick size or 0 for arrows.

DIMTVP 
DIMTXSTY 
DIMTXT 

Dimension text size.

DIMTZIN 
DIMUPT 
DIMZIN 

Controls display of leading / trailing zeros for linear dimensions.

DISPSILH 
DWGCODEPAGE 
DRAWORDERCTL 
ELEVATION 
EXTMAX 
EXTMIN 
FACETRES 
FILLETRAD 
FILLMODE 
INSBASE 
INSUNITS 
ISOLINES 
LIMCHECK 
LIMMAX 
LIMMIN 
LTSCALE 
LUNITS 
LUPREC 
MAXACTVP 
MIRRTEXT 
ORTHOMODE 
PDMODE 
PDSIZE 
PELEVATION 
PELLIPSE 
PEXTMAX 
PEXTMIN 
PINSBASE 
PLIMCHECK 
PLIMMAX 
PLIMMIN 
PLINEGEN 
PLINEWID 
PROXYGRAPHICS 
PSLTSCALE 
PUCSNAME 
PUCSORG 
PUCSXDIR 
PUCSYDIR 
QTEXTMODE 
REGENMODE 
SHADEDGE 
SHADEDIF 
SKETCHINC 
SKPOLY 
SPLFRAME 
SPLINESEGS 
SPLINETYPE 
SURFTAB1 
SURFTAB2 
SURFTYPE 
SURFU 
SURFV 
TEXTQLTY 
TEXTSIZE 
TEXTSTYLE 
THICKNESS 
TILEMODE 
TRACEWID 
TREEDEPTH 
UCSNAME 
UCSORG 
UCSXDIR 
UCSYDIR 
UNITMODE 
USERI1 
USERI2 
USERI3 
USERI4 
USERI5 
USERR1 
USERR2 
USERR3 
USERR4 
USERR5 
USRTIMER 
VISRETAIN 
WORLDVIEW 
MaxKnownVariable 
INVALID 

Format for length values.

Enumerator
Scientific 

Scientific (e.g.

2.5E+05)

Decimal 

Decimal (e.g.

9.5)

Engineering 

Engineering (e.g.

7' 11.5")

ArchitecturalStacked 

Architectural stacked (e.g.

7'-9 1/8")

FractionalStacked 

Fractional stacked (e.g.

7 9 1/8)

Architectural 

Architectural (e.g.

?)

Fractional 

Fractional (e.g.

?)

WindowsDesktop 

Not supported.

Message type for debugging and displaying user messages.

Enumerator
Print 
Debug 
Warning 
Critical 
Command 
Enumerator
NoModes 
Selected 
Highlighted 
Invalid 
FixedPenColor 
FixedBrushColor 
AutoRegen 
AlwaysRegen 
InheritPen 
Enumerator
ByLayer 
ByBlock 
Fixed 
Enumerator
NoOptions 
ReadOnly 

Property is read only.

Invisible 

Property is not displayed.

Angle 

Property is an angle (shown in user preferred angle unit)

AffectsOtherProperties 

Property affects others, needs refresh on changing.

IgnoreCase 

Property is not case sensitive.

AllowMixedValue 

Property can be mixed.

List 

Property is a list (e.g. x values of polyline vertices)

Mixed 

Property has mixed values.

RichText 

Property is rich text and can be edited as such.

Style 

Property is a text style (font)

DimensionLabel 

Property is a dimension label (suggests context menu to insert symbols, including <>)

Label 

Property is a label (suggests context menu to insert symbols)

Pattern 

Property is a hatch pattern name.

Custom 

Property is a map of custom properties.

Integer 

Property is an int (not a double number)

Redundant 

Property is redundant (e.g. angle for line entities)

VisibleToParent 

Property can be edited in the context of the parent entity.

KnownVariable 

Property is a known DXF variable.

NumericallySorted 

Sort choices for this property numerically.

Enumerator
Any 
CW 
CCW 

Sets the current rendering hint for exports.

See also
RExporter::setProjectionRenderingHint
Enumerator
RenderTop 
RenderSide 
RenderFront 
RenderThreeD 
enum RS::Side

Side used for side of a point relativ to an entity (right hand or left hand side)

Enumerator
RightHand 
LeftHand 
NoSide 
BothSides 

Snap status, returned by snap tools (most importantly auto snap tool) to indicate what snap was used.

Enumerator
Unknown 
Free 
Grid 
Endpoint 
OnEntity 
Center 
Middle 
Distance 
Intersection 
IntersectionManual 
Reference 
Perpendicular 
Coordinate 
CoordinatePolar 

Text drawing direction.

Enumerator
LeftToRight 

Left to right.

TopToBottom 

Top to bottom.

ByStyle 

Inherited from associated text style.

Line spacing style for texts.

Enumerator
AtLeast 

Taller characters will override.

Exact 

Taller characters will not override.

enum RS::Unit

Enum of supported units (values correspond to DXF spec).

Enumerator
None 

No unit (unit from parent)

Inch 

Inch.

Foot 

Foot: 12 Inches.

Mile 

Mile: 1760 Yards = 1609 m.

Millimeter 

Millimeter: 0.001m.

Centimeter 

Centimeter: 0.01m.

Meter 

Meter.

Kilometer 

Kilometer: 1000m.

Microinch 

Microinch: 0.000001.

Mil 

Mil = 0.001 Inch.

Yard 

Yard: 3 Feet.

Angstrom 

Angstrom: 10^-10m.

Nanometer 

Nanometer: 10^-9m.

Micron 

Micron: 10^-6m.

Decimeter 

Decimeter: 0.1m.

Decameter 

Decameter: 10m.

Hectometer 

Hectometer: 100m.

Gigameter 

Gigameter: 1000000m.

Astro 

Astro: 149.6 x 10^9m.

Lightyear 

Lightyear: 9460731798 x 10^6m.

Parsec 

Parsec: 30857 x 10^12.

MaxUnit 
enum RS::VAlign

Vertical alignments.

Enumerator
VAlignTop 

Top.

VAlignMiddle 

Middle.

VAlignBase 

Base line.

VAlignBottom 

Bottom.

Enumerator