Revision: 3060
          http://skim-app.svn.sourceforge.net/skim-app/?rev=3060&view=rev
Author:   hofman
Date:     2007-10-23 03:05:57 -0700 (Tue, 23 Oct 2007)

Log Message:
-----------
Don't rotate background for image of page.

Modified Paths:
--------------
    trunk/PDFPage_SKExtensions.m

Modified: trunk/PDFPage_SKExtensions.m
===================================================================
--- trunk/PDFPage_SKExtensions.m        2007-10-23 09:55:09 UTC (rev 3059)
+++ trunk/PDFPage_SKExtensions.m        2007-10-23 10:05:57 UTC (rev 3060)
@@ -109,6 +109,9 @@
     
     [image lockFocus];
     [[NSGraphicsContext currentContext] 
setImageInterpolation:NSImageInterpolationHigh];
+    [[NSColor whiteColor] set];
+    bounds.origin = NSZeroPoint;
+    NSRectFill(bounds);
     if ([self rotation]) {
         NSAffineTransform *transform = [NSAffineTransform transform];
         [transform rotateByDegrees:[self rotation]];
@@ -125,9 +128,6 @@
         }
         [transform concat];
     }
-    [[NSColor whiteColor] set];
-    bounds.origin = NSZeroPoint;
-    NSRectFill(bounds);
     [self drawWithBox:box]; 
     [image unlockFocus];
     


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

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to