C# Класс PixelFarm.Agg.VertexStore

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

Открытые свойства

Свойство Тип Описание
dbugId int

Private Properties

Свойство Тип Описание
AllocIfRequired void
ReplaceCommand void
ReplaceVertex void
SwapVertices void
VertexStore
dbugGetNewId int

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

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

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

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

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

AddCloseFigure() публичный метод

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

AddLineTo() публичный метод

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

AddMoveTo() публичный метод

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

AddP2c() публичный метод

add 2nd curve point (for C3,C4 curve)
public AddP2c ( double x, double y ) : void
x double
y double
Результат void

AddP3c() публичный метод

add 3rd curve point (for C4 curve)
public AddP3c ( double x, double y ) : void
x double
y double
Результат void

AddStop() публичный метод

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

AddSubVertices() публичный метод

public AddSubVertices ( VertexStore anotherVxs ) : void
anotherVxs VertexStore
Результат void

AddVertex() публичный метод

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

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

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

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

copy from src to the new one
public static CreateCopy ( VertexStore src ) : VertexStore
src VertexStore
Результат VertexStore

GetCommand() публичный метод

public GetCommand ( int index ) : VertexCmd
index int
Результат VertexCmd

GetLastCommand() публичный метод

public GetLastCommand ( ) : VertexCmd
Результат VertexCmd

GetLastVertex() публичный метод

public GetLastVertex ( double &x, double &y ) : VertexCmd
x double
y double
Результат VertexCmd

GetVertex() публичный метод

public GetVertex ( int index, double &x, double &y ) : VertexCmd
index int
x double
y double
Результат VertexCmd

GetVertexXY() публичный метод

public GetVertexXY ( int index, double &x, double &y ) : void
index int
x double
y double
Результат void

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

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

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

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

VertexStore() публичный метод

public VertexStore ( )

VertexStore() публичный метод

public VertexStore ( int initsize )
initsize int

Описание свойств

dbugId публичное свойство

public int dbugId
Результат int