Code

New CanvasText item; TODO: works quite well but updating may be incorrect since updat...
[inkscape.git] / src / display / nr-filter-types.h
1 #ifndef __NR_FILTER_TYPES_H__
2 #define __NR_FILTER_TYPES_H__
4 namespace NR {
6 enum FilterPrimitiveType {
7     NR_FILTER_BLEND,
8     NR_FILTER_COLORMATRIX,
9     NR_FILTER_COMPONENTTRANSFER,
10     NR_FILTER_COMPOSITE,
11     NR_FILTER_CONVOLVEMATRIX,
12     NR_FILTER_DIFFUSELIGHTING,
13     NR_FILTER_DISPLACEMENTMAP,
14     NR_FILTER_FLOOD,
15     NR_FILTER_GAUSSIANBLUR,
16     NR_FILTER_IMAGE,
17     NR_FILTER_MERGE,
18     NR_FILTER_MORPHOLOGY,
19     NR_FILTER_OFFSET,
20     NR_FILTER_SPECULARLIGHTING,
21     NR_FILTER_TILE,
22     NR_FILTER_TURBULENCE,
23     NR_FILTER_ENDPRIMITIVETYPE // This must be last
24 };
25 //const int Filter::_filter_primitive_type_count = 16;
27 enum FilterSlotType {
28     NR_FILTER_SLOT_NOT_SET = -1,
29     NR_FILTER_SOURCEGRAPHIC = -2,
30     NR_FILTER_SOURCEALPHA = -3,
31     NR_FILTER_BACKGROUNDIMAGE = -4,
32     NR_FILTER_BACKGROUNDALPHA = -5,
33     NR_FILTER_FILLPAINT = -6,
34     NR_FILTER_STROKEPAINT = -7,
35     NR_FILTER_UNNAMED_SLOT = -8
36 };
37 /* Unnamed slot is for NR::FilterSlot internal use. Passing it as
38  * parameter to NR::FilterSlot accessors may have unforeseen consequences. */
40 } /* namespace NR */
42 #endif // __NR_FILTER_TYPES_H__
43 /*
44   Local Variables:
45   mode:c++
46   c-file-style:"stroustrup"
47   c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
48   indent-tabs-mode:nil
49   fill-column:99
50   End:
51 */
52 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :