C# 클래스 Nez.Svg.FauxGraphicsPath

THIS IS A HORRIBLE ABOMINATION! PCLs dont have access to System.Drawing so this class is a wrapper for accessing the GraphicsPath class. It has the full public API that Nez needs for SVG files but the whole mess is all accessed via reflection. It is slow as all hell and not recommended for production use. It's only purpose is so that Nez works with SVG files out of the box to get up and running fast.
파일 보기 프로젝트 열기: prime31/Nez 1 사용 예제들

공개 메소드들

메소드 설명
AddBezier ( object first, object second, object third, object fourth ) : void
AddLine ( object first, object second ) : void
CloseFigure ( ) : void
FauxGraphicsPath ( ) : Microsoft.Xna.Framework
Flatten ( object matrix, float flatness ) : void
StartFigure ( ) : void
pathPointsAsVectors ( ) : Microsoft.Xna.Framework.Vector2[]

메소드 상세

AddBezier() 공개 메소드

public AddBezier ( object first, object second, object third, object fourth ) : void
first object
second object
third object
fourth object
리턴 void

AddLine() 공개 메소드

public AddLine ( object first, object second ) : void
first object
second object
리턴 void

CloseFigure() 공개 메소드

public CloseFigure ( ) : void
리턴 void

FauxGraphicsPath() 공개 메소드

public FauxGraphicsPath ( ) : Microsoft.Xna.Framework
리턴 Microsoft.Xna.Framework

Flatten() 공개 메소드

public Flatten ( object matrix, float flatness ) : void
matrix object
flatness float
리턴 void

StartFigure() 공개 메소드

public StartFigure ( ) : void
리턴 void

pathPointsAsVectors() 공개 메소드

public pathPointsAsVectors ( ) : Microsoft.Xna.Framework.Vector2[]
리턴 Microsoft.Xna.Framework.Vector2[]