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

win32_surface.h

Go to the documentation of this file.
00001 /* Copyright (C) 2005 The cairomm Development Team
00002  *
00003  * This library is free software; you can redistribute it and/or
00004  * modify it under the terms of the GNU Library General Public
00005  * License as published by the Free Software Foundation; either
00006  * version 2 of the License, or (at your option) any later version.
00007  *
00008  * This library is distributed in the hope that it will be useful,
00009  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00010  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00011  * Library General Public License for more details.
00012  *
00013  * You should have received a copy of the GNU Library General Public
00014  * License along with this library; if not, write to the Free
00015  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
00016  */
00017 
00018 #ifndef __CAIROMM_WIN32_SURFACE_H
00019 #define __CAIROMM_WIN32_SURFACE_H
00020 
00021 #include <cairomm/surface.h>
00022 
00023 // This header is not included by cairomm.h because it requires Windows headers that 
00024 // tend to pollute the namespace with non-prefixed #defines and typedefs.
00025 // You may include it directly if you need to use this API.
00026 
00027 namespace Cairo
00028 {
00029 
00030 #ifdef CAIRO_HAS_WIN32_SURFACE
00031 
00039 class Win32Surface : public Surface
00040 {
00041 public:
00042 
00050   explicit Win32Surface(cairo_surface_t* cobject, bool has_reference = false);
00051   virtual ~Win32Surface();
00052 
00058   static RefPtr<Win32Surface> create(HDC hdc);
00059 
00060 };
00061 
00062 #endif // CAIRO_HAS_WIN32_SURFACE
00063 
00064 
00065 } // namespace Cairo
00066 
00067 #endif //__CAIROMM_WIN32_SURFACE_H

Generated on Thu Feb 9 12:47:13 2006 for cairomm by  doxygen 1.4.4