[Lazarus] TColor and Alpha channel support

Graeme Geldenhuys mailinglists at geldenhuys.co.uk
Mon Sep 26 17:41:53 CEST 2016


On 2016-09-26 16:15, Kostas Michalopoulos via Lazarus wrote:
> Is there a need for alpha *everywhere* a color is used?

So how would functions that take TColor parameters work? For example,
drawing a gradient with increasing Alpha value, say via a
TCanvas.GradientFill() call. In the case of GradientFill() it has a
Start/Stop TColor parameter. Also other functions like
DrawGradientWindow() etc. So for each such cases, new overloaded
versions will be implemented, replacing TColor with TFPColor?

Regards,
  Graeme

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

My public PGP key:  http://tinyurl.com/graeme-pgp


More information about the Lazarus mailing list