![]() |
Gray C++ Libraries
0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
|
#include <cGraphCfg.h>
Public Member Functions | |
void | SetNewUniqueID () |
int | GetUniqueID () const |
const CGraphPenCfg & | operator= (const CGraphPenCfg &src) |
cString | GetListName (ITERATE_t i) const |
virtual void | Serialize (CArchive &ar) |
void | put_PenStyle (GraphPenStyle_Type style) |
GraphPenStyle_Type | get_PenStyle () const |
void | put_PenPointType (GraphPenPoint_Type PointType) |
GraphPenPoint_Type | get_PenPointType () const |
COLORREF | get_PenColor () const |
void | put_PenColor (COLORREF color) |
void | DrawDataPoint (CDC &dc, int x, int y, int iSize) |
void | DrawPenLabel (CDC &dc, CRect &rect, int iPointWidth, int iPointSize, int iOffsetX, int iOffsetY) |
CGraphPenCfg () | |
CGraphPenCfg (CGraphPenCfg &src) | |
~CGraphPenCfg () | |
![]() | |
virtual | ~CObject () |
virtual bool | isValidCheck () const noexcept |
< memory allocation and structure definitions are valid. More... | |
virtual void | AssertValid () const |
< memory allocation and structure definitions are valid. More... | |
Static Public Member Functions | |
static cString | FindObjectName (const CGraphDataSource *pSrc) |
static void | DrawDataPoint (CDC &dc, int x, int y, GraphPenStyle_Type PenStyle, GraphPenPoint_Type PointType, int iSize) |
Public Attributes | |
CString | m_sLabel |
free descriptive name for the pen. More... | |
CGraphDataSource | m_Src |
BOOL | m_bShowUnits |
CString | m_sUnits |
Units we should display if this is the primary pen. More... | |
BOOL | m_fMasked |
don't display the data at all. More... | |
BOOL | m_bShowExp |
show the value with an exponent More... | |
BOOL | m_bShowAvg |
show the calculated avg line. More... | |
CGraphTime | m_TimeStart |
CGraphTime | m_TimeStop |
GraphVal_t | m_valMinDisp |
GraphVal_t | m_valMaxDisp |
GraphVal_t | m_valMidDisp |
a median line ? More... | |
int | m_iTmpDrawWidth |
NOT STORED - last draw width. More... | |
Describe the attributes of the pens in CGraphCfg How to display.
GrayGraph::CGraphPenCfg::CGraphPenCfg | ( | ) |
|
inline |
GrayGraph::CGraphPenCfg::~CGraphPenCfg | ( | ) |
|
static |
|
inline |
void GrayGraph::CGraphPenCfg::DrawPenLabel | ( | CDC & | dc, |
CRect & | rect, | ||
int | iPointWidth, | ||
int | iPointSize, | ||
int | iOffsetX, | ||
int | iOffsetY | ||
) |
Draw the pens label. Center it in the rectangle.
|
static |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
virtual |
Reimplemented from Gray::CObject.
|
inline |
BOOL GrayGraph::CGraphPenCfg::m_bShowAvg |
show the calculated avg line.
BOOL GrayGraph::CGraphPenCfg::m_bShowExp |
show the value with an exponent
BOOL GrayGraph::CGraphPenCfg::m_bShowUnits |
BOOL GrayGraph::CGraphPenCfg::m_fMasked |
don't display the data at all.
int GrayGraph::CGraphPenCfg::m_iTmpDrawWidth |
NOT STORED - last draw width.
CString GrayGraph::CGraphPenCfg::m_sLabel |
free descriptive name for the pen.
CGraphDataSource GrayGraph::CGraphPenCfg::m_Src |
CString GrayGraph::CGraphPenCfg::m_sUnits |
Units we should display if this is the primary pen.
CGraphTime GrayGraph::CGraphPenCfg::m_TimeStart |
CGraphTime GrayGraph::CGraphPenCfg::m_TimeStop |
GraphVal_t GrayGraph::CGraphPenCfg::m_valMaxDisp |
GraphVal_t GrayGraph::CGraphPenCfg::m_valMidDisp |
a median line ?
GraphVal_t GrayGraph::CGraphPenCfg::m_valMinDisp |