C# Class PixelFarm.Agg.VertexSource.PathWriter

forward path writer
Afficher le fichier Open project: prepare/HTML-Renderer Class Usage Examples

Méthodes publiques

Méthode Description
Clear ( ) : void
ClearAndStartNewVxs ( VertexStore newVxsOutput ) : void
CloseFigure ( ) : void
CloseFigureCCW ( ) : void
ConcatPath ( VertexStoreSnap s ) : void
Curve3 ( double p2x, double p2y, double x, double y ) : void

Draws a quadratic Bezier curve from the current point to (x,y) using (xControl,yControl) as the control point.

Curve3Rel ( double p2x, double p2y, double x, double y ) : void

Draws a quadratic Bezier curve from the current point to (x,y) using (xControl,yControl) as the control point.

Curve4 ( double p2x, double p2y, double p3x, double p3y, double x, double y ) : void
Curve4Rel ( double p2x, double p2y, double p3x, double p3y, double x, double y ) : void
HorizontalLineTo ( double x ) : void
HorizontalLineToRel ( double x ) : void
JoinPath ( VertexStoreSnap s ) : void
LineTo ( double x, double y ) : void
LineToRel ( double x, double y ) : void
MakeVertexSnap ( ) : VertexStoreSnap
MoveTo ( double x, double y ) : void
MoveToRel ( double x, double y ) : void
PathWriter ( ) : PixelFarm.VectorMath
PathWriter ( VertexStore externalVxs ) : PixelFarm.VectorMath
SmoothCurve3 ( double x, double y ) : void

Draws a quadratic Bezier curve from the current point to (x,y).

The control point is assumed to be the reflection of the control point on the previous command relative to the current point.

(If there is no previous command or if the previous command was not a curve, assume the control point is coincident with the current point.)

SmoothCurve3Rel ( double x, double y ) : void

Draws a quadratic Bezier curve from the current point to (x,y).

The control point is assumed to be the reflection of the control point on the previous command relative to the current point.

(If there is no previous command or if the previous command was not a curve, assume the control point is coincident with the current point.)

SmoothCurve4 ( double p3x, double p3y, double x, double y ) : void
SmoothCurve4Rel ( double p3x, double p3y, double x, double y ) : void
StartFigure ( ) : int
Stop ( ) : void
UnsafeDirectGetData ( PathWriter pathStore, int &m_allocated_vertices, int &m_num_vertices, double &m_coord_xy, byte &m_CommandAndFlags ) : void
UnsafeDirectSetData ( PathWriter pathStore, int m_allocated_vertices, int m_num_vertices, double m_coord_xy, byte m_CommandAndFlags ) : void
VerticalLineTo ( double y ) : void
VerticalLineToRel ( double y ) : void

Private Methods

Méthode Description
CreateMirrorPoint ( Vector2 mirrorPoint, Vector2 fixedPoint ) : Vector2
GetLastVertex ( double &x, double &y ) : VertexCmd

Method Details

Clear() public méthode

public Clear ( ) : void
Résultat void

ClearAndStartNewVxs() public méthode

public ClearAndStartNewVxs ( VertexStore newVxsOutput ) : void
newVxsOutput VertexStore
Résultat void

CloseFigure() public méthode

public CloseFigure ( ) : void
Résultat void

CloseFigureCCW() public méthode

public CloseFigureCCW ( ) : void
Résultat void

ConcatPath() public méthode

public ConcatPath ( VertexStoreSnap s ) : void
s VertexStoreSnap
Résultat void

Curve3() public méthode

Draws a quadratic Bezier curve from the current point to (x,y) using (xControl,yControl) as the control point.
public Curve3 ( double p2x, double p2y, double x, double y ) : void
p2x double
p2y double
x double
y double
Résultat void

Curve3Rel() public méthode

Draws a quadratic Bezier curve from the current point to (x,y) using (xControl,yControl) as the control point.
public Curve3Rel ( double p2x, double p2y, double x, double y ) : void
p2x double
p2y double
x double
y double
Résultat void

Curve4() public méthode

public Curve4 ( double p2x, double p2y, double p3x, double p3y, double x, double y ) : void
p2x double
p2y double
p3x double
p3y double
x double
y double
Résultat void

Curve4Rel() public méthode

public Curve4Rel ( double p2x, double p2y, double p3x, double p3y, double x, double y ) : void
p2x double
p2y double
p3x double
p3y double
x double
y double
Résultat void

HorizontalLineTo() public méthode

public HorizontalLineTo ( double x ) : void
x double
Résultat void

HorizontalLineToRel() public méthode

public HorizontalLineToRel ( double x ) : void
x double
Résultat void

JoinPath() public méthode

public JoinPath ( VertexStoreSnap s ) : void
s VertexStoreSnap
Résultat void

LineTo() public méthode

public LineTo ( double x, double y ) : void
x double
y double
Résultat void

LineToRel() public méthode

public LineToRel ( double x, double y ) : void
x double
y double
Résultat void

MakeVertexSnap() public méthode

public MakeVertexSnap ( ) : VertexStoreSnap
Résultat VertexStoreSnap

MoveTo() public méthode

public MoveTo ( double x, double y ) : void
x double
y double
Résultat void

MoveToRel() public méthode

public MoveToRel ( double x, double y ) : void
x double
y double
Résultat void

PathWriter() public méthode

public PathWriter ( ) : PixelFarm.VectorMath
Résultat PixelFarm.VectorMath

PathWriter() public méthode

public PathWriter ( VertexStore externalVxs ) : PixelFarm.VectorMath
externalVxs VertexStore
Résultat PixelFarm.VectorMath

SmoothCurve3() public méthode

Draws a quadratic Bezier curve from the current point to (x,y).

The control point is assumed to be the reflection of the control point on the previous command relative to the current point.

(If there is no previous command or if the previous command was not a curve, assume the control point is coincident with the current point.)

public SmoothCurve3 ( double x, double y ) : void
x double
y double
Résultat void

SmoothCurve3Rel() public méthode

Draws a quadratic Bezier curve from the current point to (x,y).

The control point is assumed to be the reflection of the control point on the previous command relative to the current point.

(If there is no previous command or if the previous command was not a curve, assume the control point is coincident with the current point.)

public SmoothCurve3Rel ( double x, double y ) : void
x double
y double
Résultat void

SmoothCurve4() public méthode

public SmoothCurve4 ( double p3x, double p3y, double x, double y ) : void
p3x double
p3y double
x double
y double
Résultat void

SmoothCurve4Rel() public méthode

public SmoothCurve4Rel ( double p3x, double p3y, double x, double y ) : void
p3x double
p3y double
x double
y double
Résultat void

StartFigure() public méthode

public StartFigure ( ) : int
Résultat int

Stop() public méthode

public Stop ( ) : void
Résultat void

UnsafeDirectGetData() public static méthode

public static UnsafeDirectGetData ( PathWriter pathStore, int &m_allocated_vertices, int &m_num_vertices, double &m_coord_xy, byte &m_CommandAndFlags ) : void
pathStore PathWriter
m_allocated_vertices int
m_num_vertices int
m_coord_xy double
m_CommandAndFlags byte
Résultat void

UnsafeDirectSetData() public static méthode

public static UnsafeDirectSetData ( PathWriter pathStore, int m_allocated_vertices, int m_num_vertices, double m_coord_xy, byte m_CommandAndFlags ) : void
pathStore PathWriter
m_allocated_vertices int
m_num_vertices int
m_coord_xy double
m_CommandAndFlags byte
Résultat void

VerticalLineTo() public méthode

public VerticalLineTo ( double y ) : void
y double
Résultat void

VerticalLineToRel() public méthode

public VerticalLineToRel ( double y ) : void
y double
Résultat void