Re: QwtLinearColorMap and alpha/transparency problem?
Brought to you by:
rathmann
|
From: Uwe R. <Uwe...@ti...> - 2019-02-25 07:40:07
|
Hi Ed, > QColor c1(255,0,0,100); > QColor c2(0,255,0,100); > > QwtLinearColorMap foobar(c1, c2); > qDebug() << c1 << c2 << foobar.color1() << foobar.color2(); A bug in QwtLinearColorMap::color1/2() - it has to be: return QColor::fromRgba( ... ); Fixed in all branches, Uwe |