C# Class PixelFarm.Agg.VertexStore

显示文件 Open project: prepare/HTML-Renderer Class Usage Examples

Public Properties

Property Type Description
dbugId int

Private Properties

Property Type Description
AllocIfRequired void
ReplaceCommand void
ReplaceVertex void
SwapVertices void
VertexStore
dbugGetNewId int

Public Methods

Method Description
AddCloseFigure ( ) : void
AddLineTo ( double x, double y ) : void
AddMoveTo ( double x, double y ) : void
AddP2c ( double x, double y ) : void

add 2nd curve point (for C3,C4 curve)

AddP3c ( double x, double y ) : void

add 3rd curve point (for C4 curve)

AddStop ( ) : void
AddSubVertices ( VertexStore anotherVxs ) : void
AddVertex ( double x, double y, VertexCmd cmd ) : void
Clear ( ) : void
CreateCopy ( VertexStore src ) : VertexStore

copy from src to the new one

GetCommand ( int index ) : VertexCmd
GetLastCommand ( ) : VertexCmd
GetLastVertex ( double &x, double &y ) : VertexCmd
GetVertex ( int index, double &x, double &y ) : VertexCmd
GetVertexXY ( int index, double &x, double &y ) : void
UnsafeDirectGetData ( VertexStore vstore, int &m_allocated_vertices, int &m_num_vertices, double &m_coord_xy, byte &m_CommandAndFlags ) : void
UnsafeDirectSetData ( VertexStore vstore, int m_allocated_vertices, int m_num_vertices, double m_coord_xy, byte m_CommandAndFlags ) : void
VertexStore ( )
VertexStore ( int initsize )

Private Methods

Method Description
AllocIfRequired ( int indexToAdd ) : void
ReplaceCommand ( int index, VertexCmd CommandAndFlags ) : void
ReplaceVertex ( int index, double x, double y ) : void
SwapVertices ( int v1, int v2 ) : void
VertexStore ( VertexStore src )
dbugGetNewId ( ) : int

Method Details

AddCloseFigure() public method

public AddCloseFigure ( ) : void
return void

AddLineTo() public method

public AddLineTo ( double x, double y ) : void
x double
y double
return void

AddMoveTo() public method

public AddMoveTo ( double x, double y ) : void
x double
y double
return void

AddP2c() public method

add 2nd curve point (for C3,C4 curve)
public AddP2c ( double x, double y ) : void
x double
y double
return void

AddP3c() public method

add 3rd curve point (for C4 curve)
public AddP3c ( double x, double y ) : void
x double
y double
return void

AddStop() public method

public AddStop ( ) : void
return void

AddSubVertices() public method

public AddSubVertices ( VertexStore anotherVxs ) : void
anotherVxs VertexStore
return void

AddVertex() public method

public AddVertex ( double x, double y, VertexCmd cmd ) : void
x double
y double
cmd VertexCmd
return void

Clear() public method

public Clear ( ) : void
return void

CreateCopy() public static method

copy from src to the new one
public static CreateCopy ( VertexStore src ) : VertexStore
src VertexStore
return VertexStore

GetCommand() public method

public GetCommand ( int index ) : VertexCmd
index int
return VertexCmd

GetLastCommand() public method

public GetLastCommand ( ) : VertexCmd
return VertexCmd

GetLastVertex() public method

public GetLastVertex ( double &x, double &y ) : VertexCmd
x double
y double
return VertexCmd

GetVertex() public method

public GetVertex ( int index, double &x, double &y ) : VertexCmd
index int
x double
y double
return VertexCmd

GetVertexXY() public method

public GetVertexXY ( int index, double &x, double &y ) : void
index int
x double
y double
return void

UnsafeDirectGetData() public static method

public static UnsafeDirectGetData ( VertexStore vstore, int &m_allocated_vertices, int &m_num_vertices, double &m_coord_xy, byte &m_CommandAndFlags ) : void
vstore VertexStore
m_allocated_vertices int
m_num_vertices int
m_coord_xy double
m_CommandAndFlags byte
return void

UnsafeDirectSetData() public static method

public static UnsafeDirectSetData ( VertexStore vstore, int m_allocated_vertices, int m_num_vertices, double m_coord_xy, byte m_CommandAndFlags ) : void
vstore VertexStore
m_allocated_vertices int
m_num_vertices int
m_coord_xy double
m_CommandAndFlags byte
return void

VertexStore() public method

public VertexStore ( )

VertexStore() public method

public VertexStore ( int initsize )
initsize int

Property Details

dbugId public_oe property

public int dbugId
return int