C# Class GlueViewTestPlugins.EntityControl.ResizingLogic

Mostrar archivo Open project: vchelaru/FlatRedBall

Public Methods

Method Description
ApplyChangeVariables ( FlatRedBall.PositionedObject objectToResize, float cursorXChange, float cursorYChange, float xChangeCoef, float yChangeCoef ) : void
ApplyCircleResize ( float &cursorXChange, float &cursorYChange, float &xChangeCoef, float &yChangeCoef, float selectedScaleXCoefficient, float selectedScaleYCoefficient, float oppositeX, float oppositeY, float cursorX, float cursorY, Circle circle, float handleX, float handleY ) : void

Private Methods

Method Description
AdjustPositionsAfterScaling ( FlatRedBall.PositionedObject pObj, float xChange, float yChange, float xChangeCoef, float yChangeCoef ) : void

Method Details

ApplyChangeVariables() public method

public ApplyChangeVariables ( FlatRedBall.PositionedObject objectToResize, float cursorXChange, float cursorYChange, float xChangeCoef, float yChangeCoef ) : void
objectToResize FlatRedBall.PositionedObject
cursorXChange float
cursorYChange float
xChangeCoef float
yChangeCoef float
return void

ApplyCircleResize() public method

public ApplyCircleResize ( float &cursorXChange, float &cursorYChange, float &xChangeCoef, float &yChangeCoef, float selectedScaleXCoefficient, float selectedScaleYCoefficient, float oppositeX, float oppositeY, float cursorX, float cursorY, Circle circle, float handleX, float handleY ) : void
cursorXChange float
cursorYChange float
xChangeCoef float
yChangeCoef float
selectedScaleXCoefficient float
selectedScaleYCoefficient float
oppositeX float
oppositeY float
cursorX float
cursorY float
circle Circle
handleX float
handleY float
return void