On 25/10/2007, Giuliano Colla <[EMAIL PROTECTED]> wrote:
>
> The code attached provides a functions which gives the effect shown in
> the screenshot, called with:
>
> FillRectGradient(canvas,0,0,Width,Height,40,TfpgColor($0),TfpgColor($FFFFFF));
> (I used fpgui for your convenience!)
> Of course it can be improved, but what cannot? :-)

Thanks Giuliano, I'll review the code tomorrow.

PS:
I'll try and have a look at the LineWidth issue at the same time.
Hopefully I'll be able to check off the GDI painting (focus rectangle)
defect.

Regards,
  - Graeme -


_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to