Grid Docker
Requirements for the Grid Docker
The docker should provide controls for modifying at least these options:
Color of the main grid linesCell size of the grid (one or two dimensions). What is the best name for it?
1.~~ Number of subdivisions in each cell~~
Questions that need to be answered:
Should the user be able to control horizontal and vertical spacing separately? If yes, should the "linked" toggle be active by default? [I think: yes, yes]Should the user be able to control the color of subdivision lines separately, or the color should be generated automatically from the main color? [I think: no, it should be automatic]Should the user be able to control the offset of the grid? [I think: no, what is the usecase?]- Should there be an option to toggle "Snap to grid/guides"? What should we do with the tools that have Ctrl and Shift modifiers already occupied, so we cannot use them to disable snapping temporarily within the stroke? [I think: yes, option is needed; probably, some context menu to toggle snapping options, which can be fired up from within a context of a stroke?]
Behavior of the Grid
Everything should snap to grids with their snap points.- [Stretchgoal] When something is going to be snapped to a grid, it should be highlighted
Other
Perspective Grid should go and be substituted by a corresponding assistant.
Guides
Actions
Actions that should be available to the user using some menu or a docker:
- Global snapping: on/off
- ~~ Snap to: Grid, Guides, <something else, like image borders?>~~
New Guide: H or V, Position with dimensions- [Stretchgoal] New Guides Layout: probably, should be available in the grids docker somehow instead of having a separate dialog?
Behavior
All "non-freehand" tools snaps to the guides when snapping is activeThe guides themselves should snap to the other guides and grid- The guide should snap to it's initial position
Pressing some key or context menu should disable snapping of the being edited/created guideGuides need to be saved and loaded with the imageYou don't need to enable/disable snapping for individual guides- [Stretchgoal] We need to be able to save and load guides as presets. There is no need to make resources out of these presets, simply loading and saving to files will be enough
- [Stretchgoal] When edit/create a guide use some shortcut to snap the guide to some rounded values on the ruler
- [Stretchgoal] If there's time, diagonal guides will be very useful, especially for more advanced types of comics.
Variants of snapping
- global snap mode
- snap to guides
- snap to grid