Graphite icon indicating copy to clipboard operation
Graphite copied to clipboard

Grid system

Open Keavon opened this issue 2 years ago • 0 comments

We will want a grid system for snapping. It should also be drawable over the canvas in user-configurable ways.

We'll want a concept of document pixels for precise pixel alignment and snapping, drawing pixel art, and previewing a zoomed-in document at its export resolution. (Even though this concept exists for measurements, it does not restrict the rendering of the document at any arbitrarily high resolution, because of Graphite's concept of resolution agnosticism.)

We will want both pixel and real-world (metric/imperial) units of measure at arbitrarily large or small scales (millimeters to miles, or even way smaller and larger).

This suite of grid-related features will live under the Grid checkbox. Disabling the checkbox will turn off all rendering of grids. The popover dropdown next to the checkbox allows selectively enabling and disabling specific grid rendering features and changing certain settings like likes or dots for the grid style, the resolution of the grid (based on a chosen unit of measurement, either pixels or real-world units), and even setting the grid to work based on polar coordinates or logarithmic scales in the future.

Keavon avatar Jul 31 '21 11:07 Keavon