You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
479 B
31 lines
479 B
![]()
2 years ago
|
//
|
||
|
// WSBezier.h
|
||
|
// Test
|
||
|
//
|
||
|
// Created by senro wang on 15/8/11.
|
||
|
// Copyright (c) 2015年 王燊. All rights reserved.
|
||
|
//
|
||
|
|
||
|
#import <Foundation/Foundation.h>
|
||
|
|
||
|
|
||
|
typedef struct
|
||
|
{
|
||
|
float x;
|
||
|
float y;
|
||
|
} WSPoint;
|
||
|
|
||
|
|
||
|
@interface WSBezier : NSObject
|
||
|
|
||
|
@property (nonatomic,assign) WSPoint wsStart;
|
||
|
@property (nonatomic,assign) WSPoint wsFirst;
|
||
|
@property (nonatomic,assign) WSPoint wsSecond;
|
||
|
@property (nonatomic,assign) WSPoint wsEnd;
|
||
|
|
||
|
|
||
|
- (WSPoint )pointWithdt:(float )dt;
|
||
|
|
||
|
|
||
|
@end
|