C# 클래스 LongoMatch.Drawing.Widgets.Blackboard

A canvas that can be used as a blackboard in which objects are drawn over the image set in BackgroundCanvas.Background.
상속: BackgroundCanvas
파일 보기 프로젝트 열기: GNOME/longomatch 1 사용 예제들

공개 메소드들

메소드 설명
Blackboard ( IWidget widget ) : System
Clear ( bool resetDrawing = true ) : void

Clears the drawing.

DeleteSelection ( ) : void

Deletes the current selection from the frame drawing.

Draw ( IContext context, Area area ) : void
Save ( ) : Image

Saves the current canvas to an Image

Save ( string filename ) : void

Saves the current canvas to a file

Zoom ( double zoom, Point center = null ) : void

Zoom into the image and center it in the click.

보호된 메소드들

메소드 설명
CursorMoved ( Point coords ) : void
Dispose ( bool disposing ) : void
HandleLeftButton ( Point coords, ButtonModifier modif ) : void
SelectionChanged ( System sel ) : void
ShowMenu ( Point coords ) : void
StartMove ( Selection sel ) : void
StopMove ( bool moved ) : void

비공개 메소드들

메소드 설명
Add ( IBlackboardObject drawable ) : ICanvasSelectableObject
ClipRoi ( Area roi ) : void
UpdateCounters ( ) : void

메소드 상세

Blackboard() 공개 메소드

public Blackboard ( IWidget widget ) : System
widget IWidget
리턴 System

Clear() 공개 메소드

Clears the drawing.
public Clear ( bool resetDrawing = true ) : void
resetDrawing bool
리턴 void

CursorMoved() 보호된 메소드

protected CursorMoved ( Point coords ) : void
coords Point
리턴 void

DeleteSelection() 공개 메소드

Deletes the current selection from the frame drawing.
public DeleteSelection ( ) : void
리턴 void

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

Draw() 공개 메소드

public Draw ( IContext context, Area area ) : void
context IContext
area LongoMatch.Core.Common.Area
리턴 void

HandleLeftButton() 보호된 메소드

protected HandleLeftButton ( Point coords, ButtonModifier modif ) : void
coords Point
modif ButtonModifier
리턴 void

Save() 공개 메소드

Saves the current canvas to an Image
public Save ( ) : Image
리턴 Image

Save() 공개 메소드

Saves the current canvas to a file
public Save ( string filename ) : void
filename string
리턴 void

SelectionChanged() 보호된 메소드

protected SelectionChanged ( System sel ) : void
sel System
리턴 void

ShowMenu() 보호된 메소드

protected ShowMenu ( Point coords ) : void
coords Point
리턴 void

StartMove() 보호된 메소드

protected StartMove ( Selection sel ) : void
sel LongoMatch.Core.Store.Drawables.Selection
리턴 void

StopMove() 보호된 메소드

protected StopMove ( bool moved ) : void
moved bool
리턴 void

Zoom() 공개 메소드

Zoom into the image and center it in the click.
public Zoom ( double zoom, Point center = null ) : void
zoom double New zoom value.
center Point Mew image center.
리턴 void