Debian Codegraph @

libs/xpdf/xpdf-src/splash/SplashPattern.cc

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