neoWidgets
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Pages
Public Member Functions | Public Attributes | List of all members
neo::FontParams Class Reference

Font parameters with everything set to default. More...

#include <GdiObject.h>

Public Member Functions

HFONT CreateFont (int height) const
 
FontParamsSetCharSet (BYTE pCharset)
 
FontParamsSetClipPrecision (BYTE pClipPrecision)
 
FontParamsSetEscapment (int pEscapement)
 
FontParamsSetFaceName (const tstring &pFacename)
 
FontParamsSetItalic (BOOL set)
 
FontParamsSetOrientation (int pOrientation)
 
FontParamsSetOutPrecision (BYTE pOutPrecision)
 
FontParamsSetPitchAndFamily (BYTE pPitchAndFamily)
 
FontParamsSetQuality (BYTE pQuality)
 
FontParamsSetStrikeout (BOOL set)
 
FontParamsSetUnderline (BOOL set)
 
FontParamsSetWeight (int pWeight)
 
FontParamsSetWidth (int pWidth)
 

Public Attributes

DWORD charset
 
DWORD clipPrecision
 
int escapement
 
tstring facename
 
DWORD italic
 
int orientation
 
DWORD outPrecision
 
DWORD pitchAndFamily
 
DWORD quality
 
DWORD strikeout
 
DWORD underline
 
int weight
 
int width
 

Detailed Description

Font parameters with everything set to default.

These values can of course be manipulated after the object is constructed.

Member Function Documentation

HFONT neo::FontParams::CreateFont ( int  height) const
inline
Returns
A font built from this parameter instance.
FontParams& neo::FontParams::SetCharSet ( BYTE  pCharset)
inline
Returns
Reference to this instance for method chaining.
FontParams& neo::FontParams::SetClipPrecision ( BYTE  pClipPrecision)
inline
Returns
Reference to this instance for method chaining.
FontParams& neo::FontParams::SetEscapment ( int  pEscapement)
inline
Returns
Reference to this instance for method chaining.
FontParams& neo::FontParams::SetFaceName ( const tstring &  pFacename)
inline
Returns
Reference to this instance for method chaining.
FontParams& neo::FontParams::SetItalic ( BOOL  set)
inline
Returns
Reference to this instance for method chaining.
FontParams& neo::FontParams::SetOrientation ( int  pOrientation)
inline
Returns
Reference to this instance for method chaining.
FontParams& neo::FontParams::SetOutPrecision ( BYTE  pOutPrecision)
inline
Returns
Reference to this instance for method chaining.
FontParams& neo::FontParams::SetPitchAndFamily ( BYTE  pPitchAndFamily)
inline
Returns
Reference to this instance for method chaining.
FontParams& neo::FontParams::SetQuality ( BYTE  pQuality)
inline
Returns
Reference to this instance for method chaining.
FontParams& neo::FontParams::SetStrikeout ( BOOL  set)
inline
Returns
Reference to this instance for method chaining.
FontParams& neo::FontParams::SetUnderline ( BOOL  set)
inline
Returns
Reference to this instance for method chaining.
FontParams& neo::FontParams::SetWeight ( int  pWeight)
inline
Returns
Reference to this instance for method chaining.
FontParams& neo::FontParams::SetWidth ( int  pWidth)
inline
Returns
Reference to this instance for method chaining.

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