plugins/paintops/libpaintop
Public Types |
Public Member Functions |
Static Public Member Functions |
Public Attributes |
List of all members
KisTextureProperties Class Reference
#include <kis_texture_option.h>
Public Types | |
enum | TexturingMode { MULTIPLY, SUBTRACT, LIGHTNESS, GRADIENT } |
Public Member Functions | |
KisTextureProperties (int levelOfDetail) | |
void | apply (KisFixedPaintDeviceSP dab, const QPoint &offset, const KisPaintInformation &info) |
bool | applyingGradient () const |
void | fillProperties (const KisPropertiesConfigurationSP setting, KisResourcesInterfaceSP resourcesInterface, KoCanvasResourcesInterfaceSP canvasResourcesInterface) |
QList< KoResourceSP > | prepareEmbeddedResources (const KisPropertiesConfigurationSP setting, KisResourcesInterfaceSP resourcesInterface) |
Static Public Member Functions | |
static bool | applyingGradient (const KisPropertiesConfiguration *settings) |
Public Attributes | |
bool | m_enabled |
Detailed Description
Definition at line 55 of file kis_texture_option.h.
Member Enumeration Documentation
◆ TexturingMode
Enumerator | |
---|---|
MULTIPLY | |
SUBTRACT | |
LIGHTNESS | |
GRADIENT |
Definition at line 60 of file kis_texture_option.h.
Constructor & Destructor Documentation
◆ KisTextureProperties()
KisTextureProperties::KisTextureProperties | ( | int | levelOfDetail | ) |
Definition at line 203 of file kis_texture_option.cpp.
Member Function Documentation
◆ apply()
void KisTextureProperties::apply | ( | KisFixedPaintDeviceSP | dab, |
const QPoint & | offset, | ||
const KisPaintInformation & | info | ||
) |
apply combine the texture map with the dab
- Parameters
-
dab the colored, final representation of the dab, after mirroring and everything. offset the position of the dab on the image. used to calculate the position of the mask pattern info the paint information
Definition at line 349 of file kis_texture_option.cpp.
◆ applyingGradient() [1/2]
bool KisTextureProperties::applyingGradient | ( | ) | const |
Definition at line 256 of file kis_texture_option.cpp.
◆ applyingGradient() [2/2]
|
static |
Definition at line 261 of file kis_texture_option.cpp.
◆ fillProperties()
void KisTextureProperties::fillProperties | ( | const KisPropertiesConfigurationSP | setting, |
KisResourcesInterfaceSP | resourcesInterface, | ||
KoCanvasResourcesInterfaceSP | canvasResourcesInterface | ||
) |
Definition at line 209 of file kis_texture_option.cpp.
◆ prepareEmbeddedResources()
QList< KoResourceSP > KisTextureProperties::prepareEmbeddedResources | ( | const KisPropertiesConfigurationSP | setting, |
KisResourcesInterfaceSP | resourcesInterface | ||
) |
Definition at line 244 of file kis_texture_option.cpp.
Member Data Documentation
◆ m_enabled
bool KisTextureProperties::m_enabled |
Definition at line 67 of file kis_texture_option.h.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Tue Jan 26 2021 23:38:44 by doxygen 1.8.16 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2021 The KDE developers.
Generated on Tue Jan 26 2021 23:38:44 by doxygen 1.8.16 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.