Revision: 15904
http://sourceforge.net/p/skim-app/code/15904
Author: hofman
Date: 2025-12-21 15:41:34 +0000 (Sun, 21 Dec 2025)
Log Message:
-----------
clip presentation page drawing to page bounds, in case a note extends it
Modified Paths:
--------------
trunk/SKPresentationView.m
Modified: trunk/SKPresentationView.m
===================================================================
--- trunk/SKPresentationView.m 2025-12-21 09:31:54 UTC (rev 15903)
+++ trunk/SKPresentationView.m 2025-12-21 15:41:34 UTC (rev 15904)
@@ -314,6 +314,7 @@
CGContextFillRect(context,
SKPixelAlignedRect(NSRectToCGRect(pageRect), context));
CGContextRestoreGState(context);
CGContextSaveGState(context);
+ CGContextClipToRect(context, pageRect);
CGContextSetInterpolationQuality(context, [[NSUserDefaults
standardUserDefaults] integerForKey:SKInterpolationQualityKey] + 1);
CGContextTranslateCTM(context, NSMinX(pageRect), NSMinY(pageRect));
CGContextScaleCTM(context, scale, scale);
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