Hello,
I am looking for a method to create a QLinearGradient which does use a different interpolation mode between stops. With the standard QLinearGradient the QColors between the QGradientStops are interpolated linearly. I would like to be able to interpolate logarithmically between the QGradientStops.
I have looked into the source of QGradient and QBrush, but I could not find a method where the color is interpolated. Neither QGradient or QLinearGradient seem to provide the info how to render in their classes. Its somehow mangeled in the QBrush, I guess. Can someone please give me a hint if I can achieve this by subclassing or do I need to edit the Qt source code?
Thank you
Sebastian
Bookmarks