Changeset View
Changeset View
Standalone View
Standalone View
libs/image/kis_gauss_circle_mask_generator.cpp
Context not available. | |||||
112 | return (quint8) 255 - ret; | 112 | return (quint8) 255 - ret; | ||
---|---|---|---|---|---|
113 | } | 113 | } | ||
114 | 114 | | |||
115 | bool KisGaussCircleMaskGenerator::shouldSupersample() const | | |||
116 | { | | |||
117 | return effectiveSrcWidth() < 10 || effectiveSrcHeight() < 10; | | |||
118 | } | | |||
119 | | ||||
120 | bool KisGaussCircleMaskGenerator::shouldVectorize() const | 115 | bool KisGaussCircleMaskGenerator::shouldVectorize() const | ||
121 | { | 116 | { | ||
122 | return !shouldSupersample() && spikes() == 2; | 117 | return !shouldSupersample() && spikes() == 2; | ||
Context not available. |