Revision: 14364
http://sourceforge.net/p/skim-app/code/14364
Author: hofman
Date: 2024-07-04 14:46:04 +0000 (Thu, 04 Jul 2024)
Log Message:
-----------
revert test code
Modified Paths:
--------------
trunk/SKPDFView.m
Modified: trunk/SKPDFView.m
===================================================================
--- trunk/SKPDFView.m 2024-07-04 14:22:12 UTC (rev 14363)
+++ trunk/SKPDFView.m 2024-07-04 14:46:04 UTC (rev 14364)
@@ -4429,10 +4429,10 @@
BOOL wantsBreak = isOption;
NSBezierPath *bezierPath = nil;
CGMutablePathRef cgPath = NULL;
- CGFloat scale = 1.0;//[self scaleFactor];
+ CGFloat scale = [self scaleFactor];
CAShapeLayer *layer = nil;
NSRect boxBounds = NSIntersectionRect([page boundsForBox:[self
displayBox]], [self convertRect:[self visibleContentRect] toPage:page]);
- CGAffineTransform t =
CGAffineTransformScale(CGAffineTransformMakeRotation(-M_PI_2 * [page rotation]
/ 90.0), self.scaleFactor, self.scaleFactor);
+ CGAffineTransform t = CGAffineTransformMakeRotation(-M_PI_2 * [page
rotation] / 90.0);
NSColor *tmpColor = pdfvFlags.presentationMode ? [[NSUserDefaults
standardUserDefaults] colorForKey:SKPresentationInkNoteColorKey] : nil;
layer = [CAShapeLayer layer];
// transform and place so that the path is in scaled page coordinates
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