C# Class touchvg.core.GiCoreView

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

Protected Properties

Свойство Type Description
swigCMemOwn bool

Méthodes publiques

Méthode Description
Dispose ( ) : void
GiCoreView ( ) : System
GiCoreView ( GiCoreView mainView ) : System
addImageShape ( string name, float width, float height ) : bool
addShapesForTest ( ) : int
calcPenWidth ( float lineWidth ) : float
clear ( ) : void
clearCachedData ( ) : void
createMagnifierView ( GiView newview, GiView mainView ) : void
createView ( GiView view ) : void
createView ( GiView view, int type ) : void
destoryView ( GiView view ) : void
doContextAction ( int action ) : bool
drawAll ( GiView view, GiCanvas canvas ) : int
drawAppend ( GiView view, GiCanvas canvas ) : bool
dynDraw ( GiView view, GiCanvas canvas ) : void
freeContent ( ) : void
getBoundingBox ( Floats box ) : bool
getChangeCount ( ) : int
getCommand ( ) : string
getContent ( ) : string
getContext ( bool forChange ) : GiContext
getGestureState ( ) : GiGestureState
getGestureType ( ) : GiGestureType
getSelectedShapeCount ( ) : int
getSelectedShapeType ( ) : int
getShapeCount ( ) : int
isPressDragging ( ) : bool
loadFromFile ( string vgfile ) : bool
onGesture ( GiView view, GiGestureType type, GiGestureState state, float x, float y ) : bool
onGesture ( GiView view, GiGestureType type, GiGestureState state, float x, float y, bool switchGesture ) : bool
onSize ( GiView view, int w, int h ) : void
saveToFile ( string vgfile ) : bool
saveToFile ( string vgfile, bool pretty ) : bool
setBkColor ( GiView view, int argb ) : int
setCommand ( GiView view, string name ) : bool
setCommand ( GiView view, string name, string arg2 ) : bool
setContent ( string content ) : bool
setContext ( GiContext ctx, int mask, int apply ) : void
setContext ( int mask ) : void
setContextEditing ( bool editing ) : void
setScreenDpi ( int dpi ) : void
twoFingersMove ( GiView view, GiGestureState state, float x1, float y1, float x2, float y2 ) : bool
twoFingersMove ( GiView view, GiGestureState state, float x1, float y1, float x2, float y2, bool switchGesture ) : bool
viewAdapter ( ) : MgView
viewAdapterHandle ( ) : int
zoomToExtent ( ) : bool
zoomToModel ( float x, float y, float w, float h ) : bool

Private Methods

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

Method Details

Dispose() public méthode

public Dispose ( ) : void
Résultat void

GiCoreView() public méthode

public GiCoreView ( ) : System
Résultat System

GiCoreView() public méthode

public GiCoreView ( GiCoreView mainView ) : System
mainView GiCoreView
Résultat System

addImageShape() public méthode

public addImageShape ( string name, float width, float height ) : bool
name string
width float
height float
Résultat bool

addShapesForTest() public méthode

public addShapesForTest ( ) : int
Résultat int

calcPenWidth() public méthode

public calcPenWidth ( float lineWidth ) : float
lineWidth float
Résultat float

clear() public méthode

public clear ( ) : void
Résultat void

clearCachedData() public méthode

public clearCachedData ( ) : void
Résultat void

createMagnifierView() public méthode

public createMagnifierView ( GiView newview, GiView mainView ) : void
newview GiView
mainView GiView
Résultat void

createView() public méthode

public createView ( GiView view ) : void
view GiView
Résultat void

createView() public méthode

public createView ( GiView view, int type ) : void
view GiView
type int
Résultat void

destoryView() public méthode

public destoryView ( GiView view ) : void
view GiView
Résultat void

doContextAction() public méthode

public doContextAction ( int action ) : bool
action int
Résultat bool

drawAll() public méthode

public drawAll ( GiView view, GiCanvas canvas ) : int
view GiView
canvas GiCanvas
Résultat int

drawAppend() public méthode

public drawAppend ( GiView view, GiCanvas canvas ) : bool
view GiView
canvas GiCanvas
Résultat bool

dynDraw() public méthode

public dynDraw ( GiView view, GiCanvas canvas ) : void
view GiView
canvas GiCanvas
Résultat void

freeContent() public méthode

public freeContent ( ) : void
Résultat void

getBoundingBox() public méthode

public getBoundingBox ( Floats box ) : bool
box Floats
Résultat bool

getChangeCount() public méthode

public getChangeCount ( ) : int
Résultat int

getCommand() public méthode

public getCommand ( ) : string
Résultat string

getContent() public méthode

public getContent ( ) : string
Résultat string

getContext() public méthode

public getContext ( bool forChange ) : GiContext
forChange bool
Résultat GiContext

getGestureState() public méthode

public getGestureState ( ) : GiGestureState
Résultat GiGestureState

getGestureType() public méthode

public getGestureType ( ) : GiGestureType
Résultat GiGestureType

getSelectedShapeCount() public méthode

public getSelectedShapeCount ( ) : int
Résultat int

getSelectedShapeType() public méthode

public getSelectedShapeType ( ) : int
Résultat int

getShapeCount() public méthode

public getShapeCount ( ) : int
Résultat int

isPressDragging() public méthode

public isPressDragging ( ) : bool
Résultat bool

loadFromFile() public méthode

public loadFromFile ( string vgfile ) : bool
vgfile string
Résultat bool

onGesture() public méthode

public onGesture ( GiView view, GiGestureType type, GiGestureState state, float x, float y ) : bool
view GiView
type GiGestureType
state GiGestureState
x float
y float
Résultat bool

onGesture() public méthode

public onGesture ( GiView view, GiGestureType type, GiGestureState state, float x, float y, bool switchGesture ) : bool
view GiView
type GiGestureType
state GiGestureState
x float
y float
switchGesture bool
Résultat bool

onSize() public méthode

public onSize ( GiView view, int w, int h ) : void
view GiView
w int
h int
Résultat void

saveToFile() public méthode

public saveToFile ( string vgfile ) : bool
vgfile string
Résultat bool

saveToFile() public méthode

public saveToFile ( string vgfile, bool pretty ) : bool
vgfile string
pretty bool
Résultat bool

setBkColor() public méthode

public setBkColor ( GiView view, int argb ) : int
view GiView
argb int
Résultat int

setCommand() public méthode

public setCommand ( GiView view, string name ) : bool
view GiView
name string
Résultat bool

setCommand() public méthode

public setCommand ( GiView view, string name, string arg2 ) : bool
view GiView
name string
arg2 string
Résultat bool

setContent() public méthode

public setContent ( string content ) : bool
content string
Résultat bool

setContext() public méthode

public setContext ( GiContext ctx, int mask, int apply ) : void
ctx GiContext
mask int
apply int
Résultat void

setContext() public méthode

public setContext ( int mask ) : void
mask int
Résultat void

setContextEditing() public méthode

public setContextEditing ( bool editing ) : void
editing bool
Résultat void

setScreenDpi() public static méthode

public static setScreenDpi ( int dpi ) : void
dpi int
Résultat void

twoFingersMove() public méthode

public twoFingersMove ( GiView view, GiGestureState state, float x1, float y1, float x2, float y2 ) : bool
view GiView
state GiGestureState
x1 float
y1 float
x2 float
y2 float
Résultat bool

twoFingersMove() public méthode

public twoFingersMove ( GiView view, GiGestureState state, float x1, float y1, float x2, float y2, bool switchGesture ) : bool
view GiView
state GiGestureState
x1 float
y1 float
x2 float
y2 float
switchGesture bool
Résultat bool

viewAdapter() public méthode

public viewAdapter ( ) : MgView
Résultat MgView

viewAdapterHandle() public méthode

public viewAdapterHandle ( ) : int
Résultat int

zoomToExtent() public méthode

public zoomToExtent ( ) : bool
Résultat bool

zoomToModel() public méthode

public zoomToModel ( float x, float y, float w, float h ) : bool
x float
y float
w float
h float
Résultat bool

Property Details

swigCMemOwn protected_oe property

protected bool swigCMemOwn
Résultat bool