C# Class 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.
Afficher le fichier Open project: prime31/Nez Class Usage Examples

Méthodes publiques

Méthode Description
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[]

Method Details

AddBezier() public méthode

public AddBezier ( object first, object second, object third, object fourth ) : void
first object
second object
third object
fourth object
Résultat void

AddLine() public méthode

public AddLine ( object first, object second ) : void
first object
second object
Résultat void

CloseFigure() public méthode

public CloseFigure ( ) : void
Résultat void

FauxGraphicsPath() public méthode

public FauxGraphicsPath ( ) : Microsoft.Xna.Framework
Résultat Microsoft.Xna.Framework

Flatten() public méthode

public Flatten ( object matrix, float flatness ) : void
matrix object
flatness float
Résultat void

StartFigure() public méthode

public StartFigure ( ) : void
Résultat void

pathPointsAsVectors() public méthode

public pathPointsAsVectors ( ) : Microsoft.Xna.Framework.Vector2[]
Résultat Microsoft.Xna.Framework.Vector2[]