1 //======================================================================== 2 // 3 // SplashPattern.cc 4 // 5 //======================================================================== 6 7 #include <aconf.h> 8 9 #ifdef USE_GCC_PRAGMAS 10 #pragma implementation 11 #endif 12 13 #include "SplashMath.h" 14 #include "SplashScreen.h" 15 #include "SplashPattern.h" 16 17 //------------------------------------------------------------------------ 18 // SplashPattern 19 //------------------------------------------------------------------------ 20 SplashPattern()21SplashPattern::SplashPattern() { 22 } 23 ~SplashPattern()24SplashPattern::~SplashPattern() { 25 } 26 27 //------------------------------------------------------------------------ 28 // SplashSolidColor 29 //------------------------------------------------------------------------ 30 SplashSolidColor(SplashColorPtr colorA)31SplashSolidColor::SplashSolidColor(SplashColorPtr colorA) { 32 splashColorCopy(color, colorA); 33 } 34 ~SplashSolidColor()35SplashSolidColor::~SplashSolidColor() { 36 } 37 getColor(int x,int y,SplashColorPtr c)38void SplashSolidColor::getColor(int x, int y, SplashColorPtr c) { 39 splashColorCopy(c, color); 40 } 41