C# Класс BoxDiagrams.DiagramGestureAnalyzer

Наследование: GestureAnalyzer
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
DiagramGestureAnalyzer ( DiagramControl control ) : System

Защищенные методы

Метод Описание
AddFiltered ( Util state_, DragPoint dp ) : bool
AnalyzeGesture ( Util state_, bool mouseUp ) : void
MouseClickStarted ( MouseEventArgs e ) : Util.WinForms.DragState

Приватные методы

Метод Описание
AngleError ( Loyc.Geometry.Vector vec, int angleMod8 ) : double
AngleMod8 ( Loyc.Geometry.Vector v ) : int
AsLineSegments ( IEnumerable points ) : IEnumerable
AutoHandleAnchorsChanged ( ) : void
BreakIntoSections ( DragState state ) : List
DetectNewShapeDuringDrag ( DragState state, MSet adorners, bool &potentialSelection ) : Shape
EliminateTinySections ( List
list, int minLineLengthPx ) : void
FindReversals ( List points, int stopAfter ) : List
FindTimeStamps ( IListSource original, List simplified ) : int[]
HandleMouseUp ( DragState state, Shape newShape, IEnumerable eraseSet ) : void
HandleShapeDrag ( DragState state ) : void
InterpretAsPolyline ( DragState state, List
sections ) : BoxDiagrams.LineOrArrow
IsDrag ( IList dragSeq ) : bool
Merged ( Section s1, Section s2 ) : Section
PickMerge ( Section &s0, Section s1, Section &s2 ) : bool
RecognizeBoxOrLines ( DragState state, bool &potentialSelection ) : Shape
RecognizeScribbleForEraseOrCancel ( DragState state, bool &cancel, List &simplifiedSS ) : IEnumerable
SelectByBox ( BoundingBox bbox ) : void
ShapesInside ( BoundingBox bbox, Shape panel = null ) : IEnumerable
ShapesInsidePanel ( Shape panel ) : IEnumerable
ShouldErase ( Shape s, List mouseInput ) : bool
ShowEraseDuringDrag ( DragState state, MSet adorners, IEnumerable eraseSet, List simplified, bool cancel ) : void
TryInterpretAsBox ( List
sections, bool oneSideAnchored, bool &potentialSelection ) : TextBox
TurnBetween ( Section a, Section b ) : int
V ( float x, float y ) : Loyc.Geometry.Vector

Описание методов

AddFiltered() защищенный Метод

protected AddFiltered ( Util state_, DragPoint dp ) : bool
state_ Util
dp DragPoint
Результат bool

AnalyzeGesture() защищенный Метод

protected AnalyzeGesture ( Util state_, bool mouseUp ) : void
state_ Util
mouseUp bool
Результат void

DiagramGestureAnalyzer() публичный Метод

public DiagramGestureAnalyzer ( DiagramControl control ) : System
control DiagramControl
Результат System

MouseClickStarted() защищенный Метод

protected MouseClickStarted ( MouseEventArgs e ) : Util.WinForms.DragState
e MouseEventArgs
Результат Util.WinForms.DragState