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

Font handle More...

#include <GdiObject.h>

Inheritance diagram for neo::Font:
Inheritance graph
[legend]

Public Member Functions

 Font (HFONT font=0)
 
 Font (int height, const FontParams &params=FontParams())
 
void Create (int height, const FontParams &params=FontParams())
 
void CreateDefaultFont ()
 
- Public Member Functions inherited from neo::GdiObject< HFONT >
 GdiObject (HFONTpHandle=0)
 
 operator HFONT ()
 
void SetHandle (HFONTpHandle)
 

Additional Inherited Members

- Public Attributes inherited from neo::GdiObject< HFONT >
HFONT handle
 

Detailed Description

Font handle

Member Function Documentation

void neo::Font::CreateDefaultFont ( )
inline

Create a font consistent with the operating system.

  • On older OS this will be Tahoma 8pt
  • Starting with Vista it is Segoe UI 9pt

So be sure your app layout handles varying font sizes correctly if you use this function.


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