2#include "DefinitionGUISNAP.h"
3#include "GUIDefinitions.h"
4#include "../FLImagingFoundation/DefinitionsFigureText.h"
10 class FL_EXPORT CSNAPFigureOutputInfo :
public Base::CFLBase
12 SupportToDuplicateObject(CSNAPFigureOutputInfo, *
this);
16 ECrosshairSource_Center = 0,
17 ECrosshairSource_ElementwiseCenter,
21 CSNAPFigureOutputInfo();
22 CSNAPFigureOutputInfo(
const CSNAPFigureOutputInfo& rh);
23 virtual ~CSNAPFigureOutputInfo();
25 const CResult
Assign(
const CSNAPFigureOutputInfo& rh);
27 void SetMode(EFigureOutputMode eMode);
28 EFigureOutputMode GetMode()
const;
30 void SetLineColor(uint32_t u32Line);
31 uint32_t GetLineColor()
const;
33 void SetLineWidth(int32_t i32LineWidth);
34 int32_t GetLineWidth()
const;
36 void SetFillColor(uint32_t u32Fill);
37 uint32_t GetFillColor()
const;
39 void SetPenStyle(EGUIViewImagePenStyle ePenStyle);
42 void SetLineColorAlphaRatio(
float fRatio);
43 float GetLineColorAlphaRatio()
const;
45 void SetFillColorAlphaRatio(
float fRatio);
46 float GetFillColorAlphaRatio()
const;
48 void SetEdgeColor(uint32_t u32Edge);
49 uint32_t GetEdgeColor()
const;
51 void EnableMakeCrosshair(
bool bEnable);
52 bool IsMakeCrosshairEnabled()
const;
54 void SetCrosshairSource(ECrosshairSource eSource);
55 ECrosshairSource GetCrosshairSource()
const;
57 void SetCrosshairLength(
double f64Length);
58 double GetCrosshairLength()
const;
60 void EnableCrosshairDiagonal(
bool bEnable);
61 bool IsCrosshairDiagonalEnabled()
const;
63 DeclareGetClassType();
66 EFigureOutputMode m_eMode;
69 int32_t m_i32LineWidth;
72 float m_fLineColorAlpha;
73 float m_fFillColorAlpha;
76 bool m_bMakeCrosshair;
77 ECrosshairSource m_eCrosshairSource;
78 double m_f64CrosshairLength;
79 bool m_bCrosshairDiagonal;
EGUIViewImagePenStyle
Pen Style in Image View.
Definition GUIDefinitions.h:4810
@ Assign
Set the value of CGUIPropertyItemView3DFigure to the specified figure.