Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2011-06

Canvas font transparent background

3 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Leonardo M. Ramé

Hi, I'm writing text to a TPaintBoxs's canvas and I'm getting different output on Windows than Linux.

In Linux, the baground of text is transparent, this is the expected behavior. In Windows, there's a black box below the text.

Should I set Pen, Brush or Font with some property to setup transparency in Canvas fonts?

Thanks in advance,

Reply by email

Ludo Brands
to Leonardo M. Ramé
Brush.Style:=bsClear

Ludo

Show quoted text 27 lines
-----Message d'origine----- De : Leonardo M. Ram? [mailto:] Envoy? : vendredi 17 juin 2011 19:39 ? : Lazarus mailing list Objet : [Lazarus] Canvas font transparent background Hi, I'm writing text to a TPaintBoxs's canvas and I'm getting different output on Windows than Linux. In Linux, the baground of text is transparent, this is the expected behavior. In Windows, there's a black box below the text. Should I set Pen, Brush or Font with some property to setup transparency in Canvas fonts? Thanks in advance, -- Leonardo M. Ram? http://leonardorame.blogspot.com -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply by email