FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour How to create Brushes, using BMP with Alphachannel ?
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
How to create Brushes, using BMP with Alphachannel ?
Posted: Tue Jan 10, 2012 12:33 PM
Hello,

is it possible to use a BMP with Alphachannel for Brush-define ?

Maybe we have to define < SetBkMode > in Class TBrush,
to use BMP's with Alphachannel ?



Adjusted Bmp-Brush :



BMP calculated ( with Alphachannel ) :
The Result I need, a Brushdefine, using a BMP with Alphachannel !!!
I can fill a defined Area, placing the BMP next to each other and Line by Line
but not as a Brush.
I want to use 2 Layers : a Basic-brush and a 2. Brush, using a BMP with Alphachannel ( Watermarks ).

A empty Area ( No selected Image )





The Gradient, Screen-bmp and transparent Brush will be replaced
with the selected Image :



replaced with selected Image ( keeping Height, Width adjusted ) :



Best Regards
Uwe :-)
Since 1995 ( the first release of FW 1.9 )

i work with FW.

If you have any questions about special functions, maybe i can help.

Continue the discussion