WinapiExtension
 All Classes Files Functions Variables Typedefs Pages
Public Member Functions | Public Attributes | List of all members
FontParams Class Reference

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

#include <gdi.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 FontParams::CreateFont ( int  height) const
inline
Returns
A font built from this parameter instance.
FontParams& FontParams::SetCharSet ( BYTE  pCharset)
inline
Returns
Reference to this instance for method chaining.
FontParams& FontParams::SetClipPrecision ( BYTE  pClipPrecision)
inline
Returns
Reference to this instance for method chaining.
FontParams& FontParams::SetEscapment ( int  pEscapement)
inline
Returns
Reference to this instance for method chaining.
FontParams& FontParams::SetFaceName ( const tstring pFacename)
inline
Returns
Reference to this instance for method chaining.
FontParams& FontParams::SetItalic ( BOOL  set)
inline
Returns
Reference to this instance for method chaining.
FontParams& FontParams::SetOrientation ( int  pOrientation)
inline
Returns
Reference to this instance for method chaining.
FontParams& FontParams::SetOutPrecision ( BYTE  pOutPrecision)
inline
Returns
Reference to this instance for method chaining.
FontParams& FontParams::SetPitchAndFamily ( BYTE  pPitchAndFamily)
inline
Returns
Reference to this instance for method chaining.
FontParams& FontParams::SetQuality ( BYTE  pQuality)
inline
Returns
Reference to this instance for method chaining.
FontParams& FontParams::SetStrikeout ( BOOL  set)
inline
Returns
Reference to this instance for method chaining.
FontParams& FontParams::SetUnderline ( BOOL  set)
inline
Returns
Reference to this instance for method chaining.
FontParams& FontParams::SetWeight ( int  pWeight)
inline
Returns
Reference to this instance for method chaining.
FontParams& FontParams::SetWidth ( int  pWidth)
inline
Returns
Reference to this instance for method chaining.

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