CFx SDK Documentation  2020SP3
Public Member Functions | Protected Types | Protected Attributes | List of all members
OdGiLineweightOverride Struct Reference

#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
 

Detailed Description

This class provides an interface to override OdGsView lineweight settings.

See also
TD_Gi

<group OdGi_Classes>

Definition at line 40 of file GiLineweightOverride.h.

Member Enumeration Documentation

◆ Flags

Enumerator
kLwdOverrideScale 
kLwdOverrideStyle 

Definition at line 43 of file GiLineweightOverride.h.

Constructor & Destructor Documentation

◆ OdGiLineweightOverride()

OdGiLineweightOverride::OdGiLineweightOverride ( )
inline

Definition at line 54 of file GiLineweightOverride.h.

Member Function Documentation

◆ endStyleOverride()

OdPs::LineEndStyle OdGiLineweightOverride::endStyleOverride ( ) const
inline

Definition at line 106 of file GiLineweightOverride.h.

◆ hasOverrides()

bool OdGiLineweightOverride::hasOverrides ( ) const
inline

Definition at line 115 of file GiLineweightOverride.h.

◆ hasScaleOverride()

bool OdGiLineweightOverride::hasScaleOverride ( ) const
inline

Definition at line 72 of file GiLineweightOverride.h.

◆ hasStyleOverride()

bool OdGiLineweightOverride::hasStyleOverride ( ) const
inline

Definition at line 102 of file GiLineweightOverride.h.

◆ joinStyleOverride()

OdPs::LineJoinStyle OdGiLineweightOverride::joinStyleOverride ( ) const
inline

Definition at line 110 of file GiLineweightOverride.h.

◆ operator!=()

bool OdGiLineweightOverride::operator!= ( const OdGiLineweightOverride lwdO2) const
inline

Definition at line 136 of file GiLineweightOverride.h.

◆ operator==()

bool OdGiLineweightOverride::operator== ( const OdGiLineweightOverride lwdO2) const
inline

Definition at line 119 of file GiLineweightOverride.h.

◆ pixelScale()

double OdGiLineweightOverride::pixelScale ( ) const
inline

Definition at line 85 of file GiLineweightOverride.h.

◆ resetScaleOverride()

void OdGiLineweightOverride::resetScaleOverride ( )
inline

Definition at line 67 of file GiLineweightOverride.h.

◆ resetStyleOverride()

void OdGiLineweightOverride::resetStyleOverride ( )
inline

Definition at line 96 of file GiLineweightOverride.h.

◆ scaleOverride()

double OdGiLineweightOverride::scaleOverride ( ) const
inline

Definition at line 76 of file GiLineweightOverride.h.

◆ setPixelScale()

void OdGiLineweightOverride::setPixelScale ( double  dPixScale)
inline

Definition at line 81 of file GiLineweightOverride.h.

◆ setScaleOverride()

void OdGiLineweightOverride::setScaleOverride ( double  dLwdScale)
inline

Definition at line 62 of file GiLineweightOverride.h.

◆ setStyleOverride()

void OdGiLineweightOverride::setStyleOverride ( OdPs::LineEndStyle  lineCapStyle,
OdPs::LineJoinStyle  lineJoinStyle 
)
inline

Definition at line 90 of file GiLineweightOverride.h.

Member Data Documentation

◆ m_dLwdScale

double OdGiLineweightOverride::m_dLwdScale
protected

Definition at line 49 of file GiLineweightOverride.h.

◆ m_dPixScale

double OdGiLineweightOverride::m_dPixScale
protected

Definition at line 50 of file GiLineweightOverride.h.

◆ m_lineCapStyle

OdPs::LineEndStyle OdGiLineweightOverride::m_lineCapStyle
protected

Definition at line 51 of file GiLineweightOverride.h.

◆ m_lineJoinStyle

OdPs::LineJoinStyle OdGiLineweightOverride::m_lineJoinStyle
protected

Definition at line 52 of file GiLineweightOverride.h.

◆ m_uFlags

OdUInt32 OdGiLineweightOverride::m_uFlags
protected

Definition at line 48 of file GiLineweightOverride.h.


The documentation for this struct was generated from the following file: