Merge commit 'svn-macvim'
[MacVim/jjgod.git] / PSMTabBarControl / source / NSBezierPath_AMShading.h
blob9c6c335fbe5beccc7ac4b0af95df4a0fb299ccaa
1 //
2 // NSBezierPath_AMShading.h
3 // ------------------------
4 //
5 // Created by Andreas on 2005-06-01.
6 // Copyright 2005 Andreas Mayer. All rights reserved.
7 //
8 // based on http://www.cocoadev.com/index.pl?GradientFill
11 #import <Cocoa/Cocoa.h>
14 @interface NSBezierPath (AMShading)
16 - (void)customHorizontalFillWithCallbacks:(CGFunctionCallbacks)functionCallbacks firstColor:(NSColor *)firstColor secondColor:(NSColor *)secondColor;
18 - (void)linearGradientFillWithStartColor:(NSColor *)startColor endColor:(NSColor *)endColor;
20 - (void)bilinearGradientFillWithOuterColor:(NSColor *)outerColor innerColor:(NSColor *)innerColor;
23 @end