Coverage Report

Created: 2026-07-30 07:17

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/poppler/splash/SplashPattern.cc
Line
Count
Source
1
//========================================================================
2
//
3
// SplashPattern.cc
4
//
5
//========================================================================
6
7
//========================================================================
8
//
9
// Modified under the Poppler project - http://poppler.freedesktop.org
10
//
11
// All changes made under the Poppler project to this file are licensed
12
// under GPL version 2 or later
13
//
14
// Copyright (C) 2010, 2011 Thomas Freitag <Thomas.Freitag@alfa.de>
15
// Copyright (C) 2020, 2021, 2025 Albert Astals Cid <aacid@kde.org>
16
//
17
// To see a description of the changes please see the Changelog file that
18
// came with your tarball or type make ChangeLog if you are building from git
19
//
20
//========================================================================
21
22
#include <config.h>
23
24
#include "SplashPattern.h"
25
26
//------------------------------------------------------------------------
27
// SplashPattern
28
//------------------------------------------------------------------------
29
30
0
SplashPattern::SplashPattern() = default;
31
32
0
SplashPattern::~SplashPattern() = default;
33
34
//------------------------------------------------------------------------
35
// SplashSolidColor
36
//------------------------------------------------------------------------
37
38
SplashSolidColor::SplashSolidColor(SplashColorConstPtr colorA)
39
0
{
40
0
    splashColorCopy(color, colorA);
41
0
}
42
43
SplashSolidColor::~SplashSolidColor() = default;
44
45
bool SplashSolidColor::getColor(int /*x*/, int /*y*/, SplashColorPtr c) const
46
0
{
47
0
    splashColorCopy(c, color);
48
0
    return true;
49
0
}
50
51
//------------------------------------------------------------------------
52
// SplashGouraudColor
53
//------------------------------------------------------------------------
54
55
SplashGouraudColor::~SplashGouraudColor() = default;