ionflux.org | Impressum

CairoLinearGradient.hpp

Go to the documentation of this file.
00001 #ifndef IONFLUX_TOOLS_CAIRO_LINEARGRADIENT
00002 #define IONFLUX_TOOLS_CAIRO_LINEARGRADIENT
00003 /* ==========================================================================
00004  * Ionflux Tools
00005  * Copyright (c) 2005 Joern P. Meier
00006  * mail@ionflux.org
00007  * --------------------------------------------------------------------------
00008  * CairoLinearGradient.hpp                Cairo linear gradient.
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/CairoGradient.hpp"
00030 
00031 namespace Ionflux
00032 {
00033 
00034 namespace Tools
00035 {
00036 
00037 namespace Cairo
00038 {
00039 
00048 class LinearGradient
00049 : public Gradient
00050 {
00051     private:
00052         
00053     protected:
00054         
00055     public:
00060         LinearGradient();
00061         
00068         LinearGradient(const LinearGradient& initGradient);
00069         
00076         LinearGradient(cairo_pattern_t* initGradient);
00077         
00087         LinearGradient(double x0, double y0, double x1, double y1);
00088         
00093         virtual ~LinearGradient();
00094         
00103         virtual LinearGradient& operator=(const LinearGradient& newCairoPattern);
00104         
00113         virtual LinearGradient& operator=(cairo_pattern_t* newCairoPattern);
00114 };
00115 
00116 }
00117 
00118 }
00119 
00120 }
00121 
00125 #endif

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