C# 클래스 touchvg.core.GiCoreView

상속: IDisposable
파일 보기 프로젝트 열기: rhcad/touchvg-v0.6 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
swigCMemOwn bool

공개 메소드들

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

비공개 메소드들

메소드 설명
GiCoreView ( IntPtr cPtr, bool cMemoryOwn ) : System
getCPtr ( GiCoreView obj ) : HandleRef

메소드 상세

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

GiCoreView() 공개 메소드

public GiCoreView ( ) : System
리턴 System

GiCoreView() 공개 메소드

public GiCoreView ( GiCoreView mainView ) : System
mainView GiCoreView
리턴 System

addImageShape() 공개 메소드

public addImageShape ( string name, float width, float height ) : bool
name string
width float
height float
리턴 bool

addShapesForTest() 공개 메소드

public addShapesForTest ( ) : int
리턴 int

calcPenWidth() 공개 메소드

public calcPenWidth ( float lineWidth ) : float
lineWidth float
리턴 float

clear() 공개 메소드

public clear ( ) : void
리턴 void

clearCachedData() 공개 메소드

public clearCachedData ( ) : void
리턴 void

createMagnifierView() 공개 메소드

public createMagnifierView ( GiView newview, GiView mainView ) : void
newview GiView
mainView GiView
리턴 void

createView() 공개 메소드

public createView ( GiView view ) : void
view GiView
리턴 void

createView() 공개 메소드

public createView ( GiView view, int type ) : void
view GiView
type int
리턴 void

destoryView() 공개 메소드

public destoryView ( GiView view ) : void
view GiView
리턴 void

doContextAction() 공개 메소드

public doContextAction ( int action ) : bool
action int
리턴 bool

drawAll() 공개 메소드

public drawAll ( GiView view, GiCanvas canvas ) : int
view GiView
canvas GiCanvas
리턴 int

drawAppend() 공개 메소드

public drawAppend ( GiView view, GiCanvas canvas ) : bool
view GiView
canvas GiCanvas
리턴 bool

dynDraw() 공개 메소드

public dynDraw ( GiView view, GiCanvas canvas ) : void
view GiView
canvas GiCanvas
리턴 void

freeContent() 공개 메소드

public freeContent ( ) : void
리턴 void

getBoundingBox() 공개 메소드

public getBoundingBox ( Floats box ) : bool
box Floats
리턴 bool

getChangeCount() 공개 메소드

public getChangeCount ( ) : int
리턴 int

getCommand() 공개 메소드

public getCommand ( ) : string
리턴 string

getContent() 공개 메소드

public getContent ( ) : string
리턴 string

getContext() 공개 메소드

public getContext ( bool forChange ) : GiContext
forChange bool
리턴 GiContext

getGestureState() 공개 메소드

public getGestureState ( ) : GiGestureState
리턴 GiGestureState

getGestureType() 공개 메소드

public getGestureType ( ) : GiGestureType
리턴 GiGestureType

getSelectedShapeCount() 공개 메소드

public getSelectedShapeCount ( ) : int
리턴 int

getSelectedShapeType() 공개 메소드

public getSelectedShapeType ( ) : int
리턴 int

getShapeCount() 공개 메소드

public getShapeCount ( ) : int
리턴 int

isPressDragging() 공개 메소드

public isPressDragging ( ) : bool
리턴 bool

loadFromFile() 공개 메소드

public loadFromFile ( string vgfile ) : bool
vgfile string
리턴 bool

onGesture() 공개 메소드

public onGesture ( GiView view, GiGestureType type, GiGestureState state, float x, float y ) : bool
view GiView
type GiGestureType
state GiGestureState
x float
y float
리턴 bool

onGesture() 공개 메소드

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
리턴 bool

onSize() 공개 메소드

public onSize ( GiView view, int w, int h ) : void
view GiView
w int
h int
리턴 void

saveToFile() 공개 메소드

public saveToFile ( string vgfile ) : bool
vgfile string
리턴 bool

saveToFile() 공개 메소드

public saveToFile ( string vgfile, bool pretty ) : bool
vgfile string
pretty bool
리턴 bool

setBkColor() 공개 메소드

public setBkColor ( GiView view, int argb ) : int
view GiView
argb int
리턴 int

setCommand() 공개 메소드

public setCommand ( GiView view, string name ) : bool
view GiView
name string
리턴 bool

setCommand() 공개 메소드

public setCommand ( GiView view, string name, string arg2 ) : bool
view GiView
name string
arg2 string
리턴 bool

setContent() 공개 메소드

public setContent ( string content ) : bool
content string
리턴 bool

setContext() 공개 메소드

public setContext ( GiContext ctx, int mask, int apply ) : void
ctx GiContext
mask int
apply int
리턴 void

setContext() 공개 메소드

public setContext ( int mask ) : void
mask int
리턴 void

setContextEditing() 공개 메소드

public setContextEditing ( bool editing ) : void
editing bool
리턴 void

setScreenDpi() 공개 정적인 메소드

public static setScreenDpi ( int dpi ) : void
dpi int
리턴 void

twoFingersMove() 공개 메소드

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
리턴 bool

twoFingersMove() 공개 메소드

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
리턴 bool

viewAdapter() 공개 메소드

public viewAdapter ( ) : MgView
리턴 MgView

viewAdapterHandle() 공개 메소드

public viewAdapterHandle ( ) : int
리턴 int

zoomToExtent() 공개 메소드

public zoomToExtent ( ) : bool
리턴 bool

zoomToModel() 공개 메소드

public zoomToModel ( float x, float y, float w, float h ) : bool
x float
y float
w float
h float
리턴 bool

프로퍼티 상세

swigCMemOwn 보호되어 있는 프로퍼티

protected bool swigCMemOwn
리턴 bool