Changeset View
Changeset View
Standalone View
Standalone View
libs/image/brushengine/kis_paint_information.h
| Context not available. | |||||
| 27 | #include <kis_distance_information.h> | 27 | #include <kis_distance_information.h> | ||
|---|---|---|---|---|---|
| 28 | #include "kis_random_source.h" | 28 | #include "kis_random_source.h" | ||
| 29 | 29 | | |||
| 30 | #include <type_traits> | ||||
| 31 | | ||||
| 30 | 32 | | |||
| 31 | class QDomDocument; | 33 | class QDomDocument; | ||
| 32 | class QDomElement; | 34 | class QDomElement; | ||
| Context not available. | |||||
| 274 | 276 | | |||
| 275 | private: | 277 | private: | ||
| 276 | struct Private; | 278 | struct Private; | ||
| 277 | Private* const d; | 279 | static constexpr size_t _dStorageSize = 144; | ||
| 280 | // static constexpr size_t _dStorageAlign = 16; | ||||
| 281 | std::aligned_storage<_dStorageSize /* , _dStorageAlign*/ >::type _dStorage; | ||||
| 282 | Private* d() { | ||||
| 283 | return reinterpret_cast<Private*>(&_dStorage); | ||||
| 284 | } | ||||
| 285 | Private const* d() const { | ||||
| 286 | return reinterpret_cast<Private const*>(&_dStorage); | ||||
| 287 | } | ||||
| 278 | }; | 288 | }; | ||
| 279 | 289 | | |||
| 280 | KRITAIMAGE_EXPORT QDebug operator<<(QDebug debug, const KisPaintInformation& info); | 290 | KRITAIMAGE_EXPORT QDebug operator<<(QDebug debug, const KisPaintInformation& info); | ||
| Context not available. | |||||