FlatRedBall.AnimationEditorForms.Wireframe.Ruler.Ruler C# (CSharp) Method

Ruler() public method

public Ruler ( XnaAndWinforms.GraphicsDeviceControl control, SystemManagers managers, Cursor cursor ) : System
control XnaAndWinforms.GraphicsDeviceControl
managers RenderingLibrary.SystemManagers
cursor Cursor
return System
        public Ruler(GraphicsDeviceControl control, SystemManagers managers, Cursor cursor )
        {
            try
            {
                mControl = control;
                mManagers = managers;
                mCursor = cursor;

                CreateLayer();

                CreateVisualRepresentation();

                // Create the text after the Layer
                CreateGuideText();

                RulerSide = Wireframe.RulerSide.Top;
            }
            catch(Exception e)
            {
                throw e;
            }
        }