PDA

View Full Version : Curve brush with linear gradient?



liversedge
2nd September 2011, 23:39
Hi,

I'd like to be able to set a curve brush (shaded area below the curve towards baseline) to have a linear gradient between two colors (where one of the colors will also be the canvas color).

I believe this is not going to be simple. Does anyone have any ideas on how I might achieve this?

I'm using Qwt 5.2, but could use 6 if it helps.

TIA,
Mark

Uwe
4th September 2011, 08:29
Then assign such a curve brush - what is the question ?

Uwe

liversedge
11th September 2011, 17:03
Sorry Uwe,

I didn't know about qlineargradient ! I feel a little foolish.

Mark