1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /** @file 3 * TODO: insert short description here 4 *//* 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 NR_FILTER_BLEND, 18 NR_FILTER_COLORMATRIX, 19 NR_FILTER_COMPONENTTRANSFER, 20 NR_FILTER_COMPOSITE, 21 NR_FILTER_CONVOLVEMATRIX, 22 NR_FILTER_DIFFUSELIGHTING, 23 NR_FILTER_DISPLACEMENTMAP, 24 NR_FILTER_FLOOD, 25 NR_FILTER_GAUSSIANBLUR, 26 NR_FILTER_IMAGE, 27 NR_FILTER_MERGE, 28 NR_FILTER_MORPHOLOGY, 29 NR_FILTER_OFFSET, 30 NR_FILTER_SPECULARLIGHTING, 31 NR_FILTER_TILE, 32 NR_FILTER_TURBULENCE, 33 NR_FILTER_ENDPRIMITIVETYPE // This must be last 34 }; 35 //const int Filter::_filter_primitive_type_count = 16; 36 37 enum FilterSlotType { 38 NR_FILTER_SLOT_NOT_SET = -1, 39 NR_FILTER_SOURCEGRAPHIC = -2, 40 NR_FILTER_SOURCEALPHA = -3, 41 NR_FILTER_BACKGROUNDIMAGE = -4, 42 NR_FILTER_BACKGROUNDALPHA = -5, 43 NR_FILTER_FILLPAINT = -6, 44 NR_FILTER_STROKEPAINT = -7, 45 NR_FILTER_UNNAMED_SLOT = -8 46 }; 47 /* Unnamed slot is for Inkscape::Filters::FilterSlot internal use. Passing it as 48 * parameter to Inkscape::Filters::FilterSlot accessors may have unforeseen consequences. */ 49 50 enum FilterQuality { 51 FILTER_QUALITY_BEST = 2, 52 FILTER_QUALITY_BETTER = 1, 53 FILTER_QUALITY_NORMAL = 0, 54 FILTER_QUALITY_WORSE = -1, 55 FILTER_QUALITY_WORST = -2 56 }; 57 58 } /* namespace Filters */ 59 } /* namespace Inkscape */ 60 61 #endif // __NR_FILTER_TYPES_H__ 62 /* 63 Local Variables: 64 mode:c++ 65 c-file-style:"stroustrup" 66 c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +)) 67 indent-tabs-mode:nil 68 fill-column:99 69 End: 70 */ 71 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 : 72