To set the canvas options click the canvas tab within the preferences dialog figure 6.4, right-click the canvas; or right-click any graphics window on the canvas and choose Canvas Options. Alternatively, choose Canvas Options from the menu Window:
The view is zoomed in or out once, so that all graphics windows on the canvas are visible at a glance with optimal use of the available space.
To fit the view not only once, but continuously, enable both canvas options Auto-fit By Zooming Out and Auto-fit By Zooming In.
The current zoom factor is displayed in the bottom right corner of the canvas window. Click the zoom factor to reset the view to 100%.
The view is zoomed out automatically, so that all graphics windows on the canvas are always visible at a glance without scrolling. This means, as soon as you try to move a graphics window across the borders of the current view, the view adapts automatically by decreasing the zoom factor.
The view is zoomed in automatically, so that all graphics windows on the canvas are visible at a glance with optimal use of the available space. This means, as soon as you move a graphics window towards the center of the current view, the view adapts automatically by increasing the zoom factor to maximum 100%.
The canvas view is focused automatically on the selected graphics window. Thus, the view follows the selected graphics window. To scroll the canvas view manually, disable this option.
The grid helps you arranging and resizing your graphics windows. The cross in the grid visualizes the reference point (0, 0) for the graphics window position.
You can hide the toolbar, for example, to maximize the image display. Most graphics windows features are available via context menu, too. For example, the feature Float window to remove the graphics window from the canvas again.
The frame is necessary to make changes to the size or position of the graphics window. Disable this option, if you are happy with its current position and size or if you want to focus on the image.
Enabling the Floating Canvas will automatically open a floating canvas window, as soon as a code line in the script opens a graphics window, when dev_open_window is executed. All graphics windows will then be displayed in the canvas window. This option is available within the preferences dialog within the tabcard Canvas in the User Interface settings, see figure 6.4. It is recommended to use this to visualize examples, and the results of your program. Keep in mind that if a canvas window is already open, all graphics windows will be displayed there. When a canvas was opened by a script, it will be closed when a reset is executed by pressing F2. Should you want to open a canvas with a distinct size, dev_open_tool ('canvas',...) should be used.
Enabling the Floating Graphics Window will open all graphics windows separately. Keep in mind that if a canvas window is already open, all graphics windows will be displayed there. This option is available within the preferences dialog within the tabcard Canvas in the User Interface settings, see figure 6.4.
When a canvas was opened via script it will be closed, when the F2 key is pressed. To open the canvas in a distinct size dev_open_tool ('canvas') should be used, and also the size of an already opened canvas can be adjusted by this.