Inkscape
Vector Graphics Editor
Loading...
Searching...
No Matches
nr-filter-types.h
Go to the documentation of this file.
1
// SPDX-License-Identifier: GPL-2.0-or-later
/*
5
* Authors: see git history
6
*
7
* Copyright (C) 2014 Authors
8
* Released under GNU GPL v2+, read the file
'COPYING'
for
more information.
9
*/
10
#ifndef SEEN_NR_FILTER_TYPES_H
11
#define SEEN_NR_FILTER_TYPES_H
12
13
namespace
Inkscape
{
14
namespace
Filters
{
15
16
enum
FilterPrimitiveType
17
{
18
NR_FILTER_BLEND
,
19
NR_FILTER_COLORMATRIX
,
20
NR_FILTER_COMPONENTTRANSFER
,
21
NR_FILTER_COMPOSITE
,
22
NR_FILTER_CONVOLVEMATRIX
,
23
NR_FILTER_DIFFUSELIGHTING
,
24
NR_FILTER_DISPLACEMENTMAP
,
25
NR_FILTER_FLOOD
,
26
NR_FILTER_GAUSSIANBLUR
,
27
NR_FILTER_IMAGE
,
28
NR_FILTER_MERGE
,
29
NR_FILTER_MORPHOLOGY
,
30
NR_FILTER_OFFSET
,
31
NR_FILTER_SPECULARLIGHTING
,
32
NR_FILTER_TILE
,
33
NR_FILTER_TURBULENCE
,
34
NR_FILTER_ENDPRIMITIVETYPE
// This must be last
35
};
36
37
enum
FilterSlotType
38
{
39
NR_FILTER_SLOT_NOT_SET
= -1,
40
NR_FILTER_SOURCEGRAPHIC
= -2,
41
NR_FILTER_SOURCEALPHA
= -3,
42
NR_FILTER_BACKGROUNDIMAGE
= -4,
43
NR_FILTER_BACKGROUNDALPHA
= -5,
44
NR_FILTER_FILLPAINT
= -6,
45
NR_FILTER_STROKEPAINT
= -7,
46
NR_FILTER_UNNAMED_SLOT
= -8
47
};
48
/* Unnamed slot is for Inkscape::Filters::FilterSlot internal use. Passing it as
49
* parameter to Inkscape::Filters::FilterSlot accessors may have unforeseen consequences. */
50
51
enum
FilterQuality
52
{
53
FILTER_QUALITY_BEST
= 2,
54
FILTER_QUALITY_BETTER
= 1,
55
FILTER_QUALITY_NORMAL
= 0,
56
FILTER_QUALITY_WORSE
= -1,
57
FILTER_QUALITY_WORST
= -2
58
};
59
60
}
// namespace Filters
61
}
// namespace Inkscape
62
63
#endif
// SEEN_NR_FILTER_TYPES_H
64
/*
65
Local Variables:
66
mode:c++
67
c-file-style:"stroustrup"
68
c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
69
indent-tabs-mode:nil
70
fill-column:99
71
End:
72
*/
73
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 :
Inkscape::Filters::FilterPrimitiveType
FilterPrimitiveType
Definition
nr-filter-types.h:17
Inkscape::Filters::NR_FILTER_COMPONENTTRANSFER
@ NR_FILTER_COMPONENTTRANSFER
Definition
nr-filter-types.h:20
Inkscape::Filters::NR_FILTER_DISPLACEMENTMAP
@ NR_FILTER_DISPLACEMENTMAP
Definition
nr-filter-types.h:24
Inkscape::Filters::NR_FILTER_SPECULARLIGHTING
@ NR_FILTER_SPECULARLIGHTING
Definition
nr-filter-types.h:31
Inkscape::Filters::NR_FILTER_TURBULENCE
@ NR_FILTER_TURBULENCE
Definition
nr-filter-types.h:33
Inkscape::Filters::NR_FILTER_DIFFUSELIGHTING
@ NR_FILTER_DIFFUSELIGHTING
Definition
nr-filter-types.h:23
Inkscape::Filters::NR_FILTER_IMAGE
@ NR_FILTER_IMAGE
Definition
nr-filter-types.h:27
Inkscape::Filters::NR_FILTER_COLORMATRIX
@ NR_FILTER_COLORMATRIX
Definition
nr-filter-types.h:19
Inkscape::Filters::NR_FILTER_CONVOLVEMATRIX
@ NR_FILTER_CONVOLVEMATRIX
Definition
nr-filter-types.h:22
Inkscape::Filters::NR_FILTER_ENDPRIMITIVETYPE
@ NR_FILTER_ENDPRIMITIVETYPE
Definition
nr-filter-types.h:34
Inkscape::Filters::NR_FILTER_FLOOD
@ NR_FILTER_FLOOD
Definition
nr-filter-types.h:25
Inkscape::Filters::NR_FILTER_COMPOSITE
@ NR_FILTER_COMPOSITE
Definition
nr-filter-types.h:21
Inkscape::Filters::NR_FILTER_BLEND
@ NR_FILTER_BLEND
Definition
nr-filter-types.h:18
Inkscape::Filters::NR_FILTER_MERGE
@ NR_FILTER_MERGE
Definition
nr-filter-types.h:28
Inkscape::Filters::NR_FILTER_GAUSSIANBLUR
@ NR_FILTER_GAUSSIANBLUR
Definition
nr-filter-types.h:26
Inkscape::Filters::NR_FILTER_MORPHOLOGY
@ NR_FILTER_MORPHOLOGY
Definition
nr-filter-types.h:29
Inkscape::Filters::NR_FILTER_TILE
@ NR_FILTER_TILE
Definition
nr-filter-types.h:32
Inkscape::Filters::NR_FILTER_OFFSET
@ NR_FILTER_OFFSET
Definition
nr-filter-types.h:30
Inkscape::Filters::FilterSlotType
FilterSlotType
Definition
nr-filter-types.h:38
Inkscape::Filters::NR_FILTER_FILLPAINT
@ NR_FILTER_FILLPAINT
Definition
nr-filter-types.h:44
Inkscape::Filters::NR_FILTER_SOURCEGRAPHIC
@ NR_FILTER_SOURCEGRAPHIC
Definition
nr-filter-types.h:40
Inkscape::Filters::NR_FILTER_SOURCEALPHA
@ NR_FILTER_SOURCEALPHA
Definition
nr-filter-types.h:41
Inkscape::Filters::NR_FILTER_SLOT_NOT_SET
@ NR_FILTER_SLOT_NOT_SET
Definition
nr-filter-types.h:39
Inkscape::Filters::NR_FILTER_STROKEPAINT
@ NR_FILTER_STROKEPAINT
Definition
nr-filter-types.h:45
Inkscape::Filters::NR_FILTER_BACKGROUNDALPHA
@ NR_FILTER_BACKGROUNDALPHA
Definition
nr-filter-types.h:43
Inkscape::Filters::NR_FILTER_BACKGROUNDIMAGE
@ NR_FILTER_BACKGROUNDIMAGE
Definition
nr-filter-types.h:42
Inkscape::Filters::NR_FILTER_UNNAMED_SLOT
@ NR_FILTER_UNNAMED_SLOT
Definition
nr-filter-types.h:46
Inkscape::Filters::FilterQuality
FilterQuality
Definition
nr-filter-types.h:52
Inkscape::Filters::FILTER_QUALITY_NORMAL
@ FILTER_QUALITY_NORMAL
Definition
nr-filter-types.h:55
Inkscape::Filters::FILTER_QUALITY_WORSE
@ FILTER_QUALITY_WORSE
Definition
nr-filter-types.h:56
Inkscape::Filters::FILTER_QUALITY_BETTER
@ FILTER_QUALITY_BETTER
Definition
nr-filter-types.h:54
Inkscape::Filters::FILTER_QUALITY_WORST
@ FILTER_QUALITY_WORST
Definition
nr-filter-types.h:57
Inkscape::Filters::FILTER_QUALITY_BEST
@ FILTER_QUALITY_BEST
Definition
nr-filter-types.h:53
Inkscape::UI::Dialog::Filters
@ Filters
Definition
document-resources.cpp:118
Inkscape
Helper class to stream background task notifications as a series of messages.
Definition
actions-canvas-snapping.h:27
src
display
nr-filter-types.h
Generated on Sun Jun 8 2025 04:01:59 for Inkscape by
1.9.8