[PATCH] wrlib: RRotateImage function not fully implemented

2014-05-20 Thread David Maciejak
when the rotation angle value passed to RRotateImage is a modulo of 90, the function is working well but in other cases the rotateImage() function is called. That last function is half implemented but the half already implemented part is also segfaulting (use the testrot.c to replay the crash). So

Re: [PATCH] wrlib: RRotateImage function not fully implemented

2014-05-21 Thread Carlos R. Mafra
On Wed, 21 May 2014 at 12:49:44 +0800, David Maciejak wrote: > when the rotation angle value passed to RRotateImage is a modulo of 90, > the function is working well but in other cases the rotateImage() > function is called. That last function is half implemented but > the half already implemented

Re: [PATCH] wrlib: RRotateImage function not fully implemented

2014-05-21 Thread David Maciejak
right, i will resubmit it. On Wed, May 21, 2014 at 5:29 PM, Carlos R. Mafra wrote: > On Wed, 21 May 2014 at 12:49:44 +0800, David Maciejak wrote: >> when the rotation angle value passed to RRotateImage is a modulo of 90, >> the function is working well but in other cases the rotateImage() >> func

Re: [PATCH] wrlib: RRotateImage function not fully implemented

2014-05-21 Thread David Maciejak
This version looks much better. Please check. diff --git a/wrlib/rotate.c b/wrlib/rotate.c index fead8ae..09e8a0a 100644 --- a/wrlib/rotate.c +++ b/wrlib/rotate.c @@ -213,6 +213,7 @@ RImage *RRotateImage(RImage * image, float angle) * */ +#if 0 static void copyLine(int x1, int y1, int x2,