Today's Menu  Portugal
journal and plan nutrition
ZCMCommon.h
Go to the documentation of this file.
1 //
2 // ZCGCommon.h
3 // CoolTable
4 //
5 // Created by Don Zeek on 10/19/13.
6 // Copyright (c) 2013 net.dzeek.y2013. All rights reserved.
7 //
8 
9 #import <Foundation/Foundation.h>
10 #import <CoreGraphics/CoreGraphics.h>
11 
12 void drawLinearGradient(CGContextRef context, CGRect rect, CGColorRef startColor, CGColorRef endColor);
13 CGRect rectFor1PxStroke(CGRect rect);
14 void draw1PxStroke(CGContextRef context, CGPoint startPoint, CGPoint endPoint, CGColorRef color);
15 void drawGlossAndGradient(CGContextRef context, CGRect rect, CGColorRef startColor, CGColorRef endColor);
16 static inline double radians (double degrees) { return degrees * M_PI/180; }
17 CGMutablePathRef createArcPathFromBottomOfRect(CGRect rect, CGFloat arcHeight);
18 
19 
20 
CGRect rectFor1PxStroke(CGRect rect)
Definition: ZCMCommon.m:35
void drawGlossAndGradient(CGContextRef context, CGRect rect, CGColorRef startColor, CGColorRef endColor)
Definition: ZCMCommon.m:52
void drawLinearGradient(CGContextRef context, CGRect rect, CGColorRef startColor, CGColorRef endColor)
Definition: ZCMCommon.m:12
void draw1PxStroke(CGContextRef context, CGPoint startPoint, CGPoint endPoint, CGColorRef color)
Definition: ZCMCommon.m:40
static double radians(double degrees)
Definition: ZCMCommon.h:16
CGMutablePathRef createArcPathFromBottomOfRect(CGRect rect, CGFloat arcHeight)
Definition: ZCMCommon.m:64