summaryrefslogtreecommitdiffstats
path: root/kpdf/xpdf/splash/SplashPattern.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kpdf/xpdf/splash/SplashPattern.cpp')
-rw-r--r--kpdf/xpdf/splash/SplashPattern.cpp40
1 files changed, 40 insertions, 0 deletions
diff --git a/kpdf/xpdf/splash/SplashPattern.cpp b/kpdf/xpdf/splash/SplashPattern.cpp
new file mode 100644
index 00000000..2aa4f70f
--- /dev/null
+++ b/kpdf/xpdf/splash/SplashPattern.cpp
@@ -0,0 +1,40 @@
+//========================================================================
+//
+// SplashPattern.cpp
+//
+//========================================================================
+
+#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);
+}