C# 클래스 TpTrayUtility.Components.ImageViewPort

상속: System.Windows.Forms.ScrollableControl
파일 보기 프로젝트 열기: TargetProcess/Tp.TrayUtility 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
_viewPortInstance ImageViewPort

Private Properties

프로퍼티 타입 설명
AfterZoomRerender void
CalculateScrollPostions void
ClearSelection void
CreateTemporaryPicture string
DrawPrimitive void
FindPorpertyControl PropertyControlBase
GetCanvas System.Drawing.RectangleF
GetDelta System.Drawing.PointF
GetDeltaForCanvas System.Drawing.PointF
GetDeltaForPrimitive System.Drawing.PointF
GetPrimitiveAt Primitive
GetRealClientArea System.Drawing.Size
Normalization void
NormalizeEx void
PrimitiveTool TpTool
ResetSelectedPrimitive void
UpdatePropertyControlPosition void

공개 메소드들

메소드 설명
AddPicture ( Bitmap bmp, bool isSelected ) : void
AddProperties ( PropertyControlBase pb ) : void
DeletePrimitive ( ) : void
ImageViewPort ( ) : System
MoveViewPort ( int x, int y ) : void
PropertyControlValueChanged ( object sender, EventArgs e ) : void
RedoLastAction ( ) : void
RemoveAllProperties ( ) : void
RemoveSelection ( ) : void
RenderToBitmap ( ) : Bitmap
RenderToGraphics ( Graphics g, float zoom ) : void
SelectTool ( TpTool tool ) : void
ToolChanged ( ) : void
UndoLastAction ( ) : void
UpdateCurrentTool ( ) : void
UpdatePropertiesView ( ) : void
ZoomIn ( ) : void
ZoomIn ( Point location ) : void
ZoomNormal ( ) : void
ZoomOut ( ) : void
ZoomOut ( Point location ) : void

보호된 메소드들

메소드 설명
CalculateGlobalBounds ( ) : RectangleF
CalculateGlobalBounds ( bool inflate ) : RectangleF
MouseToReal ( Point mousePos ) : PointF
MouseToReal ( PointF mousePos ) : PointF
OnInvalidated ( System.Windows.Forms.InvalidateEventArgs e ) : void
OnKeyDown ( KeyEventArgs e ) : void
OnLayout ( System.Windows.Forms.LayoutEventArgs levent ) : void
OnMouseDoubleClick ( MouseEventArgs e ) : void
OnMouseDown ( MouseEventArgs e ) : void
OnMouseEnter ( EventArgs e ) : void
OnMouseMove ( MouseEventArgs e ) : void
OnMouseUp ( MouseEventArgs e ) : void
OnMouseWheel ( MouseEventArgs e ) : void
OnPaint ( PaintEventArgs e ) : void
OnPaintBackground ( PaintEventArgs pevent ) : void
OnResize ( EventArgs e ) : void
OnScroll ( ScrollEventArgs se ) : void

비공개 메소드들

메소드 설명
AfterZoomRerender ( ) : void
CalculateScrollPostions ( ) : void
ClearSelection ( ) : void
CreateTemporaryPicture ( ) : string
DrawPrimitive ( Primitive primitive, Graphics graphics, float zoom, PointF offset ) : void
FindPorpertyControl ( ) : PropertyControlBase
GetCanvas ( ) : RectangleF
GetDelta ( RectangleF boundRect, PointF canvasOffset ) : PointF
GetDeltaForCanvas ( RectangleF boundRect ) : PointF
GetDeltaForPrimitive ( RectangleF boundRect ) : PointF
GetPrimitiveAt ( PointF pt ) : Primitive
GetRealClientArea ( Point location ) : Size
Normalization ( ) : void
NormalizeEx ( ) : void
PrimitiveTool ( Primitive primitive ) : TpTool
ResetSelectedPrimitive ( ) : void
UpdatePropertyControlPosition ( ) : void

메소드 상세

AddPicture() 공개 메소드

public AddPicture ( Bitmap bmp, bool isSelected ) : void
bmp System.Drawing.Bitmap
isSelected bool
리턴 void

AddProperties() 공개 메소드

public AddProperties ( PropertyControlBase pb ) : void
pb PropertyControlBase
리턴 void

CalculateGlobalBounds() 보호된 메소드

protected CalculateGlobalBounds ( ) : RectangleF
리턴 System.Drawing.RectangleF

CalculateGlobalBounds() 보호된 메소드

protected CalculateGlobalBounds ( bool inflate ) : RectangleF
inflate bool
리턴 System.Drawing.RectangleF

DeletePrimitive() 공개 메소드

public DeletePrimitive ( ) : void
리턴 void

ImageViewPort() 공개 메소드

public ImageViewPort ( ) : System
리턴 System

MouseToReal() 보호된 메소드

protected MouseToReal ( Point mousePos ) : PointF
mousePos Point
리턴 System.Drawing.PointF

MouseToReal() 보호된 메소드

protected MouseToReal ( PointF mousePos ) : PointF
mousePos System.Drawing.PointF
리턴 System.Drawing.PointF

MoveViewPort() 공개 메소드

public MoveViewPort ( int x, int y ) : void
x int
y int
리턴 void

OnInvalidated() 보호된 메소드

protected OnInvalidated ( System.Windows.Forms.InvalidateEventArgs e ) : void
e System.Windows.Forms.InvalidateEventArgs
리턴 void

OnKeyDown() 보호된 메소드

protected OnKeyDown ( KeyEventArgs e ) : void
e System.Windows.Forms.KeyEventArgs
리턴 void

OnLayout() 보호된 메소드

protected OnLayout ( System.Windows.Forms.LayoutEventArgs levent ) : void
levent System.Windows.Forms.LayoutEventArgs
리턴 void

OnMouseDoubleClick() 보호된 메소드

protected OnMouseDoubleClick ( MouseEventArgs e ) : void
e MouseEventArgs
리턴 void

OnMouseDown() 보호된 메소드

protected OnMouseDown ( MouseEventArgs e ) : void
e MouseEventArgs
리턴 void

OnMouseEnter() 보호된 메소드

protected OnMouseEnter ( EventArgs e ) : void
e System.EventArgs
리턴 void

OnMouseMove() 보호된 메소드

protected OnMouseMove ( MouseEventArgs e ) : void
e MouseEventArgs
리턴 void

OnMouseUp() 보호된 메소드

protected OnMouseUp ( MouseEventArgs e ) : void
e MouseEventArgs
리턴 void

OnMouseWheel() 보호된 메소드

protected OnMouseWheel ( MouseEventArgs e ) : void
e MouseEventArgs
리턴 void

OnPaint() 보호된 메소드

protected OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs
리턴 void

OnPaintBackground() 보호된 메소드

protected OnPaintBackground ( PaintEventArgs pevent ) : void
pevent PaintEventArgs
리턴 void

OnResize() 보호된 메소드

protected OnResize ( EventArgs e ) : void
e System.EventArgs
리턴 void

OnScroll() 보호된 메소드

protected OnScroll ( ScrollEventArgs se ) : void
se System.Windows.Forms.ScrollEventArgs
리턴 void

PropertyControlValueChanged() 공개 메소드

public PropertyControlValueChanged ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
리턴 void

RedoLastAction() 공개 메소드

public RedoLastAction ( ) : void
리턴 void

RemoveAllProperties() 공개 메소드

public RemoveAllProperties ( ) : void
리턴 void

RemoveSelection() 공개 메소드

public RemoveSelection ( ) : void
리턴 void

RenderToBitmap() 공개 메소드

public RenderToBitmap ( ) : Bitmap
리턴 System.Drawing.Bitmap

RenderToGraphics() 공개 메소드

public RenderToGraphics ( Graphics g, float zoom ) : void
g System.Drawing.Graphics
zoom float
리턴 void

SelectTool() 공개 메소드

public SelectTool ( TpTool tool ) : void
tool TpTool
리턴 void

ToolChanged() 공개 메소드

public ToolChanged ( ) : void
리턴 void

UndoLastAction() 공개 메소드

public UndoLastAction ( ) : void
리턴 void

UpdateCurrentTool() 공개 메소드

public UpdateCurrentTool ( ) : void
리턴 void

UpdatePropertiesView() 공개 메소드

public UpdatePropertiesView ( ) : void
리턴 void

ZoomIn() 공개 메소드

public ZoomIn ( ) : void
리턴 void

ZoomIn() 공개 메소드

public ZoomIn ( Point location ) : void
location Point
리턴 void

ZoomNormal() 공개 메소드

public ZoomNormal ( ) : void
리턴 void

ZoomOut() 공개 메소드

public ZoomOut ( ) : void
리턴 void

ZoomOut() 공개 메소드

public ZoomOut ( Point location ) : void
location Point
리턴 void

프로퍼티 상세

_viewPortInstance 공개적으로 정적으로 프로퍼티

public static ImageViewPort,TpTrayUtility.Components _viewPortInstance
리턴 ImageViewPort