Re: [Gambas-user] gb3: Draw method with same source and destination image

2011-02-04 Thread Kevin Fishburne
On 02/02/2011 08:14 PM, Benoît Minisini wrote: > Maybe you can speed up things a little by intelligently using the X11 design. > > In Gambas 3, if you use a DrawingArea with the Cached property set, the > DrawingArea maintains a pixmap on the X11 server that is used as the > background pixmap of th

Re: [Gambas-user] gb3: Draw method with same source and destination image

2011-02-02 Thread Benoît Minisini
> On 02/02/2011 07:00 PM, Benoît Minisini wrote: > > Actually you want some sort of scrolling? > > Yes, although the image "shifting" I spoke of isn't what creates the > scrolling directly. Here's a brief breakdown of what happens in the game. > > The server has a map 65536x65536 tiles, with each

Re: [Gambas-user] gb3: Draw method with same source and destination image

2011-02-02 Thread Kevin Fishburne
On 02/02/2011 07:00 PM, Benoît Minisini wrote: > Actually you want some sort of scrolling? Yes, although the image "shifting" I spoke of isn't what creates the scrolling directly. Here's a brief breakdown of what happens in the game. The server has a map 65536x65536 tiles, with each tile represen

Re: [Gambas-user] gb3: Draw method with same source and destination image

2011-02-02 Thread Benoît Minisini
> On 02/02/2011 02:11 PM, Kevin Fishburne wrote: > > I have an image, blandscape, that is 1408 x 1408 pixels. This code works: > > > > blandscape.Draw(blandscape, 0, -128) > > > > This code produces odd results (attached): > > > > blandscape.Draw(blandscape, 0, 128) > > > > I'm trying to shift

Re: [Gambas-user] gb3: Draw method with same source and destination image

2011-02-02 Thread Kevin Fishburne
On 02/02/2011 02:11 PM, Kevin Fishburne wrote: > I have an image, blandscape, that is 1408 x 1408 pixels. This code works: > > blandscape.Draw(blandscape, 0, -128) > > This code produces odd results (attached): > > blandscape.Draw(blandscape, 0, 128) > > I'm trying to shift the image in any of eigh