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

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

enum KisTextureProperties::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
dabthe colored, final representation of the dab, after mirroring and everything.
offsetthe position of the dab on the image. used to calculate the position of the mask pattern
infothe 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]

bool KisTextureProperties::applyingGradient ( const KisPropertiesConfiguration *  settings)
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:
  • kis_texture_option.h
  • kis_texture_option.cpp
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

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