Revision: 14151
http://sourceforge.net/p/skim-app/code/14151
Author: hofman
Date: 2024-03-27 16:45:39 +0000 (Wed, 27 Mar 2024)
Log Message:
-----------
round rect for rect of image
Modified Paths:
--------------
trunk/SKSnapshotWindowController.m
Modified: trunk/SKSnapshotWindowController.m
===================================================================
--- trunk/SKSnapshotWindowController.m 2024-03-27 10:36:59 UTC (rev 14150)
+++ trunk/SKSnapshotWindowController.m 2024-03-27 16:45:39 UTC (rev 14151)
@@ -501,7 +501,7 @@
if (size < 0.0) {
CGFloat r = 10.0;
if (@available(macOS 12.0, *)) r = 12.0;
- [[NSBezierPath bezierPathWithRoundedRect:NSMakeRect(0.0, 0.0,
thumbnailSize.width, thumbnailSize.height + r) xRadius:r yRadius:r] addClip];
+ [[NSBezierPath bezierPathWithRoundedRect:(NSRect){NSZeroPoint,
thumbnailSize} xRadius:r yRadius:r] addClip];
}
[[NSGraphicsContext currentContext]
setImageInterpolation:NSImageInterpolationHigh];
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