//
// CCGraphics.h
// CCFC
//
// Created by xichen on 11-12-16.
// Copyright 2011年 ccteam. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "CCUIScreen.h"
#import "CCUIColor.h"
#define CCCenterPoint CGPointMake(SCREEN_WIDTH / 2, SCREEN_HEIGHT / 2)
@interface CCGraphics : NSObject
// 画弧形
+ (void)drawArc:(CGContextRef)ctx
radius:(CGFloat)radius
x:(CGFloat)x
y:(CGFloat)y
startArc:(CGFloat)startArc
endArc:(CGFloat)endArc
clockWise:(int)clockWise
color:(UIColor *)color;
@end
googlecode链接地址(会有更新):http://code.google.com/p/iphone-common-codes-ccteam/source/browse/trunk/CCFC/files/CCGraphics.h
github地址:https://github.com/cxsjabc/iphone-common-codes-ccteam/tree/master/CCFC/files/CCGraphics.h
本文深入探讨了CCGraphics框架的使用方法与实例应用,包括画弧形等基本功能,提供给开发者在iOS开发中进行高效绘图的解决方案。
84

被折叠的 条评论
为什么被折叠?



