/src/xpdf-4.05/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 | | #include "gmempp.h" |
12 | | #include "SplashMath.h" |
13 | | #include "SplashScreen.h" |
14 | | #include "SplashPattern.h" |
15 | | |
16 | | //------------------------------------------------------------------------ |
17 | | // SplashPattern |
18 | | //------------------------------------------------------------------------ |
19 | | |
20 | 0 | SplashPattern::SplashPattern() { |
21 | 0 | } |
22 | | |
23 | 0 | SplashPattern::~SplashPattern() { |
24 | 0 | } |
25 | | |
26 | | //------------------------------------------------------------------------ |
27 | | // SplashSolidColor |
28 | | //------------------------------------------------------------------------ |
29 | | |
30 | 0 | SplashSolidColor::SplashSolidColor(SplashColorPtr colorA) { |
31 | 0 | splashColorCopy(color, colorA); |
32 | 0 | } |
33 | | |
34 | | SplashSolidColor::~SplashSolidColor() { |
35 | | } |
36 | | |
37 | 0 | void SplashSolidColor::getColor(int x, int y, SplashColorPtr c) { |
38 | 0 | splashColorCopy(c, color); |
39 | 0 | } |
40 | | |