• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • krita API Reference
  • KDE Home
  • Contact Us
 

plugins/paintops/libpaintop

  • sources
  • kfour-appscomplete
  • krita
  • plugins
  • paintops
  • libpaintop
kis_pressure_darken_option.h
Go to the documentation of this file.
1 /* This file is part of the KDE project
2  * SPDX-FileCopyrightText: 2008 Boudewijn Rempt <[email protected]>
3  *
4  * SPDX-License-Identifier: LGPL-2.0-or-later
5  */
6 
7 #ifndef KIS_PRESSURE_DARKEN_OPTION_H
8 #define KIS_PRESSURE_DARKEN_OPTION_H
9 
10 #include "kis_curve_option.h"
11 #include <kis_types.h>
12 #include <kritapaintop_export.h>
13 #include <KoColor.h>
14 
15 class KisPainter;
16 class KisColorSource;
17 
22 class PAINTOP_EXPORT KisPressureDarkenOption : public KisCurveOption
23 {
24 public:
25 
26  KisPressureDarkenOption();
27 
28  KoColor apply(KisPainter * painter, const KisPaintInformation& info) const;
29  void apply(KisColorSource* colorSource, const KisPaintInformation& info) const;
30 };
31 
32 #endif
KisCurveOption
KisCurveOption is the base class for paintop options that are defined through one or more curves.
Definition: kis_curve_option.h:34
kis_curve_option.h
KisPressureDarkenOption
The pressure opacity option defines a curve that is used to calculate the effect of pressure on the d...
Definition: kis_pressure_darken_option.h:22
KisColorSource
A color source allow to abstract how a brush is colorized, and to apply transformation.
Definition: kis_color_source.h:29
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Sat Apr 10 2021 23:38:28 by doxygen 1.8.16 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

plugins/paintops/libpaintop

Skip menu "plugins/paintops/libpaintop"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

krita API Reference

Skip menu "krita API Reference"
  • libs
  •   KritaBasicFlakes
  •   brush
  •   KritaUndo2
  •   KritaFlake
  •   image
  •   KritaPlugin
  •   Krita
  •   KritaPigment
  •   KritaResources
  •   KritaStore
  •   ui
  •   KritaWidgets
  •   KritaWidgetUtils
  • plugins
  •   Assitants
  •   Extensions
  •   Filters
  •   Generators
  •   Formats
  •           src
  •   PaintOps
  •     libpaintop

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal