CFx SDK Documentation 2024 SP0
|
#include <DbBaseDatabase.h>
Public Types | |
enum | PlotPaperUnits { kInches = 0 , kMillimeters = 1 , kPixels = 2 } |
enum | PlotRotation { k0degrees = 0 , k90degrees = 1 , k180degrees = 2 , k270degrees = 3 } |
enum | PlotType { kDisplay = 0 , kExtents = 1 , kLimits = 2 , kView = 3 , kWindow = 4 , kLayout = 5 } |
enum | StdScaleType { kScaleToFit = 0 , k1_128in_1ft = 1 , k1_64in_1ft = 2 , k1_32in_1ft = 3 , k1_16in_1ft = 4 , k3_32in_1ft = 5 , k1_8in_1ft = 6 , k3_16in_1ft = 7 , k1_4in_1ft = 8 , k3_8in_1ft = 9 , k1_2in_1ft = 10 , k3_4in_1ft = 11 , k1in_1ft = 12 , k3in_1ft = 13 , k6in_1ft = 14 , k1ft_1ft = 15 , k1_1 = 16 , k1_2 = 17 , k1_4 = 18 , k1_5 = 19 , k1_8 = 20 , k1_10 = 21 , k1_16 = 22 , k1_20 = 23 , k1_30 = 24 , k1_40 = 25 , k1_50 = 26 , k1_100 = 27 , k2_1 = 28 , k4_1 = 29 , k8_1 = 30 , k10_1 = 31 , k100_1 = 32 , k1000_1 = 33 , k1and1_2in_1ft = 34 } |
Public Member Functions | |
ODRX_DECLARE_MEMBERS (OdDbBaseLayoutPE) | |
virtual OdString | name (const OdRxObject *)=0 |
virtual bool | isModelLayout (const OdRxObject *)=0 |
virtual bool | printLineweights (const OdRxObject *)=0 |
virtual bool | showPlotStyles (const OdRxObject *)=0 |
virtual OdString | paperName (const OdRxObject *)=0 |
virtual void | getPaperSize (const OdRxObject *, double &paperWidth, double &paperHeight) const =0 |
virtual PlotRotation | plotRotation (const OdRxObject *)=0 |
virtual double | getTopMargin (const OdRxObject *)=0 |
virtual double | getRightMargin (const OdRxObject *)=0 |
virtual double | getBottomMargin (const OdRxObject *)=0 |
virtual double | getLeftMargin (const OdRxObject *)=0 |
virtual bool | isOverallVPortErased (const OdRxObject *)=0 |
virtual OdResult | getGeomExtents (const OdRxObject *, OdGeExtents3d &ext)=0 |
virtual bool | useStandardScale (const OdRxObject *)=0 |
virtual void | getStdScale (const OdRxObject *, double &scale)=0 |
virtual void | getCustomPrintScale (const OdRxObject *, double &numerator, double &denominator)=0 |
virtual int | plotType (const OdRxObject *)=0 |
virtual OdResult | getPlotType (const OdRxObject *, PlotType &) const =0 |
virtual OdString | getPlotViewName (const OdRxObject *)=0 |
virtual void | getPlotWindowArea (const OdRxObject *, double &xmin, double &ymin, double &xmax, double &ymax)=0 |
virtual void | getPlotOrigin (const OdRxObject *, double &x, double &y)=0 |
virtual void | getPlotPaperSize (const OdRxObject *, double &paperWidth, double &paperHeight)=0 |
virtual int | plotPaperUnits (const OdRxObject *)=0 |
virtual OdResult | getPlotPaperUnits (const OdRxObject *, PlotPaperUnits &) const =0 |
virtual OdDbStub * | getBlockId (const OdRxObject *) const =0 |
virtual bool | scalePSLinetypes (const OdRxObject *) const =0 |
virtual bool | getApproxExtents (const OdRxObject *, OdGePoint3d &extMin, OdGePoint3d &extMax) const =0 |
virtual OdResult | getStdScaleType (const OdRxObject *, StdScaleType &) const =0 |
Public Member Functions inherited from OdRxObject | |
ODRX_HEAP_OPERATORS () | |
OdRxObject () | |
virtual | ~OdRxObject () |
virtual OdRxObject * | queryX (const OdRxClass *pClass) const |
virtual OdRxObject * | x (const OdRxClass *pClass) const |
virtual OdRxClass * | isA () const |
virtual void | addRef ()=0 |
virtual void | release ()=0 |
virtual long | numRefs () const |
bool | isKindOf (const OdRxClass *pClass) const |
virtual OdRxObjectPtr | clone () const |
virtual void | copyFrom (const OdRxObject *pSource) |
virtual OdRx::Ordering | comparedTo (const OdRxObject *pOther) const |
virtual bool | isEqualTo (const OdRxObject *pOther) const |
Additional Inherited Members | |
Static Public Member Functions inherited from OdRxObject | |
static OdRxObjectPtr | cast (const OdRxObject *pointer) |
static OdRxClass * | desc () |
This class is the protocol extension to be used as a layout abstraction, independent of the underlying database (OdDbDatabase or OdDgDatabase).
<group OdDbRoot_Classes>
Definition at line 750 of file DbBaseDatabase.h.
Determines the plot paper units.
Enumerator | |
---|---|
kInches | Inches |
kMillimeters | Millimeters |
kPixels | Pixels |
Definition at line 761 of file DbBaseDatabase.h.
Determines the types of plot rotations.
Enumerator | |
---|---|
k0degrees | No rotation. |
k90degrees | 90 CCW. |
k180degrees | Inverted. |
k270degrees | 90 CW. |
Definition at line 774 of file DbBaseDatabase.h.
Determines the plot types.
Enumerator | |
---|---|
kDisplay | Display |
kExtents | Extents |
kLimits | Limits |
kView | View |
kWindow | Window |
kLayout | Layout |
Definition at line 789 of file DbBaseDatabase.h.
Determines standard scale types.
Definition at line 808 of file DbBaseDatabase.h.
|
pure virtual |
Returns the approximate extents of a specified layout.
[in] | A | pointer to a layout object. |
extMin | [in] A reference to an OdGePoint3d object to store and return the left lower corner of the extents rectangle. | |
extMax | [in] A reference to an OdGePoint3d object to store and return the right upper corner of the extents rectangle. |
|
pure virtual |
Returns the block identifier for a specified layout.
[in] | A | pointer to a layout object. |
|
pure virtual |
Returns the current bottom margin value for a specified layout.
[in] | A | pointer to a layout object. |
|
pure virtual |
Returns a custom print scale value for a specified layout.
[in] | A | pointer to a layout object. |
numerator | [out] A reference to a double value to store and return the real world units. | |
denominator | [out] A reference to a double value to store and return the drawing units. |
|
pure virtual |
Returns current geometry extents of a specified layout object.
[in] | A | pointer to a layout object. |
ext | [out] A reference to an OdGeExtents3d object to store and retrieve the layout's geometry extents. |
|
pure virtual |
Returns the current left margin value for a specified layout.
[in] | A | pointer to a layout object. |
|
pure virtual |
Returns the current paper size for a specified layout.
[in] | A | pointer to a layout object. |
paperWidth | [out] A reference for storing and retrieving paper width value. | |
paperHeight | [out] A reference for storing and retrieving paper height value. |
|
pure virtual |
Returns the current origin plot for a specified layout.
[in] | A | pointer to a layout object. |
x | [out] A reference to be used for returning the X coordinate of the layout's plot origin. | |
y | [out] A reference to be used for returning the Y coordinate of the layout's plot origin. |
|
pure virtual |
Returns the current paper size for a specified layout.
[in] | A | pointer to a layout object. |
x | [out] A reference to be used for returning the paper width value. | |
y | [out] A reference to be used for returning the paper height value. |
|
pure virtual |
|
pure virtual |
|
pure virtual |
Returns a plot viewport name for a specified layout.
A | pointer to a layout object. |
|
pure virtual |
Returns the current information about the plot window area for a specified layout.
[in] | A | pointer to a layout object. |
xmin | [out] A reference to be used for returning the X coordinate of the window area's lower left corner. | |
ymin | [out] A reference to be used for returning the Y coordinate of the window area's lower left corner. | |
xmax | [out] A reference to be used for returning the X coordinate of the window area's upper right corner. | |
ymax | [out] A reference to be used for returning the Y coordinate of the window area's upper right corner. |
|
pure virtual |
Returns the current right margin value for a specified layout.
[in] | A | pointer to a layout object. |
|
pure virtual |
Returns the standard scale value for a specified layout.
[in] | A | pointer to a layout object. |
scale | [out] A reference to a double value to store and return the scale value. |
|
pure virtual |
Returns the standard scale type for this PlotSettings object (DXF 75).
Value Scale kScaleToFit 0 Scaled to Fit k1_128in_1ft 1 1/128=1' k1_64in_1ft 2 1/64=1' k1_32in_1ft 3 1/32=1' k1_16in_1ft 4 1/16=1' k3_32in_1ft 5 3/32=1' k1_8in_1ft 6 1/8=1' k3_16in_1ft 7 3/16=1' k1_4in_1ft 8 1/4=1' k3_8in_1ft 9 3/8=1' k1_2in_1ft 10 1/2=1' k3_4in_1ft 11 3/4=1' k1in_1ft 12 1=1' k3in_1ft 13 3=1' k6in_1ft 14 6=1' k1ft_1ft 15 1'=1' k1_1 16 1:1 k1_2 17 1:2 k1_4 18 1:4 k1_5 19 1:5 k1_8 20 1:8 k1_10 21 1:10 k1_16 22 1:16 k1_20 23 1:20 k1_30 24 1:30 k1_40 25 1:40 k1_50 26 1:50 k1_100 27 1:100 k2_1 28 2:1 k4_1 29 4:1 k8_1 30 8:1 k10_1 31 10:1 k100_1 32 100:1 k1000_1 33 1000:1 k1and1_2in_1ft 34 1.5"=1'
|
pure virtual |
Returns the current top margin value for a specified layout.
[in] | A | pointer to a layout object. |
|
pure virtual |
Determines whether a specified layout belongs to model space.
[in] | A | pointer to a layout object. |
|
pure virtual |
Determines whether the overall viewport of a layout is erased.
[in] | A | pointer to a layout object. |
|
pure virtual |
Returns the current name of a specified layout.
[in] | A | pointer to a layout object. |
OdDbBaseLayoutPE::ODRX_DECLARE_MEMBERS | ( | OdDbBaseLayoutPE | ) |
|
pure virtual |
Returns the name of the paper orientation for a specified layout (for example, "A4").
[in] | A | pointer to a layout object. |
|
pure virtual |
Returns the current plot units for a specified layout in paper space.
[in] | A | pointer to a layout object. |
|
pure virtual |
Returns the current plot rotation mode for a specified layout.
[in] | A | pointer to a layout object. |
|
pure virtual |
Returns the current plot type for a specified layout.
[in] | A | pointer to a layout object. |
|
pure virtual |
Determines whether lineweights should be printed for a specified layout.
[in] | A | pointer to a layout object. |
|
pure virtual |
Determines whether generation of linetypes for polylines is used in paper space for the specified layout.
[in] | A | pointer to a layout object. |
|
pure virtual |
Determines whether plot styles should be shown for a specified layout.
[in] | A | pointer to a layout object. |
|
pure virtual |
Determines whether a standard scale is used for a specified layout.
[in] | A | pointer to a layout object. |