/// <summary> /// Constructor for the renderer with a default select tool (old behvaior) /// </summary> /// <param name="control">Gives the reference to the SimpleOpenGLControl you've created on a form</param> /// <param name="fps">The frames per second (max) to render at. Set this to be about 30 for good performance.</param> public Renderer(SimpleOpenGlControl control, double fps, bool useIntegratedSelectTool) : this(control, fps) { SelectTool s = new SelectTool(new ToolManager()); AddTool(s, true); }
public ToolManager() { rulerTool = new RulerTool(this); angleTool = new AngleTool(this); selectTool = new SelectTool(this); pathTool = new PathTool(this); sketchTool = new SketchTool(this); contextMenuTool = new ContextMenuTool(this); pointInspectTool = new PointInspectTool(this); }
public ToolManager() { rulerTool = new RulerTool(this); angleTool = new AngleTool(this); selectTool = new SelectTool(this); pathTool = new PathTool(this); sketchTool = new SketchTool(this); contextMenuTool = new ContextMenuTool(this); pointInspectTool = new PointInspectTool(this); }
/// <summary> /// Constructor for the renderer with a default select tool (old behvaior) /// </summary> /// <param name="control">Gives the reference to the SimpleOpenGLControl you've created on a form</param> /// <param name="fps">The frames per second (max) to render at. Set this to be about 30 for good performance.</param> public Renderer(SimpleOpenGlControl control, double fps, bool useIntegratedSelectTool) : this(control, fps) { SelectTool s = new SelectTool(new ToolManager()); AddTool(s, true); }