procedure SetBorderTransparent(ABitmap: TCustomBitmap32; ARect: TRect);
This is an auxiliary function that sets the alpha channel along the edges of specified rectangle to zero. It may be used on a bitmap before passing it to Transform function as a workarownd to the edge antialiasing problem. For a dynamic option see TPixelAccessMode pamTransparentEdge, which can do the same trick without any destructive editing.
TCustomBitmap32, Rectangle Types, TPixelAccessMode, Transform
Copyright ©2000-2024 Alex Denisov and the Graphics32 Team - Graphics32 2.0 - Help file built on 18 Feb 2024