Changeset View
Changeset View
Standalone View
Standalone View
plugins/filters/embossfilter/kis_emboss_filter.cpp
Show First 20 Lines • Show All 71 Lines • ▼ Show 20 Line(s) | |||||
72 | /* Function to apply the Emboss effect | 72 | /* Function to apply the Emboss effect | ||
73 | * | 73 | * | ||
74 | * data => The image data in RGBA mode. | 74 | * data => The image data in RGBA mode. | ||
75 | * Width => Width of image. | 75 | * Width => Width of image. | ||
76 | * Height => Height of image. | 76 | * Height => Height of image. | ||
77 | * d => Emboss value | 77 | * d => Emboss value | ||
78 | * | 78 | * | ||
79 | * Theory => This is an amazing effect. And the theory is very simple to | 79 | * Theory => This is an amazing effect. And the theory is very simple to | ||
80 | * understand. You get the diference between the colors and | 80 | * understand. You get the difference between the colors and | ||
81 | * increase it. After this, get the gray tone | 81 | * increase it. After this, get the gray tone | ||
82 | */ | 82 | */ | ||
83 | void KisEmbossFilter::processImpl(KisPaintDeviceSP device, | 83 | void KisEmbossFilter::processImpl(KisPaintDeviceSP device, | ||
84 | const QRect& applyRect, | 84 | const QRect& applyRect, | ||
85 | const KisFilterConfigurationSP config, | 85 | const KisFilterConfigurationSP config, | ||
86 | KoUpdater* progressUpdater | 86 | KoUpdater* progressUpdater | ||
87 | ) const | 87 | ) const | ||
88 | { | 88 | { | ||
▲ Show 20 Lines • Show All 72 Lines • Show Last 20 Lines |