File indexing completed on 2024-05-12 15:59:54
0001 /* 0002 * SPDX-FileCopyrightText: 2020 Dmitry Kazakov <dimula73@gmail.com> 0003 * 0004 * SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 #ifndef KOCANVASRESOURCESIDS_H 0007 #define KOCANVASRESOURCESIDS_H 0008 0009 namespace KoCanvasResource 0010 { 0011 enum CanvasResourceId { 0012 ForegroundColor = 0, ///< The active foreground color selected for this canvas. 0013 BackgroundColor, ///< The active background color selected for this canvas. 0014 PageSize, ///< The size of the (current) page in postscript points. 0015 Unit, ///< The unit of this canvas 0016 CurrentPage, ///< The current page number 0017 ActiveStyleType, ///< the actual active style type see KoFlake::StyleType for valid values 0018 ActiveRange, ///< The area where the rulers should show white 0019 ShowTextShapeOutlines, ///< Paint of text shape outlines ? 0020 ShowFormattingCharacters, ///< Paint of formatting characters ? 0021 ShowTableBorders, ///< Paint of table borders (when not really there) ? 0022 ShowSectionBounds, ///< Paint of sections bounds ? 0023 ShowInlineObjectVisualization, ///< paint a different background for inline objects 0024 ApplicationSpeciality, ///< Special features and limitations of the application 0025 KritaStart = 6000, ///< Base number for Krita specific values. 0026 HdrExposure = KritaStart + 1, 0027 CurrentPattern, 0028 CurrentGamutMask, 0029 GamutMaskActive, 0030 CurrentGradient, 0031 CurrentDisplayProfile, 0032 CurrentKritaNode, 0033 CurrentPaintOpPreset, 0034 CurrentPaintOpPresetCache, ///< the cache associated with the currently active preset (this cache may be different per canvas if the preset depends on the canvas resources) 0035 CurrentPaintOpPresetName, 0036 CurrentGeneratorConfiguration, 0037 CurrentCompositeOp, 0038 CurrentEffectiveCompositeOp, 0039 LodAvailability, ///<-user choice 0040 LodSizeThreshold, ///<-user choice 0041 LodSizeThresholdSupported, ///<-paintop property 0042 EffectiveLodAvailablility, ///<- a superposition of user choice, threshold and paintop traits 0043 EraserMode, 0044 MirrorHorizontal, 0045 MirrorVertical, 0046 MirrorHorizontalLock, 0047 MirrorVerticalLock, 0048 MirrorVerticalHideDecorations, 0049 MirrorHorizontalHideDecorations, 0050 Opacity, 0051 Flow, 0052 Size, 0053 Fade, 0054 Scatter, 0055 PatternSize, 0056 HdrGamma, 0057 GlobalAlphaLock, 0058 DisablePressure, 0059 PreviousPaintOpPreset, 0060 EffectiveZoom, ///<-Used only by painting tools for non-displaying purposes 0061 EffectivePhysicalZoom ///<-Used by tool for displaying purposes 0062 }; 0063 0064 } 0065 0066 #endif // KOCANVASRESOURCESIDS_H