C# Класс PixelFarm.Agg.VertexSource.PathWriter

forward path writer
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
CreateMirrorPoint ( Vector2 mirrorPoint, Vector2 fixedPoint ) : Vector2
GetLastVertex ( double &x, double &y ) : VertexCmd

Описание методов

Clear() публичный Метод

public Clear ( ) : void
Результат void

ClearAndStartNewVxs() публичный Метод

public ClearAndStartNewVxs ( VertexStore newVxsOutput ) : void
newVxsOutput VertexStore
Результат void

CloseFigure() публичный Метод

public CloseFigure ( ) : void
Результат void

CloseFigureCCW() публичный Метод

public CloseFigureCCW ( ) : void
Результат void

ConcatPath() публичный Метод

public ConcatPath ( VertexStoreSnap s ) : void
s VertexStoreSnap
Результат void

Curve3() публичный Метод

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
Результат void

Curve3Rel() публичный Метод

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
Результат void

Curve4() публичный Метод

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
Результат void

Curve4Rel() публичный Метод

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
Результат void

HorizontalLineTo() публичный Метод

public HorizontalLineTo ( double x ) : void
x double
Результат void

HorizontalLineToRel() публичный Метод

public HorizontalLineToRel ( double x ) : void
x double
Результат void

JoinPath() публичный Метод

public JoinPath ( VertexStoreSnap s ) : void
s VertexStoreSnap
Результат void

LineTo() публичный Метод

public LineTo ( double x, double y ) : void
x double
y double
Результат void

LineToRel() публичный Метод

public LineToRel ( double x, double y ) : void
x double
y double
Результат void

MakeVertexSnap() публичный Метод

public MakeVertexSnap ( ) : VertexStoreSnap
Результат VertexStoreSnap

MoveTo() публичный Метод

public MoveTo ( double x, double y ) : void
x double
y double
Результат void

MoveToRel() публичный Метод

public MoveToRel ( double x, double y ) : void
x double
y double
Результат void

PathWriter() публичный Метод

public PathWriter ( ) : PixelFarm.VectorMath
Результат PixelFarm.VectorMath

PathWriter() публичный Метод

public PathWriter ( VertexStore externalVxs ) : PixelFarm.VectorMath
externalVxs VertexStore
Результат PixelFarm.VectorMath

SmoothCurve3() публичный Метод

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
Результат void

SmoothCurve3Rel() публичный Метод

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
Результат void

SmoothCurve4() публичный Метод

public SmoothCurve4 ( double p3x, double p3y, double x, double y ) : void
p3x double
p3y double
x double
y double
Результат void

SmoothCurve4Rel() публичный Метод

public SmoothCurve4Rel ( double p3x, double p3y, double x, double y ) : void
p3x double
p3y double
x double
y double
Результат void

StartFigure() публичный Метод

public StartFigure ( ) : int
Результат int

Stop() публичный Метод

public Stop ( ) : void
Результат void

UnsafeDirectGetData() публичный статический Метод

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
Результат void

UnsafeDirectSetData() публичный статический Метод

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
Результат void

VerticalLineTo() публичный Метод

public VerticalLineTo ( double y ) : void
y double
Результат void

VerticalLineToRel() публичный Метод

public VerticalLineToRel ( double y ) : void
y double
Результат void