2xSaIScalers.h

Go to the documentation of this file.
00001 /*
00002 Copyright (C) 2005 The Pentagram Team
00003 
00004 This program is free software; you can redistribute it and/or
00005 modify it under the terms of the GNU General Public License
00006 as published by the Free Software Foundation; either version 2
00007 of the License, or (at your option) any later version.
00008 
00009 This program is distributed in the hope that it will be useful,
00010 but WITHOUT ANY WARRANTY; without even the implied warranty of
00011 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00012 GNU General Public License for more details.
00013 
00014 You should have received a copy of the GNU General Public License
00015 along with this program; if not, write to the Free Software
00016 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
00017 */
00018 
00019 #ifndef _2XSAISCALER_H_INCLUDED
00020 #define _2XSAISCALER_H_INCLUDED
00021 
00022 #include "Scaler.h"
00023 
00024 namespace Pentagram {
00025 
00026 class _2xSaIScaler : public Scaler
00027 {
00028 public:
00029         _2xSaIScaler();
00030 
00031         virtual const uint32    ScaleBits() const;                      //< bits for supported integer scaling
00032         virtual const bool              ScaleArbitrary() const;         //< supports arbitrary scaling of any degree 
00033 
00034         virtual const char *    ScalerName() const;                     //< Name Of the Scaler (1 word)
00035         virtual const char *    ScalerDesc() const;                     //< Desciption of the Scaler
00036         virtual const char *    ScalerCopyright() const;        //< Scaler Copyright info
00037 };
00038 
00039 class Super2xSaIScaler : public Scaler
00040 {
00041 public:
00042         Super2xSaIScaler();
00043 
00044         virtual const uint32    ScaleBits() const;                      //< bits for supported integer scaling
00045         virtual const bool              ScaleArbitrary() const;         //< supports arbitrary scaling of any degree 
00046 
00047         virtual const char *    ScalerName() const;                     //< Name Of the Scaler (1 word)
00048         virtual const char *    ScalerDesc() const;                     //< Desciption of the Scaler
00049         virtual const char *    ScalerCopyright() const;        //< Scaler Copyright info
00050 };
00051 
00052 class SuperEagleScaler : public Scaler
00053 {
00054 public:
00055         SuperEagleScaler();
00056 
00057         virtual const uint32    ScaleBits() const;                      //< bits for supported integer scaling
00058         virtual const bool              ScaleArbitrary() const;         //< supports arbitrary scaling of any degree 
00059 
00060         virtual const char *    ScalerName() const;                     //< Name Of the Scaler (1 word)
00061         virtual const char *    ScalerDesc() const;                     //< Desciption of the Scaler
00062         virtual const char *    ScalerCopyright() const;        //< Scaler Copyright info
00063 };
00064 
00065 extern const _2xSaIScaler               _2xSaI_scaler;
00066 extern const Super2xSaIScaler   Super2xSaI_scaler;
00067 extern const SuperEagleScaler   SuperEagle_scaler;
00068 
00069 #ifdef COMPILE_GAMMA_CORRECT_SCALERS
00070 
00071 class GC_2xSaIScaler : public Scaler
00072 {
00073 public:
00074         GC_2xSaIScaler();
00075 
00076         virtual const uint32    ScaleBits() const;                      //< bits for supported integer scaling
00077         virtual const bool              ScaleArbitrary() const;         //< supports arbitrary scaling of any degree 
00078 
00079         virtual const char *    ScalerName() const;                     //< Name Of the Scaler (1 word)
00080         virtual const char *    ScalerDesc() const;                     //< Desciption of the Scaler
00081         virtual const char *    ScalerCopyright() const;        //< Scaler Copyright info
00082 };
00083 
00084 class GC_Super2xSaIScaler : public Scaler
00085 {
00086 public:
00087         GC_Super2xSaIScaler();
00088 
00089         virtual const uint32    ScaleBits() const;                      //< bits for supported integer scaling
00090         virtual const bool              ScaleArbitrary() const;         //< supports arbitrary scaling of any degree 
00091 
00092         virtual const char *    ScalerName() const;                     //< Name Of the Scaler (1 word)
00093         virtual const char *    ScalerDesc() const;                     //< Desciption of the Scaler
00094         virtual const char *    ScalerCopyright() const;        //< Scaler Copyright info
00095 };
00096 
00097 class GC_SuperEagleScaler : public Scaler
00098 {
00099 public:
00100         GC_SuperEagleScaler();
00101 
00102         virtual const uint32    ScaleBits() const;                      //< bits for supported integer scaling
00103         virtual const bool              ScaleArbitrary() const;         //< supports arbitrary scaling of any degree 
00104 
00105         virtual const char *    ScalerName() const;                     //< Name Of the Scaler (1 word)
00106         virtual const char *    ScalerDesc() const;                     //< Desciption of the Scaler
00107         virtual const char *    ScalerCopyright() const;        //< Scaler Copyright info
00108 };
00109 
00110 extern const GC_2xSaIScaler                     GC_2xSaI_scaler;
00111 extern const GC_Super2xSaIScaler        GC_Super2xSaI_scaler;
00112 extern const GC_SuperEagleScaler        GC_SuperEagle_scaler;
00113 #endif
00114 };
00115 
00116 #endif

Generated on Fri Jul 27 22:27:08 2007 for pentagram by  doxygen 1.4.7