|
Krita Source Code Documentation
|
#include <KisSprayShapeOptionData.h>
Inheritance diagram for KisSprayShapeOptionData:Public Member Functions | |
| QSize | effectiveSize (int diameter, qreal scale) const |
| bool | read (const KisPropertiesConfiguration *setting) |
| void | write (KisPropertiesConfiguration *setting) const |
Public Attributes | |
| bool | enabled |
| QImage | image |
| QString | imageUrl |
| bool | proportional |
| quint8 | shape |
| QSize | size |
Friends | |
| bool | operator== (const KisSprayShapeOptionData &lhs, const KisSprayShapeOptionData &rhs) |
Definition at line 19 of file KisSprayShapeOptionData.h.
| QSize KisSprayShapeOptionData::effectiveSize | ( | int | diameter, |
| qreal | scale ) const |
Definition at line 61 of file KisSprayShapeOptionData.cpp.
References proportional, and size.
| bool KisSprayShapeOptionData::read | ( | const KisPropertiesConfiguration * | setting | ) |
Definition at line 21 of file KisSprayShapeOptionData.cpp.
References enabled, KisPropertiesConfiguration::getBool(), KisPropertiesConfiguration::getInt(), KisPropertiesConfiguration::getString(), image, imageUrl, proportional, shape, size, SPRAYSHAPE_ENABLED, SPRAYSHAPE_HEIGHT, SPRAYSHAPE_IMAGE_URL, SPRAYSHAPE_PROPORTIONAL, SPRAYSHAPE_SHAPE, and SPRAYSHAPE_WIDTH.
| void KisSprayShapeOptionData::write | ( | KisPropertiesConfiguration * | setting | ) | const |
Definition at line 46 of file KisSprayShapeOptionData.cpp.
References enabled, imageUrl, proportional, KisPropertiesConfiguration::setProperty(), shape, size, SPRAYSHAPE_ENABLED, SPRAYSHAPE_HEIGHT, SPRAYSHAPE_IMAGE_URL, SPRAYSHAPE_PROPORTIONAL, SPRAYSHAPE_SHAPE, and SPRAYSHAPE_WIDTH.
|
friend |
Definition at line 21 of file KisSprayShapeOptionData.h.
| bool KisSprayShapeOptionData::enabled |
Definition at line 32 of file KisSprayShapeOptionData.h.
| QImage KisSprayShapeOptionData::image |
Definition at line 36 of file KisSprayShapeOptionData.h.
| QString KisSprayShapeOptionData::imageUrl |
Definition at line 37 of file KisSprayShapeOptionData.h.
| bool KisSprayShapeOptionData::proportional |
Definition at line 33 of file KisSprayShapeOptionData.h.
| quint8 KisSprayShapeOptionData::shape |
Definition at line 30 of file KisSprayShapeOptionData.h.
| QSize KisSprayShapeOptionData::size |
Definition at line 31 of file KisSprayShapeOptionData.h.