C# 클래스 PixelFarm.Agg.VertexSource.PathWriter

forward path writer
파일 보기 프로젝트 열기: prepare/HTML-Renderer 1 사용 예제들

공개 메소드들

메소드 설명
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