Please sign in to comment.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for setting the color model to use when interpolating a
gradient ramp Some gradients will pass through murky grey mid-tones when interpolating using red/green/blue channels. Interpolating via hue/saturation/lightness/value channels can avoid these desaturated mid tones, resulting in more visually pleasing gradients. The color spec can be set per stop in a multi-stop gradient, and there's also an option to control the direction which interpolation should follow for the Hue component of a HSL/HSV color spec interpolation. Sponsored by North Road, thanks to SLYR
- Loading branch information
Showing with 770 additions and 54 deletions.
- +109 −0 python/core/auto_generated/qgscolorrampimpl.sip.in
- +14 −0 python/gui/auto_generated/qgsgradientstopeditor.sip.in
- +251 −22 src/core/qgscolorrampimpl.cpp
- +121 −5 src/core/qgscolorrampimpl.h
- +48 −0 src/gui/qgsgradientcolorrampdialog.cpp
- +1 −0 src/gui/qgsgradientcolorrampdialog.h
- +38 −1 src/gui/qgsgradientstopeditor.cpp
- +14 −0 src/gui/qgsgradientstopeditor.h
- +32 −24 src/ui/qgsgradientcolorrampdialogbase.ui
- +142 −2 tests/src/python/test_qgscolorramp.py
There are no files selected for viewing
Oops, something went wrong.