ionflux.org | Impressum

CairoSolidPattern.hpp

Go to the documentation of this file.
00001 #ifndef IONFLUX_TOOLS_CAIRO_SOLIDPATTERN
00002 #define IONFLUX_TOOLS_CAIRO_SOLIDPATTERN
00003 /* ==========================================================================
00004  * Ionflux Tools
00005  * Copyright (c) 2005 Joern P. Meier
00006  * mail@ionflux.org
00007  * --------------------------------------------------------------------------
00008  * CairoSolidPattern.hpp                  Cairo solid 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/color.hpp"
00030 #include "ionflux/CairoPattern.hpp"
00031 
00032 namespace Ionflux
00033 {
00034 
00035 namespace Tools
00036 {
00037 
00038 namespace Cairo
00039 {
00040 
00049 class SolidPattern
00050 : public Pattern
00051 {
00052     private:
00053         
00054     protected:
00055         
00056     public:
00061         SolidPattern();
00062         
00069         SolidPattern(const SolidPattern& initPattern);
00070         
00077         SolidPattern(cairo_pattern_t* initPattern);
00078         
00085         SolidPattern(const Ionflux::Tools::Color& color);
00086         
00095         SolidPattern(double red, double green, double blue);
00096         
00106         SolidPattern(double red, double green, double blue, double alpha);
00107         
00112         virtual ~SolidPattern();
00113         
00122         virtual SolidPattern& operator=(const SolidPattern& newCairoPattern);
00123         
00132         virtual SolidPattern& operator=(cairo_pattern_t* newCairoPattern);
00133 };
00134 
00135 }
00136 
00137 }
00138 
00139 }
00140 
00144 #endif

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