You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
978 B
41 lines
978 B
14 years ago
|
//========================================================================
|
||
|
//
|
||
|
// SplashPattern.cc
|
||
|
//
|
||
|
//========================================================================
|
||
|
|
||
|
#include <aconf.h>
|
||
|
|
||
|
#ifdef USE_GCC_PRAGMAS
|
||
|
#pragma implementation
|
||
|
#endif
|
||
|
|
||
|
#include "SplashMath.h"
|
||
|
#include "SplashScreen.h"
|
||
|
#include "SplashPattern.h"
|
||
|
|
||
|
//------------------------------------------------------------------------
|
||
|
// SplashPattern
|
||
|
//------------------------------------------------------------------------
|
||
|
|
||
|
SplashPattern::SplashPattern() {
|
||
|
}
|
||
|
|
||
|
SplashPattern::~SplashPattern() {
|
||
|
}
|
||
|
|
||
|
//------------------------------------------------------------------------
|
||
|
// SplashSolidColor
|
||
|
//------------------------------------------------------------------------
|
||
|
|
||
|
SplashSolidColor::SplashSolidColor(SplashColorPtr colorA) {
|
||
|
splashColorCopy(color, colorA);
|
||
|
}
|
||
|
|
||
|
SplashSolidColor::~SplashSolidColor() {
|
||
|
}
|
||
|
|
||
|
void SplashSolidColor::getColor(int x, int y, SplashColorPtr c) {
|
||
|
splashColorCopy(c, color);
|
||
|
}
|