|
|
union { | |
|
Options m_options | |
| | options
|
|
Options labelingMode | |
| | options for labeling
|
| }; | |
| | The render options.
|
|
union { | |
|
Rgba m_innerColor | |
| | inner color RGBA
|
|
Rgba polylineInnerColor | |
| | Polyline inner color RGBA.
|
| }; | |
| | The polyline inner color.
|
|
union { | |
|
Rgba m_outerColor | |
| | outer color RGBA
|
|
Rgba polylineOuterColor | |
| | Polyline outer color RGBA.
|
| }; | |
| | The polyline outer color.
|
|
union { | |
|
double m_innerSz | |
| | inner size in mm
|
|
double polylineInnerSize | |
| | Polyline inner size in mm.
|
| }; | |
| | The polyline inner size in mm.
|
|
union { | |
|
double m_outerSz | |
| | outer size in mm
|
|
double polylineOuterSize | |
| | Polyline outer size in mm.
|
| }; | |
| | The polyline outer ( border ) size in mm.
|
|
union { | |
|
double m_imgSz | |
| | image size in mm
|
|
double imageSize | |
| | image size in mm
|
| }; | |
| | The image size in mm ( default: value from current style ).
|
|
union { | |
|
double m_textSz | |
| | text size in mm
|
|
double labelTextSize | |
| | label text size in mm
|
| }; | |
| | The text size in mm ( default: value from current style ).
|
|
union { | |
|
Rgba m_textColor | |
| | text color RGBA
|
|
Rgba labelTextColor | |
| | label color RGBA
|
| }; | |
| | The text color ( default: value from current style ).
|
|
union { | |
|
ELineType m_lineType | |
| | line type
|
|
ELineType polylineType | |
| | Polyline type.
|
| }; | |
| | The line type.
|
|
union { | |
|
EImagePosition m_imgPos | |
| | image position
|
|
EImagePosition imagePosition | |
| | image position
|
| }; | |
| | The image position.
|
template<typename TOptions, TOptions DefOptions, int DefInnerColor, int DefOuterColor, int DefInnerSz, int DefOuterSz, typename TSubclass = void>
struct gem::RenderSettings< TOptions, DefOptions, DefInnerColor, DefOuterColor, DefInnerSz, DefOuterSz, TSubclass >
Generic render settings.
template<typename TOptions, TOptions DefOptions, int DefInnerColor, int DefOuterColor, int DefInnerSz, int DefOuterSz, typename TSubclass = void>
| gem::RenderSettings< TOptions, DefOptions, DefInnerColor, DefOuterColor, DefInnerSz, DefOuterSz, TSubclass >::RenderSettings |
( |
Options | options = DefOptions, |
|
|
const Rgba & | innerColor = DefInnerColor, |
|
|
const Rgba & | outerColor = DefOuterColor, |
|
|
const double & | innerSz = DefInnerSz / 100., |
|
|
const double & | outerSz = DefOuterSz / 100. ) |
|
inline |
Constructor taking options and colors.
- Parameters
-
| options | The render options |
| innerColor | The inner color |
| outerColor | The outer color |
| innerSz | The inner size |
| outerSz | The outer size |
template<typename TOptions, TOptions DefOptions, int DefInnerColor, int DefOuterColor, int DefInnerSz, int DefOuterSz, typename TSubclass = void>
| auto & gem::RenderSettings< TOptions, DefOptions, DefInnerColor, DefOuterColor, DefInnerSz, DefOuterSz, TSubclass >::resetOption |
( |
Options | option | ) |
|
|
inline |
Reset the render options.
- Parameters
-
- Returns
- A reference to the object