Transparent gradient shading
-
Hi, I have rect i want to fill with transparent gradient ( so that one will see what's below the rect ). The function should look like : void DrawTransparentGradient(CDC* pDC, CRect* pRect,COLORREF clrStart,COLORREF clrEnd); Anyone knows how to implement it ? Thanks a lot!
-
Hi, I have rect i want to fill with transparent gradient ( so that one will see what's below the rect ). The function should look like : void DrawTransparentGradient(CDC* pDC, CRect* pRect,COLORREF clrStart,COLORREF clrEnd); Anyone knows how to implement it ? Thanks a lot!
You want to do an alpha blend. GDI+ has a few functions that will do that for you.
[
](http://www.canucks.com)Sonork 100.11743 Chicken Little "You're obviously a superstar." - Christian Graus about me - 12 Feb '03 Within you lies the power for good - Use it!
-
You want to do an alpha blend. GDI+ has a few functions that will do that for you.
[
](http://www.canucks.com)Sonork 100.11743 Chicken Little "You're obviously a superstar." - Christian Graus about me - 12 Feb '03 Within you lies the power for good - Use it!