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.

Michael.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to