Re: [Lazarus] Transparent (key color based) drawing questions

2011-07-15 Thread Max Vlasov
2011/7/14 Flávio Etrusco : > On Thu, Jul 14, 2011 at 7:37 AM, Max Vlasov wrote: >> 1. At least on linux gtk the order of assignments should be reverse >> >> On the site >>  bmp.Transparent := True; >>  bmp.TransparentColor := clFuchsia; >> >> But the correct order is >>  bmp.TransparentColor := cl

Re: [Lazarus] Transparent (key color based) drawing questions

2011-07-14 Thread Flávio Etrusco
On Thu, Jul 14, 2011 at 7:37 AM, Max Vlasov wrote: > Hi, > I used the technique described here >  http://wiki.lazarus.freepascal.org/Developing_with_Graphics#Drawing_color_transparent_bitmaps > for transparent drawing on windows. So when porting to cross-platform > used this example. > > Two obser

Re: [Lazarus] Transparent (key color based) drawing questions

2011-07-14 Thread Felipe Monteiro de Carvalho
On Thu, Jul 14, 2011 at 12:37 PM, Max Vlasov wrote: > 1. At least on linux gtk the order of assignments should be reverse > > On the site >  bmp.Transparent := True; >  bmp.TransparentColor := clFuchsia; > > But the correct order is >  bmp.TransparentColor := clFuchsia; >  bmp.Transparent := True;

[Lazarus] Transparent (key color based) drawing questions

2011-07-14 Thread Max Vlasov
Hi, I used the technique described here http://wiki.lazarus.freepascal.org/Developing_with_Graphics#Drawing_color_transparent_bitmaps for transparent drawing on windows. So when porting to cross-platform used this example. Two observations: 1. At least on linux gtk the order of assignments sho