Reputation: 1617
I am working with GDI and VS 6.0 for my application.
In my application the drawn polygons are overlapping , and I am filling each polygon with a specific color using CreateSolidBrush
.The Regions are created using the CRgn class
Now my problem is I want to make the underlying polygon to be some what visible ( by making the overlapping layer translucent). Same goes for underlying other shapes like ellipses,lines,text.
Here I have used a CreateHatchBrush
.
I know that the HBRUSH
object can be assigned with a color or can be made transparent.
But what I want is something similar to Opacity or GDI+'s Color(Alpha) property
GDI+ seemed to be an option but its not available with VS 6.0.
Any views on how can I achieve this is appreciated.
Upvotes: 1
Views: 1739
Reputation: 69687
AlphaBlend
on MSDNUpvotes: 2