C# Class touchvg.core.GiTransform

Inheritance: IDisposable
Show file Open project: rhcad/touchvg-v0.6 Class Usage Examples

Protected Properties

Property Type Description
swigCMemOwn bool

Public Methods

Method Description
Dispose ( ) : void
GiTransform ( ) : System
GiTransform ( GiTransform src ) : System
GiTransform ( bool ydown ) : System
copy ( GiTransform src ) : GiTransform
displayToModel ( ) : Matrix2d
displayToModel ( float dist ) : float
displayToModel ( float dist, bool mm ) : float
displayToWorld ( ) : Matrix2d
enableZoom ( bool enabled ) : bool
getCenterW ( ) : Point2d
getDpiX ( ) : float
getDpiY ( ) : float
getHeight ( ) : int
getMaxViewScale ( ) : float
getMinViewScale ( ) : float
getViewScale ( ) : float
getWidth ( ) : int
getWndRectM ( ) : Box2d
getWndRectW ( ) : Box2d
getWorldLimits ( ) : Box2d
getWorldToDisplayX ( ) : float
getWorldToDisplayX ( bool useViewScale ) : float
getWorldToDisplayY ( ) : float
getWorldToDisplayY ( bool useViewScale ) : float
getZoomTimes ( ) : int
getZoomValue ( Point2d centerW ) : float
modelToDisplay ( ) : Matrix2d
modelToWorld ( ) : Matrix2d
setModelTransform ( Matrix2d mat ) : void
setResolution ( float dpiX ) : void
setResolution ( float dpiX, float dpiY ) : void
setViewScaleRange ( float minScale, float maxScale ) : void
setWndSize ( int width, int height ) : bool
setWorldLimits ( Box2d rect ) : Box2d
worldToDisplay ( ) : Matrix2d
worldToModel ( ) : Matrix2d
zoom ( Point2d centerW, float viewScale ) : bool
zoomByFactor ( float factor ) : bool
zoomByFactor ( float factor, Point2d pxAt ) : bool
zoomByFactor ( float factor, Point2d pxAt, bool adjust ) : bool
zoomPan ( float dxPixel, float dyPixel ) : bool
zoomPan ( float dxPixel, float dyPixel, bool adjust ) : bool
zoomScale ( float viewScale ) : bool
zoomScale ( float viewScale, Point2d pxAt ) : bool
zoomScale ( float viewScale, Point2d pxAt, bool adjust ) : bool
zoomTo ( Box2d rectWorld ) : bool
zoomTo ( Box2d rectWorld, RECT_2D rcTo ) : bool
zoomTo ( Box2d rectWorld, RECT_2D rcTo, bool adjust ) : bool
zoomTo ( Point2d pntWorld ) : bool
zoomTo ( Point2d pntWorld, Point2d pxAt ) : bool
zoomTo ( Point2d pntWorld, Point2d pxAt, bool adjust ) : bool
zoomWnd ( Point2d pt1, Point2d pt2 ) : bool
zoomWnd ( Point2d pt1, Point2d pt2, bool adjust ) : bool

Private Methods

Method Description
GiTransform ( IntPtr cPtr, bool cMemoryOwn ) : System
getCPtr ( GiTransform obj ) : HandleRef

Method Details

Dispose() public method

public Dispose ( ) : void
return void

GiTransform() public method

public GiTransform ( ) : System
return System

GiTransform() public method

public GiTransform ( GiTransform src ) : System
src GiTransform
return System

GiTransform() public method

public GiTransform ( bool ydown ) : System
ydown bool
return System

copy() public method

public copy ( GiTransform src ) : GiTransform
src GiTransform
return GiTransform

displayToModel() public method

public displayToModel ( ) : Matrix2d
return Matrix2d

displayToModel() public method

public displayToModel ( float dist ) : float
dist float
return float

displayToModel() public method

public displayToModel ( float dist, bool mm ) : float
dist float
mm bool
return float

displayToWorld() public method

public displayToWorld ( ) : Matrix2d
return Matrix2d

enableZoom() public method

public enableZoom ( bool enabled ) : bool
enabled bool
return bool

getCenterW() public method

public getCenterW ( ) : Point2d
return Point2d

getDpiX() public method

public getDpiX ( ) : float
return float

getDpiY() public method

public getDpiY ( ) : float
return float

getHeight() public method

public getHeight ( ) : int
return int

getMaxViewScale() public method

public getMaxViewScale ( ) : float
return float

getMinViewScale() public method

public getMinViewScale ( ) : float
return float

getViewScale() public method

public getViewScale ( ) : float
return float

getWidth() public method

public getWidth ( ) : int
return int

getWndRectM() public method

public getWndRectM ( ) : Box2d
return Box2d

getWndRectW() public method

public getWndRectW ( ) : Box2d
return Box2d

getWorldLimits() public method

public getWorldLimits ( ) : Box2d
return Box2d

getWorldToDisplayX() public method

public getWorldToDisplayX ( ) : float
return float

getWorldToDisplayX() public method

public getWorldToDisplayX ( bool useViewScale ) : float
useViewScale bool
return float

getWorldToDisplayY() public method

public getWorldToDisplayY ( ) : float
return float

getWorldToDisplayY() public method

public getWorldToDisplayY ( bool useViewScale ) : float
useViewScale bool
return float

getZoomTimes() public method

public getZoomTimes ( ) : int
return int

getZoomValue() public method

public getZoomValue ( Point2d centerW ) : float
centerW Point2d
return float

modelToDisplay() public method

public modelToDisplay ( ) : Matrix2d
return Matrix2d

modelToWorld() public method

public modelToWorld ( ) : Matrix2d
return Matrix2d

setModelTransform() public method

public setModelTransform ( Matrix2d mat ) : void
mat Matrix2d
return void

setResolution() public method

public setResolution ( float dpiX ) : void
dpiX float
return void

setResolution() public method

public setResolution ( float dpiX, float dpiY ) : void
dpiX float
dpiY float
return void

setViewScaleRange() public method

public setViewScaleRange ( float minScale, float maxScale ) : void
minScale float
maxScale float
return void

setWndSize() public method

public setWndSize ( int width, int height ) : bool
width int
height int
return bool

setWorldLimits() public method

public setWorldLimits ( Box2d rect ) : Box2d
rect Box2d
return Box2d

worldToDisplay() public method

public worldToDisplay ( ) : Matrix2d
return Matrix2d

worldToModel() public method

public worldToModel ( ) : Matrix2d
return Matrix2d

zoom() public method

public zoom ( Point2d centerW, float viewScale ) : bool
centerW Point2d
viewScale float
return bool

zoomByFactor() public method

public zoomByFactor ( float factor ) : bool
factor float
return bool

zoomByFactor() public method

public zoomByFactor ( float factor, Point2d pxAt ) : bool
factor float
pxAt Point2d
return bool

zoomByFactor() public method

public zoomByFactor ( float factor, Point2d pxAt, bool adjust ) : bool
factor float
pxAt Point2d
adjust bool
return bool

zoomPan() public method

public zoomPan ( float dxPixel, float dyPixel ) : bool
dxPixel float
dyPixel float
return bool

zoomPan() public method

public zoomPan ( float dxPixel, float dyPixel, bool adjust ) : bool
dxPixel float
dyPixel float
adjust bool
return bool

zoomScale() public method

public zoomScale ( float viewScale ) : bool
viewScale float
return bool

zoomScale() public method

public zoomScale ( float viewScale, Point2d pxAt ) : bool
viewScale float
pxAt Point2d
return bool

zoomScale() public method

public zoomScale ( float viewScale, Point2d pxAt, bool adjust ) : bool
viewScale float
pxAt Point2d
adjust bool
return bool

zoomTo() public method

public zoomTo ( Box2d rectWorld ) : bool
rectWorld Box2d
return bool

zoomTo() public method

public zoomTo ( Box2d rectWorld, RECT_2D rcTo ) : bool
rectWorld Box2d
rcTo RECT_2D
return bool

zoomTo() public method

public zoomTo ( Box2d rectWorld, RECT_2D rcTo, bool adjust ) : bool
rectWorld Box2d
rcTo RECT_2D
adjust bool
return bool

zoomTo() public method

public zoomTo ( Point2d pntWorld ) : bool
pntWorld Point2d
return bool

zoomTo() public method

public zoomTo ( Point2d pntWorld, Point2d pxAt ) : bool
pntWorld Point2d
pxAt Point2d
return bool

zoomTo() public method

public zoomTo ( Point2d pntWorld, Point2d pxAt, bool adjust ) : bool
pntWorld Point2d
pxAt Point2d
adjust bool
return bool

zoomWnd() public method

public zoomWnd ( Point2d pt1, Point2d pt2 ) : bool
pt1 Point2d
pt2 Point2d
return bool

zoomWnd() public method

public zoomWnd ( Point2d pt1, Point2d pt2, bool adjust ) : bool
pt1 Point2d
pt2 Point2d
adjust bool
return bool

Property Details

swigCMemOwn protected property

protected bool swigCMemOwn
return bool