[fpc-pascal] fpcanvas and alpha-blending

Michael Van Canneyt michael at freepascal.org
Wed Jul 29 23:20:26 CEST 2015

On Wed, 29 Jul 2015, Felipe Monteiro de Carvalho wrote:

> Hello,
> I'd like fpcanvas to support alpha-blending while drawing for example
> polygons, and I wonder what the best way would be.
> Maybe a new property AlphaBlend: Boolean to both TFPCustomBrush and
> TFPCustomPen?
> Pen has Mode, which could have a new mode for alphablend, although I'm
> not sure if this is desirable... and brush has no mode.

Better introduce alphablend, I think. As you say, brush has no mode.


More information about the fpc-pascal mailing list