Gray C++ Libraries  0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
GrayGraph::CGraphIntervals Class Reference

#include <cGraphCoords.h>

Inheritance diagram for GrayGraph::CGraphIntervals:
GrayGraph::CGraphCoords GrayLib::cRectT< TYPE >

Public Member Functions

 CGraphIntervals (bool fTime, int iNMax, double _pix1, double _pix2, double _w1, double _w2)
 
 ~CGraphIntervals ()
 
const TCHAR * GetTimeFormatStr () const
 
const TCHAR * GetTimeLabelStr () const
 
int get_MaxExp () const
 
ITERATE_t get_Count () const
 
int GetScreenPt (ITERATE_t i) const
 
double GetMid (ITERATE_t i) const
 
double GetScaledMid (ITERATE_t i) const
 
double GetMidLo (ITERATE_t i) const
 
double GetMidHi (ITERATE_t i) const
 
- Public Member Functions inherited from GrayGraph::CGraphCoords
 CGraphCoords (double _pix1, double _pix2, double _w1, double _w2)
 
 CGraphCoords (const CGraphCoords &coords)
 
double CvtWtoX (double value) const
 
double CvtXtoW (double value) const
 
- Public Member Functions inherited from GrayLib::cRectT< TYPE >
 cRectT () noexcept
 
 cRectT (TYPE x1, TYPE y1, TYPE x2, TYPE y2) noexcept
 
 cRectT (const THIS_t &rect) noexcept
 
TYPE get_DiffX () const noexcept
 
TYPE get_DiffY () const noexcept
 
cVecT2< TYPEget_Center () const noexcept
 
float get_AspectRatio () const noexcept
 
bool IsEqual (const THIS_t &rect) const noexcept
 
bool operator== (const THIS_t &rect) const noexcept
 
bool operator!= (const THIS_t &rect) const noexcept
 
bool isRectNull () const noexcept
 
bool isRectNormal () const noexcept
 
bool isRectNormalE () const noexcept
 
bool IsInRangeX (TYPE value) const noexcept
 
bool IsInRangeY (TYPE value) const noexcept
 
void SetRectNull () noexcept
 
void SetRectWH (TYPE nLeft, TYPE nTop, TYPE nWidth, TYPE nHeight) noexcept
 
void SetRectEmptyX () noexcept
 
void SetRect4 (TYPE nLeft, TYPE nTop, TYPE nRight, TYPE nBottom) noexcept
 
void SetRectAsPt (TYPE x, TYPE y) noexcept
 
void SetRectAsPt (const POINT_t &pt) noexcept
 
void SetRectFromSphere (TYPE x, TYPE y, TYPE nRadius) noexcept
 
HRESULT SetRectAsStr (const char *pszStr)
 
void OffsetRectX (TYPE dx) noexcept
 
void OffsetRectY (TYPE dy) noexcept
 
void OffsetRect (TYPE dx, TYPE dy) noexcept
 
void UnionX (TYPE x) noexcept
 
void UnionY (TYPE y) noexcept
 
void Union2 (TYPE x, TYPE y) noexcept
 
void Union4 (const THIS_t &rect) noexcept
 
void ScrollInRangeX (TYPE value) noexcept
 
void ScrollInRangeY (TYPE value)
 
void SetRectNotEmpty (TYPE iMin=10) noexcept
 
void ScaleX (float mx) noexcept
 
void ScaleY (float my) noexcept
 
void Scale (float mx, float my) noexcept
 
void AddScaleY () noexcept
 
void NormalizeRect () noexcept
 

Additional Inherited Members

- Public Types inherited from GrayLib::cRectT< TYPE >
typedef TYPE DVALUE_t
 Dimension value type. More...
 
- Static Public Member Functions inherited from GrayGraph::CGraphCoords
static int GetExponent (double value)
 
- Public Attributes inherited from GrayLib::cRectT< TYPE >
TYPE left
 
TYPE top
 
TYPE right
 
TYPE bottom
 
- Protected Attributes inherited from GrayGraph::CGraphCoords
double m_capacity
 

Detailed Description

for use with DivideInterval call.

Constructor & Destructor Documentation

◆ CGraphIntervals()

GrayGraph::CGraphIntervals::CGraphIntervals ( bool  fTime,
int  iNMax,
double  _pix1,
double  _pix2,
double  _w1,
double  _w2 
)

◆ ~CGraphIntervals()

GrayGraph::CGraphIntervals::~CGraphIntervals ( )

Member Function Documentation

◆ get_Count()

ITERATE_t GrayGraph::CGraphIntervals::get_Count ( ) const
inline

◆ get_MaxExp()

int GrayGraph::CGraphIntervals::get_MaxExp ( ) const
inline

◆ GetMid()

double GrayGraph::CGraphIntervals::GetMid ( ITERATE_t  i) const
inline

◆ GetMidHi()

double GrayGraph::CGraphIntervals::GetMidHi ( ITERATE_t  i) const
inline

◆ GetMidLo()

double GrayGraph::CGraphIntervals::GetMidLo ( ITERATE_t  i) const
inline

◆ GetScaledMid()

double GrayGraph::CGraphIntervals::GetScaledMid ( ITERATE_t  i) const
Returns
the exponent scaled value at this tick mark.

◆ GetScreenPt()

int GrayGraph::CGraphIntervals::GetScreenPt ( ITERATE_t  i) const
inline

◆ GetTimeFormatStr()

const TCHAR * GrayGraph::CGraphIntervals::GetTimeFormatStr ( ) const

◆ GetTimeLabelStr()

const TCHAR * GrayGraph::CGraphIntervals::GetTimeLabelStr ( ) const

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