ionflux.org | Impressum

CairoSurfacePattern.hpp

Go to the documentation of this file.
00001 #ifndef IONFLUX_TOOLS_CAIRO_SURFACEPATTERN
00002 #define IONFLUX_TOOLS_CAIRO_SURFACEPATTERN
00003 /* ==========================================================================
00004  * Ionflux Tools
00005  * Copyright (c) 2005 Joern P. Meier
00006  * mail@ionflux.org
00007  * --------------------------------------------------------------------------
00008  * CairoSurfacePattern.hpp                Cairo surface pattern.
00009  * ==========================================================================
00010  * 
00011  * This file is part of Ionflux Tools.
00012  * 
00013  * Ionflux Tools is free software; you can redistribute it and/or modify it
00014  * under the terms of the GNU General Public License as published by the 
00015  * Free Software Foundation; either version 2 of the License, or (at your 
00016  * option) any later version.
00017  * 
00018  * Ionflux Tools is distributed in the hope that it will be useful, but 
00019  * WITHOUT ANY WARRANTY; without even the implied warranty of 
00020  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
00021  * General Public License for more details.
00022  * 
00023  * You should have received a copy of the GNU General Public License along 
00024  * with Ionflux Tools; if not, write to the Free Software Foundation, Inc.,
00025  * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
00026  * 
00027  * ========================================================================== */
00028 
00029 #include "ionflux/CairoPattern.hpp"
00030 
00031 namespace Ionflux
00032 {
00033 
00034 namespace Tools
00035 {
00036 
00037 namespace Cairo
00038 {
00039 
00048 class SurfacePattern
00049 : public Pattern
00050 {
00051     private:
00052         
00053     protected:
00054         
00055     public:
00060         SurfacePattern();
00061         
00068         SurfacePattern(const SurfacePattern& initPattern);
00069         
00076         SurfacePattern(cairo_pattern_t* initPattern);
00077         
00084         SurfacePattern(cairo_surface_t* surface);
00085         
00090         virtual ~SurfacePattern();
00091         
00098         virtual void setExtend(cairo_extend_t extend);
00099         
00106         virtual cairo_extend_t getExtend();
00107         
00114         virtual void setFilter(cairo_filter_t filter);
00115         
00122         virtual cairo_filter_t getFilter();
00123         
00132         virtual SurfacePattern& operator=(const SurfacePattern& newCairoPattern);
00133         
00142         virtual SurfacePattern& operator=(cairo_pattern_t* newCairoPattern);
00143 };
00144 
00145 }
00146 
00147 }
00148 
00149 }
00150 
00154 #endif

Generated on Tue Mar 14 20:58:29 2006 for Ionflux Tools Class Library (iftools) by  doxygen 1.4.6