Andreas Berger wrote:
> This works perfectly in Delphi, but never worked in FPC. I finally found
> the problem: ClipRect is incorrect at this stage. Instead I changed line
> 4 to:
> 
> 4     bmp.Canvas.CopyRect(Rect(0, 0, w, h), Image.Canvas, Rect(x*w, y*h,
> x*w+w, y*h+h));
> 
> Now transparency works.

Standard reply: file a bug report with test case to reproduce.

> What I still don't like is the need to save to a memory stream and read
> it back (I think it was I that discovered this trick a long time ago).

Why is it needed ? Did you file a bug report for that one ?

Micha

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

Reply via email to