#include <gls_linear_scale.h>
|
bool | active |
| True if this scale is active.
|
|
bool | useLineColor |
| True if this scale draws with line color.
|
|
unsigned int | ticks |
| Number of ticks on this scale.
|
|
float | startingOffset |
| Start offset in logical units.
|
|
float | interval |
| Interval between ticks in logical units.
|
|
float | length |
| Length of ticks in logical units.
|
|
float | thickness |
| Thickness of ticks in logical units.
|
|
GlsColor | color |
| Color to draw ticks if line color is not being used.
|
|
|
DistiAttribDict | _attribDict |
| The attribute dictionary for this class' members.
|
|
The GlsLinearScaleData class. Stores information for the appearance of one set of tick marks.
◆ GlsLinearScaleData() [1/2]
GlsLinearScaleData |
( |
bool |
_active, |
|
|
bool |
_useLineColor, |
|
|
unsigned int |
_ticks, |
|
|
float |
_startingOffset, |
|
|
float |
_interval, |
|
|
float |
_length, |
|
|
float |
_thickness, |
|
|
const GlsColor & |
_color |
|
) |
| |
|
inline |
Constructor
- Parameters
-
_active | True if this scale is active. |
_useLineColor | True if this scale draws with line color. |
_ticks | Number of ticks on this scale. |
_startingOffset | Start offset in logical units. |
_interval | Interval between ticks in degrees. |
_length | Length of ticks in logical units. |
_thickness | Thickness of ticks in logical units. |
_color | Color to draw ticks if line color is not being used. |
◆ GlsLinearScaleData() [2/2]
Copy constructor
- Parameters
-
src | The object to copy from. |
◆ operator!=()
Inequality operator
- Parameters
-
right | The object to compare. |
- Returns
- Whether or not the objects are not equal.
◆ operator=()
Assignment operator
- Parameters
-
src | The object to copy from. |
- Returns
- The resulting object (this).
◆ operator==()
Equality operator
- Parameters
-
right | The object to compare. |
- Returns
- Whether or not the objects are equal.
◆ ReadValue()
std::istream & ReadValue |
( |
std::istream & |
instr | ) |
|
Reads this from a stream.
- Parameters
-
instr | The stream to read from. |
- Returns
- The stream in its current state.
◆ WriteValue()
std::ostream & WriteValue |
( |
std::ostream & |
outstr | ) |
|
Writes this to a stream.
- Parameters
-
outstr | The stream to write to. |
- Returns
- The stream in its current state.
The documentation for this class was generated from the following file: