john_siggy@yahoo.com
USA
158 Posts |
Posted - Dec 25 2020 : 09:33:00
|
why is there a difference in Opacity between ImageEn and the Windows API ? Works for Max & Min Opacity values but values in the middle are darker with Windows API.
TIETextLayer(ImageEnVect2.CurrentLayer).Opacity := 1.0; TIETextLayer(ImageEnVect2.CurrentLayer).FillOpacity := Opacity;
BlendFunc.SourceConstantAlpha := Opacity * 255; Windows.AlphaBlend(Destination.Handle, X, Y, Source.Width, Source.Height, Source.Canvas.Handle, 0, 0, Source.Width, Source.Height, BlendFunc);
Is There a ImageEn function to paint an opaque region ?
|
|