Re: How to shift surface?

2018-06-11 Thread Göran Hasse
Tanks... I was looking for something like this. I will investigate. /gh Den 2018-06-11 kl. 15:24, skrev Stefan Salewski: > On Mon, 2018-06-11 at 16:11 +0200, Stefan Salewski wrote: >> Various C codes you may find in this thread, I think first Uli >> Schlachter post has a link to the most

Re: How to shift surface?

2018-06-11 Thread Stefan Salewski
On Mon, 2018-06-11 at 16:11 +0200, Stefan Salewski wrote: > Various C codes you may find in this thread, I think first Uli > Schlachter post has a link to the most advanced C version. Ah -- forgot to copy that link: https://lists.cairographics.org/archives/cairo/2016-October/027791.html

Re: How to shift surface?

2018-06-11 Thread Stefan Salewski
On Mon, 2018-06-11 at 08:29 +0100, Göran Hasse wrote: > Hello! > > I am trying to write a gtk + Cairo application that mimics the > animation in > wikipedias sine graph. > > https://en.wikipedia.org/wiki/File:Circle_cos_sin.gif > > There was posted an example some time ago -- in multiple

How to shift surface?

2018-06-11 Thread Göran Hasse
Hello! I am trying to write a gtk + Cairo application that mimics the animation in wikipedias sine graph. https://en.wikipedia.org/wiki/File:Circle_cos_sin.gif I want to draw a point and then shift the surface to the left, and then draw a new point, and shift again. I have done this with