I need to fill polygons with a certain pattern and a certain color. This is most easilly done with a patterned brush.
However the pattern must be transparent.( it must consist of one transparent part an one coloured part) It must work just like a mask, but a mask only works on other bit arrays. What i need is more like another predefined hatchbrush.
These will work with any color, but i need a lot more patterns.
It is possible to create a brush with CreatePatternBrush() (windows API), but with this method the background is affected.(NOT transparent)
In short: I need a way to create a brush with any pattern(not the predefined rubbish) and any color that must be partially transparent.
It must be a solution that will work with windows API calls only, not with OWL or something like that.