CFx SDK Documentation 2024 SP0
|
#include <GiLineweightOverride.h>
Public Member Functions | |
OdGiLineweightOverride () | |
void | setScaleOverride (double dLwdScale) |
void | resetScaleOverride () |
bool | hasScaleOverride () const |
double | scaleOverride () const |
void | setPixelScale (double dPixScale) |
double | pixelScale () const |
void | setStyleOverride (OdPs::LineEndStyle lineCapStyle, OdPs::LineJoinStyle lineJoinStyle) |
void | resetStyleOverride () |
bool | hasStyleOverride () const |
OdPs::LineEndStyle | endStyleOverride () const |
OdPs::LineJoinStyle | joinStyleOverride () const |
bool | hasOverrides () const |
bool | operator== (const OdGiLineweightOverride &lwdO2) const |
bool | operator!= (const OdGiLineweightOverride &lwdO2) const |
Protected Types | |
enum | Flags { kLwdOverrideScale = (1 << 0) , kLwdOverrideStyle = (1 << 1) } |
Protected Attributes | |
OdUInt32 | m_uFlags |
double | m_dLwdScale |
double | m_dPixScale |
OdPs::LineEndStyle | m_lineCapStyle |
OdPs::LineJoinStyle | m_lineJoinStyle |
This class provides an interface to override OdGsView lineweight settings.
<group OdGi_Classes>
Definition at line 40 of file GiLineweightOverride.h.
|
protected |
Enumerator | |
---|---|
kLwdOverrideScale | |
kLwdOverrideStyle |
Definition at line 43 of file GiLineweightOverride.h.
|
inline |
Default constructor for the OdGiLineweightOverride class. Sets the following data members:
member Value Description m_uFlags 0 Lineweight flags m_dLwdScale 1.0 Lineweight scale m_dPixScale 1.0 Pixel scale m_lineCapStyle OdPs::kLesRound Style for line caps m_lineJoinStyle OdPs::kLjsRound Style for line joining
Definition at line 65 of file GiLineweightOverride.h.
|
inline |
Retrieves the line cap style override.
Definition at line 172 of file GiLineweightOverride.h.
|
inline |
Checks whether this lineweight has any overrides.
Definition at line 194 of file GiLineweightOverride.h.
|
inline |
Checks whether this lineweight has a scale override.
Definition at line 98 of file GiLineweightOverride.h.
|
inline |
Checks whether this lineweight has line style overrides.
Definition at line 162 of file GiLineweightOverride.h.
|
inline |
Retrieves the line joining style override.
Definition at line 182 of file GiLineweightOverride.h.
|
inline |
Inequality operator for this lineweight override. Lineweight overrides are not equal if one of the following conditions fails: Lineweight override flags are equal; Lineweight override scales are equal; Lineweight override line cap styles are equal; Lineweight override line join styles are equal;
lwdO2 | [in] Lineweight override to compare. |
Definition at line 242 of file GiLineweightOverride.h.
|
inline |
Equality operator for this lineweight override. Lineweight overrides are equal if: Lineweight override flags are equal; Lineweight override scales are equal; Lineweight override line cap styles are equal; Lineweight override line join styles are equal;
lwdO2 | [in] Lineweight override to compare. |
Definition at line 212 of file GiLineweightOverride.h.
|
inline |
Retrieves the pixel scale value.
Definition at line 130 of file GiLineweightOverride.h.
|
inline |
Resets scale overrides.
Definition at line 86 of file GiLineweightOverride.h.
|
inline |
Resets line style overrides.
Definition at line 150 of file GiLineweightOverride.h.
|
inline |
Retrieves the lineweight scale override value.
Definition at line 109 of file GiLineweightOverride.h.
|
inline |
Specifies pixel scale property.
dPixScale | [in] Pixel scale value. |
Definition at line 119 of file GiLineweightOverride.h.
|
inline |
Overrides scale properties.
dLwdScale | [in] Lineweight scale. |
Definition at line 77 of file GiLineweightOverride.h.
|
inline |
Overrides line style properties.
lineCapStyle | [in] Style for a line cap. |
lineJoinStyle | [in] Style for a line joining. |
Definition at line 141 of file GiLineweightOverride.h.
|
protected |
Definition at line 49 of file GiLineweightOverride.h.
|
protected |
Definition at line 50 of file GiLineweightOverride.h.
|
protected |
Definition at line 51 of file GiLineweightOverride.h.
|
protected |
Definition at line 52 of file GiLineweightOverride.h.
|
protected |
Definition at line 48 of file GiLineweightOverride.h.