Revision: 16620
http://sourceforge.net/p/skim-app/code/16620
Author: hofman
Date: 2026-10-06 21:19:52 +0000 (Tue, 06 Oct 2026)
Log Message:
-----------
use macros for platform dependent types
Modified Paths:
--------------
trunk/SkimNotes/PDFAnnotation_SKNExtensions.h
trunk/SkimNotes/PDFAnnotation_SKNExtensions.m
Modified: trunk/SkimNotes/PDFAnnotation_SKNExtensions.h
===================================================================
--- trunk/SkimNotes/PDFAnnotation_SKNExtensions.h 2026-10-06 21:16:57 UTC
(rev 16619)
+++ trunk/SkimNotes/PDFAnnotation_SKNExtensions.h 2026-10-06 21:19:52 UTC
(rev 16620)
@@ -359,7 +359,7 @@
@param path The bezier path to add the point to.
@discussion This method adds a cubic curve element to path to point. It
is used to build up paths for the Skim note from the points.
*/
-+ (void)addPoint:(NSPoint)point toSkimNotesPath:(NSBezierPath *)path;
++ (void)addPoint:(PDFPoint)point toSkimNotesPath:(PDFKitPlatformBezierPath
*)path;
@end
Modified: trunk/SkimNotes/PDFAnnotation_SKNExtensions.m
===================================================================
--- trunk/SkimNotes/PDFAnnotation_SKNExtensions.m 2026-10-06 21:16:57 UTC
(rev 16619)
+++ trunk/SkimNotes/PDFAnnotation_SKNExtensions.m 2026-10-06 21:19:52 UTC
(rev 16620)
@@ -1097,7 +1097,7 @@
#endif
}
-+ (void)addPoint:(NSPoint)point toSkimNotesPath:(NSBezierPath *)path {
++ (void)addPoint:(PDFPoint)point toSkimNotesPath:(PDFKitPlatformBezierPath
*)path {
#ifdef PDFKIT_PLATFORM_IOS
NSMutableArray *points = [NSMutableArray array];
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