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

#include <cGraphCfg.h>

Inheritance diagram for GrayGraph::CGraphFont:
Gray::CObject

Public Member Functions

 CGraphFont ()
 
 CGraphFont (CGraphFont &src)
 
int GetWidth () const
 
int GetHeight () const
 
void SetFontChanged ()
 
CFont * GetFont ()
 
const CGraphFontoperator= (const CGraphFont &src)
 
const cWinFontCfgget_FontCfg () const
 
void put_FontCfg (const cWinFontCfg &fontcfg)
 
COLORREF get_FontColor () const
 
void put_FontColor (COLORREF color)
 
virtual void Serialize (CArchive &ar)
 
- Public Member Functions inherited from Gray::CObject
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...
 

Public Attributes

cWinFontCfg m_FontCfg
 wrapper for _GTN(LOGFONT) used to create m_Font More...
 

Constructor & Destructor Documentation

◆ CGraphFont() [1/2]

GrayGraph::CGraphFont::CGraphFont ( )

◆ CGraphFont() [2/2]

GrayGraph::CGraphFont::CGraphFont ( CGraphFont src)
inline

Member Function Documentation

◆ get_FontCfg()

const cWinFontCfg& GrayGraph::CGraphFont::get_FontCfg ( ) const
inline

◆ get_FontColor()

COLORREF GrayGraph::CGraphFont::get_FontColor ( ) const
inline

◆ GetFont()

CFont* GrayGraph::CGraphFont::GetFont ( )
inline

◆ GetHeight()

int GrayGraph::CGraphFont::GetHeight ( ) const
inline

◆ GetWidth()

int GrayGraph::CGraphFont::GetWidth ( ) const
inline

◆ operator=()

const CGraphFont& GrayGraph::CGraphFont::operator= ( const CGraphFont src)
inline

◆ put_FontCfg()

void GrayGraph::CGraphFont::put_FontCfg ( const cWinFontCfg fontcfg)
inline

◆ put_FontColor()

void GrayGraph::CGraphFont::put_FontColor ( COLORREF  color)
inline

◆ Serialize()

void GrayGraph::CGraphFont::Serialize ( CArchive ar)
virtual

Reimplemented from Gray::CObject.

◆ SetFontChanged()

void GrayGraph::CGraphFont::SetFontChanged ( )
inline

< rebuild the font on demand

Member Data Documentation

◆ m_FontCfg

cWinFontCfg GrayGraph::CGraphFont::m_FontCfg

wrapper for _GTN(LOGFONT) used to create m_Font


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