Re: [Gambas-user] Paint.Rectangle question

2015-09-30 Thread Rolf-Werner Eilert
Now I understand, thank you for this example! Rolf Am 30.09.2015 12:26, schrieb Fabien Bodard: > Paint.rectangle(x,y,width,height) > > Paint.brush=paint.color(color.red) > > Paint.fill(true) 'true maintain the current path active > > Paint.brush=paint.color(yellow) > Paint.linewidth=2 > Paint.Str

Re: [Gambas-user] Paint.Rectangle question

2015-09-30 Thread Rolf-Werner Eilert
Am 30.09.2015 12:29, schrieb Tobias Boege: > On Wed, 30 Sep 2015, Rolf-Werner Eilert wrote: >> Is Paint.Rectangle to draw a filled rectangle or an empty one? >> >> I tried >> >> Paint.LineWidth = 1 >> Paint.Color(Color.Black) >> Paint.Rectangle(TabelleX, TabelleY, TblSpalteRechts

Re: [Gambas-user] Paint.Rectangle question

2015-09-30 Thread Fabien Bodard
Why I don't speak german ? 2015-09-30 12:29 GMT+02:00 Tobias Boege : > On Wed, 30 Sep 2015, Rolf-Werner Eilert wrote: >> Is Paint.Rectangle to draw a filled rectangle or an empty one? >> >> I tried >> >> Paint.LineWidth = 1 >> Paint.Color(Color.Black) >> Paint.Rectangle(TabelleX, Ta

Re: [Gambas-user] Paint.Rectangle question

2015-09-30 Thread Tobias Boege
On Wed, 30 Sep 2015, Rolf-Werner Eilert wrote: > Is Paint.Rectangle to draw a filled rectangle or an empty one? > > I tried > > Paint.LineWidth = 1 > Paint.Color(Color.Black) > Paint.Rectangle(TabelleX, TabelleY, TblSpalteRechts[tblAnzSpalten] > - TabelleX, cy - TabelleY) > P

Re: [Gambas-user] Paint.Rectangle question

2015-09-30 Thread Fabien Bodard
Paint.rectangle(x,y,width,height) Paint.brush=paint.color(color.red) Paint.fill(true) 'true maintain the current path active Paint.brush=paint.color(yellow) Paint.linewidth=2 Paint.Stroke You will get a red rectangle with a two pix yellow border Is Paint.Rectangle to draw a filled rectangle or

[Gambas-user] Paint.Rectangle question

2015-09-30 Thread Rolf-Werner Eilert
Is Paint.Rectangle to draw a filled rectangle or an empty one? I tried Paint.LineWidth = 1 Paint.Color(Color.Black) Paint.Rectangle(TabelleX, TabelleY, TblSpalteRechts[tblAnzSpalten] - TabelleX, cy - TabelleY) Paint.Fill() and get a black filled rectangle. Even Paint.Color(C