Public Member Functions | Protected Attributes

PaintCanvas Struct Reference

PaintCanvas is a encapsulation of device contexts managed by BeginPaint()/EndPaint(). More...

#include <utility.h>

Inheritance diagram for PaintCanvas:
Inheritance graph
[legend]
Collaboration diagram for PaintCanvas:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 PaintCanvas (HWND hwnd)
 ~PaintCanvas ()
 operator HDC () const

Protected Attributes

HWND _hwnd

Detailed Description

PaintCanvas is a encapsulation of device contexts managed by BeginPaint()/EndPaint().

Definition at line 479 of file utility.h.


Constructor & Destructor Documentation

PaintCanvas::PaintCanvas ( HWND  hwnd ) [inline]

Definition at line 481 of file utility.h.

     :  _hwnd(hwnd)
    {
        BeginPaint(hwnd, this);
    }
PaintCanvas::~PaintCanvas (  ) [inline]

Definition at line 487 of file utility.h.

    {
        EndPaint(_hwnd, this);
    }

Member Function Documentation

PaintCanvas::operator HDC (  ) const [inline]

Definition at line 492 of file utility.h.

{return hdc;}

Member Data Documentation

HWND PaintCanvas::_hwnd [protected]

Definition at line 495 of file utility.h.


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

ROS Explorer Source Code Documentation
generated on 02.01.2013 by doxygen

ROS Explorer Homepage