C# Class FarseerPhysics.ContentPipeline.SVGPathParser

ファイルを表示 Open project: tinco/Farseer-Physics Class Usage Examples

Public Methods

Method Description
ParseSVGPath ( string path, Matrix transformation ) : List
SVGPathParser ( int bezierIterations ) : System

Private Methods

Method Description
cubicBezier ( Vertices path, Vector2 start, Vector2 end, Vector2 controlStart, Vector2 controlEnd, int steps ) : void
cubicBezierRecursive ( Vertices path, Vector2 start, Vector2 end, Vector2 controlStart, Vector2 controlEnd, int level ) : void
getNextPathItem ( string input, string &item ) : string

Method Details

ParseSVGPath() public method

public ParseSVGPath ( string path, Matrix transformation ) : List
path string
transformation Matrix
return List

SVGPathParser() public method

public SVGPathParser ( int bezierIterations ) : System
bezierIterations int
return System