Mattias Gaertner wrote:
Delphi uses the corner pixel (0,Height-1) to decide, which color is the
transparent color.
It's not yet implemented in the LCL TBitmap. It's a Delphi hack to add
transparency to .bmp files.

Sorry, but this is incorrect. This has being recently implemented. Refer to http://www.lazarus.freepascal.org/mantis/view.php?id=1092 for more information.

I just tested on linux and transparect bmp files as glyphs are working and the cornel pixel magic also works.

The thing is that this is a very new feature.

So Lazarus 0.9.10 does not have it, but the latest subversion lazarus has transparent bmp as glyphs.

> I added a custom glyph which contains a clFuchsia mask.  In Delphi (I am
> new to Lazarus) when I did that, it automatically detected and removed
> the mask.
>
> How do I do this in Lazarus?  I am using the Win32 version.

You need to use the latest subversion version to have this feature.

Felipe

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

Reply via email to