Home | GR32_Transforms |
SetBorderTransparent
procedure SetBorderTransparent(ABitmap: TBitmap32; ARect: TRect);
Description
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.
See Also
TBitmap32, TPixelAccessMode, Transform, TRect
Copyright ©2000-2007 Alex Denisov and Contributors - Graphics32 v1.8.3 - Build on 4-March-2007