FontSelection locally selects a font for drawing. More...
#include <utility.h>
Public Member Functions | |
FontSelection (HDC hdc, HFONT hFont) | |
~FontSelection () | |
Protected Attributes | |
HDC | _hdc |
HFONT | _old_hFont |
FontSelection locally selects a font for drawing.
Definition at line 619 of file utility.h.
FontSelection::FontSelection | ( | HDC | hdc, |
HFONT | hFont | ||
) | [inline] |
Definition at line 621 of file utility.h.
: _hdc(hdc), _old_hFont(SelectFont(hdc, hFont)) {}
FontSelection::~FontSelection | ( | ) | [inline] |
Definition at line 624 of file utility.h.
{SelectFont(_hdc, _old_hFont);}
HDC FontSelection::_hdc [protected] |
HFONT FontSelection::_old_hFont [protected] |
ROS Explorer Source Code Documentation
generated on 02.01.2013 by ![]() |