Revision: 5699
http://skim-app.svn.sourceforge.net/skim-app/?rev=5699&view=rev
Author: hofman
Date: 2009-09-07 00:34:02 +0000 (Mon, 07 Sep 2009)
Log Message:
-----------
remove CI bezierpath category
Modified Paths:
--------------
trunk/Skim.xcodeproj/project.pbxproj
Removed Paths:
-------------
trunk/NSBezierPath_CoreImageExtensions.h
trunk/NSBezierPath_CoreImageExtensions.m
Deleted: trunk/NSBezierPath_CoreImageExtensions.h
===================================================================
--- trunk/NSBezierPath_CoreImageExtensions.h 2009-09-07 00:33:21 UTC (rev
5698)
+++ trunk/NSBezierPath_CoreImageExtensions.h 2009-09-07 00:34:02 UTC (rev
5699)
@@ -1,53 +0,0 @@
-//
-// NSBezierPath_CoreImageExtensions.h
-// Bibdesk
-//
-// Created by Adam Maxwell on 10/26/05.
-/*
- This software is Copyright (c) 2005-2009-2008
- Adam Maxwell. All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions
- are met:
-
- - Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- - Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in
- the documentation and/or other materials provided with the
- distribution.
-
- - Neither the name of Adam Maxwell nor the names of any
- contributors may be used to endorse or promote products derived
- from this software without specific prior written permission.
-
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
- OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#import <Cocoa/Cocoa.h>
-
-
-...@interface NSBezierPath (BDSKGradientExtensions)
-
-- (void)fillPathVertically:(BOOL)isVertical withStartColor:(CIColor
*)startColor endColor:(CIColor *)endColor;
-- (void)fillPathVerticallyWithStartColor:(CIColor *)inStartColor
endColor:(CIColor *)inEndColor;
-
-- (void)fillPathWithHorizontalGradientFromColor:(CIColor *)fgStartColor
toColor:(CIColor *)fgEndColor blendedAtTop:(BOOL)top
ofVerticalGradientFromColor:(CIColor *)bgStartColor toColor:(CIColor
*)bgEndColor;
-
-- (void)fillPathWithVerticalGradientFromColor:(CIColor *)inFgStartColor
toColor:(CIColor *)inFgEndColor blendedAtRight:(BOOL)right
ofHorizontalGradientFromColor:(CIColor *)inBgStartColor toColor:(CIColor
*)inBgEndColor;
-- (void)fillPathWithColor:(CIColor *)inFgColor blendedAtRight:(BOOL)right
ofVerticalGradientFromColor:(CIColor *)inBgStartColor toColor:(CIColor
*)inBgEndColor;
-
-
-...@end
Deleted: trunk/NSBezierPath_CoreImageExtensions.m
===================================================================
--- trunk/NSBezierPath_CoreImageExtensions.m 2009-09-07 00:33:21 UTC (rev
5698)
+++ trunk/NSBezierPath_CoreImageExtensions.m 2009-09-07 00:34:02 UTC (rev
5699)
@@ -1,131 +0,0 @@
-//
-// NSBezierPath_CoreImageExtensions.m
-// Bibdesk
-//
-// Created by Adam Maxwell on 10/26/05.
-/*
- This software is Copyright (c) 2005-2009-2008
- Adam Maxwell. All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions
- are met:
-
- - Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- - Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in
- the documentation and/or other materials provided with the
- distribution.
-
- - Neither the name of Adam Maxwell nor the names of any
- contributors may be used to endorse or promote products derived
- from this software without specific prior written permission.
-
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
- OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#import "NSBezierPath_CoreImageExtensions.h"
-#import "CIImage_BDSKExtensions.h"
-#import <QuartzCore/QuartzCore.h>
-
-
-...@implementation NSBezierPath (BDSKGradientExtensions)
-
-
-//
-// Modified after http://www.cocoadev.com/index.pl?GradientFill
-//
-
-- (void)fillPathVertically:(BOOL)isVertical withStartColor:(CIColor
*)startColor endColor:(CIColor *)endColor;
-{
- NSRect bounds = [self bounds];
- CGRect aRect = NSRectToCGRect(bounds);
- CGPoint startPoint = aRect.origin;
- CGPoint endPoint = startPoint;
-
- if(isVertical)
- endPoint.y += CGRectGetHeight(aRect);
- else
- endPoint.x += CGRectGetWidth(aRect);
-
- CIImage *image = [CIImage imageInRect:aRect
withLinearGradientFromPoint:startPoint toPoint:endPoint fromColor:startColor
toColor:endColor];
-
- NSGraphicsContext *nsContext = [NSGraphicsContext currentContext];
- [nsContext saveGraphicsState];
-
- [self addClip];
-
- [[nsContext CIContext] drawImage:image atPoint:aRect.origin
fromRect:aRect];
-
- [nsContext restoreGraphicsState];
-}
-
-- (void)fillPathVerticallyWithStartColor:(CIColor *)inStartColor
endColor:(CIColor *)inEndColor;
-{
- [self fillPathVertically:YES withStartColor:inStartColor
endColor:inEndColor];
-}
-
-- (void)fillPathWithHorizontalGradientFromColor:(CIColor *)fgStartColor
toColor:(CIColor *)fgEndColor blendedAtTop:(BOOL)top
ofVerticalGradientFromColor:(CIColor *)bgStartColor toColor:(CIColor
*)bgEndColor;
-{
- NSRect bounds = [self bounds];
- CGRect aRect = NSRectToCGRect(bounds);
-
- CIImage *image = [CIImage imageInRect:aRect
withHorizontalGradientFromColor:fgStartColor toColor:fgEndColor
blendedAtTop:top ofVerticalGradientFromColor:bgStartColor toColor:bgEndColor];
-
- NSGraphicsContext *nsContext = [NSGraphicsContext currentContext];
- [nsContext saveGraphicsState];
-
- [self addClip];
-
- [[nsContext CIContext] drawImage:image atPoint:aRect.origin
fromRect:aRect];
-
- [nsContext restoreGraphicsState];
-}
-
-- (void)fillPathWithVerticalGradientFromColor:(CIColor *)fgStartColor
toColor:(CIColor *)fgEndColor blendedAtRight:(BOOL)right
ofHorizontalGradientFromColor:(CIColor *)bgStartColor toColor:(CIColor
*)bgEndColor;
-{
- NSRect bounds = [self bounds];
- CGRect aRect = NSRectToCGRect(bounds);
-
- CIImage *image = [CIImage imageInRect:aRect
withVerticalGradientFromColor:fgStartColor toColor:fgEndColor
blendedAtRight:right ofHorizontalGradientFromColor:bgStartColor
toColor:bgEndColor];
-
- NSGraphicsContext *nsContext = [NSGraphicsContext currentContext];
- [nsContext saveGraphicsState];
-
- [self addClip];
-
- [[nsContext CIContext] drawImage:image atPoint:aRect.origin
fromRect:aRect];
-
- [nsContext restoreGraphicsState];
-}
-
-- (void)fillPathWithColor:(CIColor *)fgColor blendedAtRight:(BOOL)right
ofVerticalGradientFromColor:(CIColor *)bgStartColor toColor:(CIColor
*)bgEndColor;
-{
- NSRect bounds = [self bounds];
- CGRect aRect = NSRectToCGRect(bounds);
-
- CIImage *image = [CIImage imageInRect:aRect withColor:fgColor
blendedAtRight:right ofVerticalGradientFromColor:bgStartColor
toColor:bgEndColor];
-
- NSGraphicsContext *nsContext = [NSGraphicsContext currentContext];
- [nsContext saveGraphicsState];
-
- [self addClip];
-
- [[nsContext CIContext] drawImage:image atPoint:aRect.origin
fromRect:aRect];
-
- [nsContext restoreGraphicsState];
-}
-
-...@end
Modified: trunk/Skim.xcodeproj/project.pbxproj
===================================================================
--- trunk/Skim.xcodeproj/project.pbxproj 2009-09-07 00:33:21 UTC (rev
5698)
+++ trunk/Skim.xcodeproj/project.pbxproj 2009-09-07 00:34:02 UTC (rev
5699)
@@ -114,7 +114,6 @@
CE4D97FD0C3C2BFF002C20CB /* SKColorSwatch.m in Sources */ =
{isa = PBXBuildFile; fileRef = CE4D97FB0C3C2BFF002C20CB /* SKColorSwatch.m */;
};
CE4DA9240B9E190D0039E89C /* Skim Help in Resources */ = {isa =
PBXBuildFile; fileRef = CE4DA9190B9E190D0039E89C /* Skim Help */; };
CE4EBDDA0B7BF3B30091F228 /* SKSideWindow.m in Sources */ = {isa
= PBXBuildFile; fileRef = CE4EBDD90B7BF3B30091F228 /* SKSideWindow.m */; };
- CE4EC87F0B7E6E110091F228 /* NSBezierPath_CoreImageExtensions.m
in Sources */ = {isa = PBXBuildFile; fileRef = CE4EC87E0B7E6E110091F228 /*
NSBezierPath_CoreImageExtensions.m */; };
CE4EC8830B7E6E920091F228 /* CIImage_BDSKExtensions.m in Sources
*/ = {isa = PBXBuildFile; fileRef = CE4EC8820B7E6E920091F228 /*
CIImage_BDSKExtensions.m */; };
CE4EC88C0B7E6EDB0091F228 /* SKSplitView.m in Sources */ = {isa
= PBXBuildFile; fileRef = CE4EC88B0B7E6EDB0091F228 /* SKSplitView.m */; };
CE4F9DEE0BC1BE3A005BE0A1 /* Localizable.strings in Resources */
= {isa = PBXBuildFile; fileRef = CE4F9DEC0BC1BE3A005BE0A1 /*
Localizable.strings */; };
@@ -612,8 +611,6 @@
CE4EBDD90B7BF3B30091F228 /* SKSideWindow.m */ = {isa =
PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path
= SKSideWindow.m; sourceTree = "<group>"; };
CE4EC4F30B7E24490091F228 /* SKPreferenceController.h */ = {isa
= PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path
= SKPreferenceController.h; sourceTree = "<group>"; };
CE4EC4F40B7E24490091F228 /* SKPreferenceController.m */ = {isa
= PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc;
path = SKPreferenceController.m; sourceTree = "<group>"; };
- CE4EC87D0B7E6E110091F228 /* NSBezierPath_CoreImageExtensions.h
*/ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType =
sourcecode.c.h; path = NSBezierPath_CoreImageExtensions.h; sourceTree =
"<group>"; };
- CE4EC87E0B7E6E110091F228 /* NSBezierPath_CoreImageExtensions.m
*/ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType =
sourcecode.c.objc; path = NSBezierPath_CoreImageExtensions.m; sourceTree =
"<group>"; };
CE4EC8810B7E6E920091F228 /* CIImage_BDSKExtensions.h */ = {isa
= PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path
= CIImage_BDSKExtensions.h; sourceTree = "<group>"; };
CE4EC8820B7E6E920091F228 /* CIImage_BDSKExtensions.m */ = {isa
= PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc;
path = CIImage_BDSKExtensions.m; sourceTree = "<group>"; };
CE4EC88A0B7E6EDB0091F228 /* SKSplitView.h */ = {isa =
PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path =
SKSplitView.h; sourceTree = "<group>"; };
@@ -1598,8 +1595,6 @@
CE4EC8820B7E6E920091F228 /*
CIImage_BDSKExtensions.m */,
CE3A45510B7A04A4006B64D3 /*
NSBezierPath_BDSKExtensions.h */,
CE3A45520B7A04A4006B64D3 /*
NSBezierPath_BDSKExtensions.m */,
- CE4EC87D0B7E6E110091F228 /*
NSBezierPath_CoreImageExtensions.h */,
- CE4EC87E0B7E6E110091F228 /*
NSBezierPath_CoreImageExtensions.m */,
F968C5A00C036E9D000BD1B2 /*
NSBitmapImageRep_SKExtensions.h */,
F968C5A10C036E9D000BD1B2 /*
NSBitmapImageRep_SKExtensions.m */,
CE7C204D0C259A5D0059E08C /*
NSColor_SKExtensions.h */,
@@ -2029,7 +2024,6 @@
CE3A41580B790C56006B64D3 /* BDSKDragImageView.m
in Sources */,
CE3A45530B7A04A4006B64D3 /*
NSBezierPath_BDSKExtensions.m in Sources */,
CE4EBDDA0B7BF3B30091F228 /* SKSideWindow.m in
Sources */,
- CE4EC87F0B7E6E110091F228 /*
NSBezierPath_CoreImageExtensions.m in Sources */,
CE4EC8830B7E6E920091F228 /*
CIImage_BDSKExtensions.m in Sources */,
CE4EC88C0B7E6EDB0091F228 /* SKSplitView.m in
Sources */,
CE38ECD30B8093B200A1B779 /*
NSString_SKExtensions.m in Sources */,
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit