Revision: 13711
http://sourceforge.net/p/skim-app/code/13711
Author: hofman
Date: 2023-10-31 15:55:03 +0000 (Tue, 31 Oct 2023)
Log Message:
-----------
get CGinterpolation from PDF interpolationby adding 1
Modified Paths:
--------------
trunk/SKBasePDFView.m
Modified: trunk/SKBasePDFView.m
===================================================================
--- trunk/SKBasePDFView.m 2023-10-31 15:51:33 UTC (rev 13710)
+++ trunk/SKBasePDFView.m 2023-10-31 15:55:03 UTC (rev 13711)
@@ -415,7 +415,7 @@
- (void)drawPagesInRect:(NSRect)rect toContext:(CGContextRef)context {
PDFDisplayBox *box = [self displayBox];
CGFloat scale = [self scaleFactor];
- CGContextSetInterpolationQuality(context, [self interpolationQuality] ==
kPDFInterpolationQualityNone ? kCGInterpolationNone : [self
interpolationQuality] == kPDFInterpolationQualityLow ? kCGInterpolationLow :
kCGInterpolationHigh);
+ CGContextSetInterpolationQuality(context, [self interpolationQuality] + 1);
CGContextSetShouldAntialias(context, [self shouldAntiAlias]);
for (PDFPage *page in [self visiblePages]) {
NSRect pageRect = [self convertRect:[page boundsForBox:box]
fromPage:page];
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