C# Class FlatRedBall.AnimationEditorForms.Wireframe.Ruler

Show file Open project: vchelaru/FlatRedBall Class Usage Examples

Public Methods

Method Description
ConvertToPixelBasedCoordinate ( float value ) : float
DestroyGuideLines ( ) : void
DestroyRulerLines ( ) : void
HandleXnaUpdate ( bool isCursorInWindow ) : void
Ruler ( XnaAndWinforms.GraphicsDeviceControl control, SystemManagers managers, Cursor cursor ) : System

Private Methods

Method Description
AddGuide ( float relevantValue ) : void
AddGuide ( float x, float y ) : void
CreateGuideText ( ) : void
CreateLayer ( ) : void
CreateRulerLine ( float y, float length, Color color ) : void
CreateRulerLines ( ) : void
CreateVisualRepresentation ( ) : void
GetMethodForIndex ( int i ) : float
HandleAddingGuides ( ) : void
HandleMovingGuides ( bool isCursorInWindow ) : void
ReactToRulerSides ( ) : void
UpdateGrabbedGuideText ( float guideSpaceY ) : void
UpdateOffsetSpritePosition ( ) : void

Method Details

ConvertToPixelBasedCoordinate() public method

public ConvertToPixelBasedCoordinate ( float value ) : float
value float
return float

DestroyGuideLines() public method

public DestroyGuideLines ( ) : void
return void

DestroyRulerLines() public method

public DestroyRulerLines ( ) : void
return void

HandleXnaUpdate() public method

public HandleXnaUpdate ( bool isCursorInWindow ) : void
isCursorInWindow bool
return void

Ruler() public method

public Ruler ( XnaAndWinforms.GraphicsDeviceControl control, SystemManagers managers, Cursor cursor ) : System
control XnaAndWinforms.GraphicsDeviceControl
managers RenderingLibrary.SystemManagers
cursor Cursor
return System