C# Class touchvg.core.MgSplines

Inheritance: touchvg.core.MgBaseLines
Afficher le fichier Open project: rhcad/touchvg-v0.6 Class Usage Examples

Méthodes publiques

Méthode Description
Dispose ( ) : void
MgSplines ( ) : System
Type ( ) : int
clear ( ) : void
clearCachedData ( ) : void
clone ( ) : touchvg.core.MgObject
copy ( touchvg.core.MgObject src ) : void
create ( ) : MgSplines
draw ( int mode, GiGraphics gs, GiContext ctx, int segment ) : bool
equals ( touchvg.core.MgObject src ) : bool
getExtent ( ) : Box2d
getHandleCount ( ) : int
getHandlePoint ( int index ) : Point2d
getHandleType ( int index ) : int
getPoint ( int index ) : Point2d
getPointCount ( ) : int
getType ( ) : int
getTypeName ( ) : string
hitTest ( Point2d pt, float tol, MgHitResult res ) : float
hitTestBox ( Box2d rect ) : bool
isClosed ( ) : bool
isCurve ( ) : bool
isHandleFixed ( int index ) : bool
isKindOf ( int type ) : bool
load ( MgShapeFactory factory, touchvg.core.MgStorage s ) : bool
offset ( Vector2d vec, int segment ) : bool
release ( ) : void
save ( touchvg.core.MgStorage s ) : bool
setHandlePoint ( int index, Point2d pt, float tol ) : bool
setPoint ( int index, Point2d pt ) : void
smooth ( float tol ) : void
transform ( Matrix2d mat ) : void
update ( ) : void

Private Methods

Méthode Description
MgSplines ( IntPtr cPtr, bool cMemoryOwn ) : System
getCPtr ( MgSplines obj ) : HandleRef

Method Details

Dispose() public méthode

public Dispose ( ) : void
Résultat void

MgSplines() public méthode

public MgSplines ( ) : System
Résultat System

Type() public static méthode

public static Type ( ) : int
Résultat int

clear() public méthode

public clear ( ) : void
Résultat void

clearCachedData() public méthode

public clearCachedData ( ) : void
Résultat void

clone() public méthode

public clone ( ) : touchvg.core.MgObject
Résultat touchvg.core.MgObject

copy() public méthode

public copy ( touchvg.core.MgObject src ) : void
src touchvg.core.MgObject
Résultat void

create() public static méthode

public static create ( ) : MgSplines
Résultat MgSplines

draw() public méthode

public draw ( int mode, GiGraphics gs, GiContext ctx, int segment ) : bool
mode int
gs GiGraphics
ctx GiContext
segment int
Résultat bool

equals() public méthode

public equals ( touchvg.core.MgObject src ) : bool
src touchvg.core.MgObject
Résultat bool

getExtent() public méthode

public getExtent ( ) : Box2d
Résultat Box2d

getHandleCount() public méthode

public getHandleCount ( ) : int
Résultat int

getHandlePoint() public méthode

public getHandlePoint ( int index ) : Point2d
index int
Résultat Point2d

getHandleType() public méthode

public getHandleType ( int index ) : int
index int
Résultat int

getPoint() public méthode

public getPoint ( int index ) : Point2d
index int
Résultat Point2d

getPointCount() public méthode

public getPointCount ( ) : int
Résultat int

getType() public méthode

public getType ( ) : int
Résultat int

getTypeName() public méthode

public getTypeName ( ) : string
Résultat string

hitTest() public méthode

public hitTest ( Point2d pt, float tol, MgHitResult res ) : float
pt Point2d
tol float
res MgHitResult
Résultat float

hitTestBox() public méthode

public hitTestBox ( Box2d rect ) : bool
rect Box2d
Résultat bool

isClosed() public méthode

public isClosed ( ) : bool
Résultat bool

isCurve() public méthode

public isCurve ( ) : bool
Résultat bool

isHandleFixed() public méthode

public isHandleFixed ( int index ) : bool
index int
Résultat bool

isKindOf() public méthode

public isKindOf ( int type ) : bool
type int
Résultat bool

load() public méthode

public load ( MgShapeFactory factory, touchvg.core.MgStorage s ) : bool
factory MgShapeFactory
s touchvg.core.MgStorage
Résultat bool

offset() public méthode

public offset ( Vector2d vec, int segment ) : bool
vec Vector2d
segment int
Résultat bool

release() public méthode

public release ( ) : void
Résultat void

save() public méthode

public save ( touchvg.core.MgStorage s ) : bool
s touchvg.core.MgStorage
Résultat bool

setHandlePoint() public méthode

public setHandlePoint ( int index, Point2d pt, float tol ) : bool
index int
pt Point2d
tol float
Résultat bool

setPoint() public méthode

public setPoint ( int index, Point2d pt ) : void
index int
pt Point2d
Résultat void

smooth() public méthode

public smooth ( float tol ) : void
tol float
Résultat void

transform() public méthode

public transform ( Matrix2d mat ) : void
mat Matrix2d
Résultat void

update() public méthode

public update ( ) : void
Résultat void