Krita Source Code Documentation
Loading...
Searching...
No Matches
KisAsyncColorSamplerHelper::Private Struct Reference

Public Types

typedef KisSignalCompressorWithParam< QPointF > SamplingCompressor
 

Public Member Functions

const KoViewConverterconverter () const
 
 Private (KisCanvas2 *_canvas)
 
KisStrokesFacadestrokesFacade () const
 

Public Attributes

QTimer activationDelayTimer
 
QColor baseColor
 
QRectF baseColorDocRect
 
KisCanvas2canvas
 
QColor currentColor
 
QRectF currentColorDocRect
 
bool isActive {false}
 
bool sampleCurrentLayer {true}
 
int sampleResourceId {0}
 
QScopedPointer< SamplingCompressorsamplingCompressor
 
bool showComparePlate {false}
 
bool showPreview {false}
 
KisStrokeId strokeId
 
bool updateGlobalColor {true}
 

Detailed Description

Definition at line 48 of file KisAsyncColorSamplerHelper.cpp.

Member Typedef Documentation

◆ SamplingCompressor

Constructor & Destructor Documentation

◆ Private()

KisAsyncColorSamplerHelper::Private::Private ( KisCanvas2 * _canvas)
inline

Definition at line 50 of file KisAsyncColorSamplerHelper.cpp.

Member Function Documentation

◆ converter()

const KoViewConverter & KisAsyncColorSamplerHelper::Private::converter ( ) const
inline

Definition at line 80 of file KisAsyncColorSamplerHelper.cpp.

80 {
81 return *canvas->imageView()->viewConverter();
82 }
QPointer< KisView > imageView() const

References canvas, and KisCanvas2::imageView().

◆ strokesFacade()

KisStrokesFacade * KisAsyncColorSamplerHelper::Private::strokesFacade ( ) const
inline

Definition at line 76 of file KisAsyncColorSamplerHelper.cpp.

76 {
77 return canvas->image().data();
78 }
KisImageWSP image() const

References canvas, KisWeakSharedPtr< T >::data(), and KisCanvas2::image().

Member Data Documentation

◆ activationDelayTimer

QTimer KisAsyncColorSamplerHelper::Private::activationDelayTimer

Definition at line 68 of file KisAsyncColorSamplerHelper.cpp.

◆ baseColor

QColor KisAsyncColorSamplerHelper::Private::baseColor

Definition at line 74 of file KisAsyncColorSamplerHelper.cpp.

◆ baseColorDocRect

QRectF KisAsyncColorSamplerHelper::Private::baseColorDocRect

Definition at line 71 of file KisAsyncColorSamplerHelper.cpp.

◆ canvas

KisCanvas2* KisAsyncColorSamplerHelper::Private::canvas

Definition at line 54 of file KisAsyncColorSamplerHelper.cpp.

◆ currentColor

QColor KisAsyncColorSamplerHelper::Private::currentColor

Definition at line 73 of file KisAsyncColorSamplerHelper.cpp.

◆ currentColorDocRect

QRectF KisAsyncColorSamplerHelper::Private::currentColorDocRect

Definition at line 70 of file KisAsyncColorSamplerHelper.cpp.

◆ isActive

bool KisAsyncColorSamplerHelper::Private::isActive {false}

Definition at line 60 of file KisAsyncColorSamplerHelper.cpp.

60{false};

◆ sampleCurrentLayer

bool KisAsyncColorSamplerHelper::Private::sampleCurrentLayer {true}

Definition at line 57 of file KisAsyncColorSamplerHelper.cpp.

57{true};

◆ sampleResourceId

int KisAsyncColorSamplerHelper::Private::sampleResourceId {0}

Definition at line 56 of file KisAsyncColorSamplerHelper.cpp.

56{0};

◆ samplingCompressor

QScopedPointer<SamplingCompressor> KisAsyncColorSamplerHelper::Private::samplingCompressor

Definition at line 66 of file KisAsyncColorSamplerHelper.cpp.

◆ showComparePlate

bool KisAsyncColorSamplerHelper::Private::showComparePlate {false}

Definition at line 62 of file KisAsyncColorSamplerHelper.cpp.

62{false};

◆ showPreview

bool KisAsyncColorSamplerHelper::Private::showPreview {false}

Definition at line 61 of file KisAsyncColorSamplerHelper.cpp.

61{false};

◆ strokeId

KisStrokeId KisAsyncColorSamplerHelper::Private::strokeId

Definition at line 64 of file KisAsyncColorSamplerHelper.cpp.

◆ updateGlobalColor

bool KisAsyncColorSamplerHelper::Private::updateGlobalColor {true}

Definition at line 58 of file KisAsyncColorSamplerHelper.cpp.

58{true};

The documentation for this struct was generated from the following file: