C# Class Core2D.Path.Parser.SvgToXPathGeometryParser

Parser for SVG path geometry http://www.w3.org/TR/SVG11/paths.html.
ファイルを表示 Open project: Core2D/Core2D Class Usage Examples

Public Methods

Method Description
Parse ( XGeometryContext context, string pathString, int startIndex ) : void

Parse a SVG path geometry string.

Private Methods

Method Description
EnsureFigure ( ) : void
HaveMore ( ) : bool
InvalidToken ( ) : void
IsNumber ( bool allowComma ) : bool
ReadBool ( ) : bool
ReadNumber ( bool allowComma ) : double
ReadPoint ( char cmd, bool allowcomma ) : Point2
ReadToken ( ) : bool
Reflect ( ) : Point2
SkipDigits ( bool signAllowed ) : void
SkipWhiteSpace ( bool allowComma ) : bool

Method Details

Parse() public method

Parse a SVG path geometry string.
public Parse ( XGeometryContext context, string pathString, int startIndex ) : void
context XGeometryContext The geometry context.
pathString string The path geometry string
startIndex int The string start index.
return void