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
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
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
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,