QCAD
Open Source 2D CAD
Loading...
Searching...
No Matches
ON__LayerPerViewSettings Class Reference

Public Types

enum  {
  viewport_id_bit = 1 , color_bit = 2 , plot_color_bit = 4 , plot_weight_bit = 8 ,
  visible_bit = 16
}
 

Public Member Functions

unsigned int ActiveElements () const
 
 ON__LayerPerViewSettings ()
 
bool Read (ON_BinaryArchive &binary_archive)
 
void SetDefaultValues ()
 
bool Write (ON_BinaryArchive &binary_archive) const
 

Static Public Member Functions

static int Compare (const ON__LayerPerViewSettings *a, const ON__LayerPerViewSettings *b)
 
static int CompareViewportId (const ON__LayerPerViewSettings *a, const ON__LayerPerViewSettings *b)
 

Public Attributes

ON_Color m_color
 
ON_Color m_plot_color
 
double m_plot_weight_mm
 
ON_UUID m_viewport_id
 
unsigned char m_visible
 

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
viewport_id_bit 
color_bit 
plot_color_bit 
plot_weight_bit 
visible_bit 

Constructor & Destructor Documentation

◆ ON__LayerPerViewSettings()

ON__LayerPerViewSettings::ON__LayerPerViewSettings ( )

Member Function Documentation

◆ ActiveElements()

unsigned int ON__LayerPerViewSettings::ActiveElements ( ) const

◆ Compare()

int ON__LayerPerViewSettings::Compare ( const ON__LayerPerViewSettings * a,
const ON__LayerPerViewSettings * b )
static

◆ CompareViewportId()

int ON__LayerPerViewSettings::CompareViewportId ( const ON__LayerPerViewSettings * a,
const ON__LayerPerViewSettings * b )
static

◆ Read()

bool ON__LayerPerViewSettings::Read ( ON_BinaryArchive & binary_archive)

◆ SetDefaultValues()

void ON__LayerPerViewSettings::SetDefaultValues ( )

◆ Write()

bool ON__LayerPerViewSettings::Write ( ON_BinaryArchive & binary_archive) const

Member Data Documentation

◆ m_color

ON_Color ON__LayerPerViewSettings::m_color

◆ m_plot_color

ON_Color ON__LayerPerViewSettings::m_plot_color

◆ m_plot_weight_mm

double ON__LayerPerViewSettings::m_plot_weight_mm

◆ m_viewport_id

ON_UUID ON__LayerPerViewSettings::m_viewport_id

◆ m_visible

unsigned char ON__LayerPerViewSettings::m_visible

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