Changeset View
Changeset View
Standalone View
Standalone View
libs/image/kis_curve_circle_mask_generator.cpp
Context not available. | |||||
99 | d->fadeMaker.setSquareNormCoeffs(d->xcoef, d->ycoef); | 99 | d->fadeMaker.setSquareNormCoeffs(d->xcoef, d->ycoef); | ||
---|---|---|---|---|---|
100 | } | 100 | } | ||
101 | 101 | | |||
102 | bool KisCurveCircleMaskGenerator::shouldSupersample() const | | |||
103 | { | | |||
104 | return effectiveSrcWidth() < 10 || effectiveSrcHeight() < 10; | | |||
105 | } | | |||
106 | | ||||
107 | bool KisCurveCircleMaskGenerator::shouldVectorize() const | 102 | bool KisCurveCircleMaskGenerator::shouldVectorize() const | ||
108 | { | 103 | { | ||
109 | return !shouldSupersample() && spikes() == 2; | 104 | return !shouldSupersample() && spikes() == 2; | ||
Context not available. |