/src/xpdf-4.04/splash/SplashPattern.cc
Line | Count | Source (jump to first uncovered line) |
1 | | //======================================================================== |
2 | | // |
3 | | // SplashPattern.cc |
4 | | // |
5 | | // Copyright 2003-2013 Glyph & Cog, LLC |
6 | | // |
7 | | //======================================================================== |
8 | | |
9 | | #include <aconf.h> |
10 | | |
11 | | #ifdef USE_GCC_PRAGMAS |
12 | | #pragma implementation |
13 | | #endif |
14 | | |
15 | | #include "gmempp.h" |
16 | | #include "SplashMath.h" |
17 | | #include "SplashScreen.h" |
18 | | #include "SplashPattern.h" |
19 | | |
20 | | //------------------------------------------------------------------------ |
21 | | // SplashPattern |
22 | | //------------------------------------------------------------------------ |
23 | | |
24 | 0 | SplashPattern::SplashPattern() { |
25 | 0 | } |
26 | | |
27 | 0 | SplashPattern::~SplashPattern() { |
28 | 0 | } |
29 | | |
30 | | //------------------------------------------------------------------------ |
31 | | // SplashSolidColor |
32 | | //------------------------------------------------------------------------ |
33 | | |
34 | 0 | SplashSolidColor::SplashSolidColor(SplashColorPtr colorA) { |
35 | 0 | splashColorCopy(color, colorA); |
36 | 0 | } |
37 | | |
38 | | SplashSolidColor::~SplashSolidColor() { |
39 | | } |
40 | | |
41 | 0 | void SplashSolidColor::getColor(int x, int y, SplashColorPtr c) { |
42 | 0 | splashColorCopy(c, color); |
43 | 0 | } |
44 | | |