• Craig Watson's avatar
    User-resizable background grid: · 081dbee1
    Craig Watson authored
    - The background selection palette now includes a slider to change the
    size of the background grid. Default min/max values are 16 and 64px,
    defined in UBSettings. Grid resizes dynamically as the slider is moved.
    - Measuring tools' (ruler, triangle) markers follow grid size: 1 square
    of the background grid corresponds to 1cm
    - Grid size can be different for each page of a document
    - Grid size is saved in the .svg
    - Documents with a background grid but no specified grid size follow the
    default size defined in UBSettings.
    
    Previously, grid size was calculated based on DPI, which can vary from
    one OS, computer or display to the next. This new setting allows
    documents to be migrated from one machine to another with no unexpected
    changes in grid size happening. It also makes it easy to correct any
    problems importing old documents (whose grid size might be smaller or
    larger than expected when imported on a new version of OpenBoard).
    081dbee1
UBActionPalette.h 3.69 KB