Revision: 14604
          http://sourceforge.net/p/skim-app/code/14604
Author:   hofman
Date:     2024-10-29 16:51:41 +0000 (Tue, 29 Oct 2024)
Log Message:
-----------
Rotate for drawing image

Modified Paths:
--------------
    trunk/SkimNotes/PDFAnnotation_SKNExtensions.m

Modified: trunk/SkimNotes/PDFAnnotation_SKNExtensions.m
===================================================================
--- trunk/SkimNotes/PDFAnnotation_SKNExtensions.m       2024-10-29 16:27:47 UTC 
(rev 14603)
+++ trunk/SkimNotes/PDFAnnotation_SKNExtensions.m       2024-10-29 16:51:41 UTC 
(rev 14604)
@@ -185,6 +185,7 @@
                 CGContextTranslateCTM(ctxt, CGRectGetMinX(bounds) - 
CGRectGetMinX(rect), CGRectGetMaxY(bounds) - CGRectGetMaxY(rect));
                 break;
         }
+        CGContextRotateCTM(ctx, [page rotation] * M_PI / 180.0);
     }];
     return image;
 }

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.



_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to