C# Class GrafitiDemo.Calculator

Inheritance: IGestureListener, IPinchable
Afficher le fichier Open project: nuigroup/grafiti Class Usage Examples

Méthodes publiques

Свойство Type Description
DECIMAL_SEPARATOR string

Méthodes publiques

Méthode Description
Calculator ( ) : System
Draw ( ) : void
GetPinchReference ( float &x, float &y, float &size, float &rotation ) : void
GetTargetAt ( float x, float y, IGestureListener &zGestureListener, object &zControl ) : void
OnPinch ( object obj, GestureEventArgs args ) : void

Private Methods

Méthode Description
ProcessDigit ( int digit ) : void
ProcessItem ( Items item, bool hover ) : void
ProcessNonDigit ( Items item, bool hover ) : void
PushOperand ( ) : void
Reset ( ) : void

Method Details

Calculator() public méthode

public Calculator ( ) : System
Résultat System

Draw() public méthode

public Draw ( ) : void
Résultat void

GetPinchReference() public méthode

public GetPinchReference ( float &x, float &y, float &size, float &rotation ) : void
x float
y float
size float
rotation float
Résultat void

GetTargetAt() public méthode

public GetTargetAt ( float x, float y, IGestureListener &zGestureListener, object &zControl ) : void
x float
y float
zGestureListener IGestureListener
zControl object
Résultat void

OnPinch() public méthode

public OnPinch ( object obj, GestureEventArgs args ) : void
obj object
args Grafiti.GestureEventArgs
Résultat void

Property Details

DECIMAL_SEPARATOR public_oe static_oe property

public static string DECIMAL_SEPARATOR
Résultat string