Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

Cairo::Win32Surface Class Reference

Inheritance diagram for Cairo::Win32Surface:

Inheritance graph
[legend]
List of all members.

Detailed Description

A Win32Surface provides a way to render within Microsoft Windows.

If you want to draw to the screen within a Microsoft Windows application, you should use this Surface type.

Note:
For this Surface to be available, cairo must have been compiled with Win32 support


Public Member Functions

 Win32Surface (cairo_surface_t *cobject, bool has_reference=false)
 Create a C++ wrapper for the C instance.
virtual ~Win32Surface ()

Static Public Member Functions

static RefPtr< Win32Surfacecreate (HDC hdc)
 Creates a Surface for drawing in Microsoft Windows.


Constructor & Destructor Documentation

Cairo::Win32Surface::Win32Surface cairo_surface_t *  cobject,
bool  has_reference = false
[explicit]
 

Create a C++ wrapper for the C instance.

This C++ instance should then be given to a RefPtr.

Parameters:
cobject The C instance.
has_reference whether we already have a reference. Otherwise, the constructor will take an extra reference.

virtual Cairo::Win32Surface::~Win32Surface  )  [virtual]
 


Member Function Documentation

static RefPtr<Win32Surface> Cairo::Win32Surface::create HDC  hdc  )  [static]
 

Creates a Surface for drawing in Microsoft Windows.

Parameters:
hdc 
Returns:
A RefPtr to the newly created surface


The documentation for this class was generated from the following file:
Generated on Tue Apr 4 20:48:37 2006 for cairomm by  doxygen 1.4.4