Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / molokocacao / NSBezierPath+MCAdditions.h
blobf56660f90b36688bb4fab6288aa98179db6d3c62
1 //
2 // NSBezierPath+MCAdditions.h
3 //
4 // Created by Sean Patrick O'Brien on 4/1/08.
5 // Copyright 2008 MolokoCacao. All rights reserved.
6 //
8 #ifndef THIRD_PARTY_MOLOKOCACAO_NSBEZIERPATH_MCADDITIONS_H_
9 #define THIRD_PARTY_MOLOKOCACAO_NSBEZIERPATH_MCADDITIONS_H_
11 #import <Cocoa/Cocoa.h>
13 @interface NSBezierPath (MCAdditions)
15 + (NSBezierPath*)bezierPathWithCGPath:(CGPathRef)pathRef;
17 - (NSBezierPath*)pathWithStrokeWidth:(CGFloat)strokeWidth;
19 - (void)fillWithInnerShadow:(NSShadow *)shadow;
20 - (void)drawBlurWithColor:(NSColor*)color radius:(CGFloat)radius;
22 - (void)strokeInside;
23 - (void)strokeInsideWithinRect:(NSRect)clipRect;
25 @end
27 #endif // THIRD_PARTY_MOLOKOCACAO_NSBEZIERPATH_MCADDITIONS_H_