Revision: 13758
http://sourceforge.net/p/skim-app/code/13758
Author: hofman
Date: 2023-11-12 23:42:57 +0000 (Sun, 12 Nov 2023)
Log Message:
-----------
no need to provide some methods
Modified Paths:
--------------
trunk/PDFAnnotation_SKExtensions.h
trunk/PDFAnnotation_SKExtensions.m
trunk/PDFPage_SKExtensions.m
Modified: trunk/PDFAnnotation_SKExtensions.h
===================================================================
--- trunk/PDFAnnotation_SKExtensions.h 2023-11-12 23:30:31 UTC (rev 13757)
+++ trunk/PDFAnnotation_SKExtensions.h 2023-11-12 23:42:57 UTC (rev 13758)
@@ -179,7 +179,6 @@
@end
@interface PDFAnnotation (SKDefaultExtensions)
-- (PDFTextAnnotationIconType)iconType;
- (NSColor *)interiorColor;
- (NSString *)fieldName;
@end
Modified: trunk/PDFAnnotation_SKExtensions.m
===================================================================
--- trunk/PDFAnnotation_SKExtensions.m 2023-11-12 23:30:31 UTC (rev 13757)
+++ trunk/PDFAnnotation_SKExtensions.m 2023-11-12 23:42:57 UTC (rev 13758)
@@ -80,8 +80,6 @@
@implementation PDFAnnotation (SKExtensions)
-- (PDFTextAnnotationIconType)fallback_iconType { return
kPDFTextAnnotationIconNote; }
-
- (NSColor *)fallback_interiorColor { return nil; }
- (NSString *)fallback_fieldName {
@@ -89,7 +87,6 @@
}
+ (void)load {
- SKAddInstanceMethodImplementationFromSelector(self, @selector(iconType),
@selector(fallback_iconType));
SKAddInstanceMethodImplementationFromSelector(self,
@selector(interiorColor), @selector(fallback_interiorColor));
SKAddInstanceMethodImplementationFromSelector(self, @selector(fieldName),
@selector(fallback_fieldName));
}
Modified: trunk/PDFPage_SKExtensions.m
===================================================================
--- trunk/PDFPage_SKExtensions.m 2023-11-12 23:30:31 UTC (rev 13757)
+++ trunk/PDFPage_SKExtensions.m 2023-11-12 23:42:57 UTC (rev 13758)
@@ -78,21 +78,6 @@
@implementation PDFPage (SKExtensions)
-- (void)fallback_transformContext:(CGContextRef)context
forBox:(PDFDisplayBox)box {
- NSRect bounds = [self boundsForBox:box];
- CGContextRotateCTM(context, -[self rotation] * M_PI_2 / 90.0);
- switch ([self rotation]) {
- case 0: CGContextTranslateCTM(context, -NSMinX(bounds),
-NSMinY(bounds)); break;
- case 90: CGContextTranslateCTM(context, -NSMaxX(bounds),
-NSMinY(bounds)); break;
- case 180: CGContextTranslateCTM(context, -NSMaxX(bounds),
-NSMaxY(bounds)); break;
- case 270: CGContextTranslateCTM(context, -NSMinX(bounds),
-NSMaxY(bounds)); break;
- }
-}
-
-+ (void)load {
- SKAddInstanceMethodImplementationFromSelector(self,
@selector(transformContext:forBox:),
@selector(fallback_transformContext:forBox:));
-}
-
static BOOL usesSequentialPageNumbering = NO;
+ (BOOL)usesSequentialPageNumbering {
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