digiKam
Loading...
Searching...
No Matches
dpixelsaliasfilter.h
Go to the documentation of this file.
1
/* ============================================================
2
*
3
* This file is a part of digiKam project
4
* https://www.digikam.org
5
*
6
* Date : 2005-24-01
7
* Description : pixels antialiasing filter
8
*
9
* SPDX-FileCopyrightText: 2005-2024 by Gilles Caulier <caulier dot gilles at gmail dot com>
10
*
11
* SPDX-License-Identifier: GPL-2.0-or-later
12
*
13
* ============================================================ */
14
15
#pragma once
16
17
// C++ includes
18
19
#include <cmath>
20
21
// Local includes
22
23
#include "
digikam_export.h
"
24
#include "
digikam_globals.h
"
25
#include "
dimgthreadedfilter.h
"
26
27
namespace
Digikam
28
{
29
30
class
DIGIKAM_EXPORT
DPixelsAliasFilter
31
{
32
public
:
33
34
explicit
DPixelsAliasFilter
();
35
~DPixelsAliasFilter
();
36
37
public
:
// Public methods.
38
39
void
pixelAntiAliasing(uchar*
const
data,
40
int
Width,
41
int
Height,
42
double
X
,
43
double
Y,
44
uchar*
const
A,
45
uchar*
const
R,
46
uchar*
const
G,
47
uchar*
const
B);
48
49
void
pixelAntiAliasing16(
unsigned
short
*
const
data,
50
int
Width,
51
int
Height,
52
double
X
,
53
double
Y,
54
unsigned
short
*
const
A,
55
unsigned
short
*
const
R,
56
unsigned
short
*
const
G,
57
unsigned
short
*
const
B);
58
59
private
:
60
61
inline
int
setPositionAdjusted(
int
Width,
62
int
Height,
63
int
X
,
64
int
Y);
65
};
66
67
}
// namespace Digikam
Digikam::DPixelsAliasFilter
Definition
dpixelsaliasfilter.h:31
digikam_export.h
digikam_globals.h
dimgthreadedfilter.h
X
#define X
Digikam
Definition
datefolderview.cpp:34
core
libs
dimg
filters
dpixelsaliasfilter.h
Generated by
1.9.8