RSS

(root)/iphone/common : 61 : Jigs/source/Triangulation.h

« back to all changes in this revision

Viewing changes to Jigs/source/Triangulation.h

Dömötör Gulyás
2010-01-18 09:03:51
Revision ID: dognotdog@gmail.com-20100118080351-ib2knxvk4w8ssw3h
made common a nested tree

Show diffs side-by-side

added added

removed removed

1
 
//
2
 
//  Triangulation.h
3
 
//  Jigs
4
 
//
5
 
//  Created by döme on 05.08.2009.
6
 
//  Copyright 2009 __MyCompanyName__. All rights reserved.
7
 
//
8
 
 
9
 
#import <Foundation/Foundation.h>
10
 
 
11
 
@class VertexArray;
12
 
 
13
 
void SimpleBezierPathToPolyline(CGPathRef cpath, CGPoint** outPoints, size_t* numOutPoints);
14
 
 
15
 
VertexArray* TriangulateOutline(CGPoint* inPoints, size_t numInPoints);
16
 
 
17
 
CGPoint* createOutline(CGPoint* points, size_t numPoints, float thickness);
18
 
 
19
 
 
20
 
NSData* BezierPathToData(CGPathRef cpath);
21
 
 
22
 
CGPathRef CreateBezierPathFromData(NSData* data);
23
 
 
24
 
enum
25
 
{
26
 
        kThickenStopOnFirstSplit        = 1,
27
 
        kThickenNoSplitting                     = 2,
28
 
        kThickenInside                          = 4,
29
 
        kThickenOutside                         = 8,
30
 
        kThickenLast_
31
 
};
32
 
 
33
 
VertexArray* ThickenOutline(CGPoint* inPoints, size_t numInPoints, float thickness, int flags);

Loggerhead 1.17 is a web-based interface for Bazaar branches