C# 클래스 TestingUtils.BitmapViewer

파일 보기 프로젝트 열기: petergolde/PurplePen

공개 메소드들

메소드 설명
BeginCanvasDragging ( Point pt, MouseButtons endingButton ) : void
BitmapViewer ( ) : System
GetWorldToPixelXform ( ) : Matrix
PixelToWorld ( PointF ptPixel ) : PointF
PixelToWorldDistance ( float distPixel ) : float
ScrollRectangleIntoView ( RectangleF rect ) : void
ScrollView ( int dxPixels, int dyPixels ) : void
WorldToPixel ( PointF ptWorld ) : PointF
WorldToPixelDistance ( float distWorld ) : float
ZoomAroundPoint ( PointF zoomPtWorld, float newZoom ) : void

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Clean up any resources being used.

비공개 메소드들

메소드 설명
CalculateWorldTransform ( ) : void
CanvasDrag ( Point pt ) : void
EndCanvasDragging ( Point pt ) : void
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

PointerMoved ( bool mouseInViewport, int xViewport, int yViewport ) : void
ScrollWindow ( IntPtr hwnd, int dx, int dy, IntPtr lpRect, IntPtr lpClipRect ) : bool
UpdateScrollBars ( ) : void
ViewportChanged ( ) : void
canvas_MouseCaptureChanged ( object sender, EventArgs e ) : void
canvas_MouseDown ( object sender, MouseEventArgs e ) : void
canvas_MouseEnter ( object sender, EventArgs e ) : void
canvas_MouseLeave ( object sender, EventArgs e ) : void
canvas_MouseMove ( object sender, MouseEventArgs e ) : void
canvas_MouseUp ( object sender, MouseEventArgs e ) : void
canvas_MouseWheel ( object sender, System e ) : void
canvas_Paint ( object sender, PaintEventArgs e ) : void
canvas_Resize ( object sender, EventArgs e ) : void
hScrollBar_Scroll ( object sender, ScrollEventArgs e ) : void
vScrollBar_Scroll ( object sender, ScrollEventArgs e ) : void

메소드 상세

BeginCanvasDragging() 공개 메소드

public BeginCanvasDragging ( Point pt, MouseButtons endingButton ) : void
pt Point
endingButton MouseButtons
리턴 void

BitmapViewer() 공개 메소드

public BitmapViewer ( ) : System
리턴 System

Dispose() 보호된 메소드

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
리턴 void

GetWorldToPixelXform() 공개 메소드

public GetWorldToPixelXform ( ) : Matrix
리턴 Matrix

PixelToWorld() 공개 메소드

public PixelToWorld ( PointF ptPixel ) : PointF
ptPixel PointF
리턴 PointF

PixelToWorldDistance() 공개 메소드

public PixelToWorldDistance ( float distPixel ) : float
distPixel float
리턴 float

ScrollRectangleIntoView() 공개 메소드

public ScrollRectangleIntoView ( RectangleF rect ) : void
rect RectangleF
리턴 void

ScrollView() 공개 메소드

public ScrollView ( int dxPixels, int dyPixels ) : void
dxPixels int
dyPixels int
리턴 void

WorldToPixel() 공개 메소드

public WorldToPixel ( PointF ptWorld ) : PointF
ptWorld PointF
리턴 PointF

WorldToPixelDistance() 공개 메소드

public WorldToPixelDistance ( float distWorld ) : float
distWorld float
리턴 float

ZoomAroundPoint() 공개 메소드

public ZoomAroundPoint ( PointF zoomPtWorld, float newZoom ) : void
zoomPtWorld PointF
newZoom float
리턴 void