Skip to content

Scale drawing #5

@Bloodaxe980

Description

@Bloodaxe980

Fix function to scale the drawing to fit the window. The "Fit Window" option should be able to scale the drawing up if it is too small to fill the canvas and, more importantly, scale the drawing down to fit inside the canvas. The function should check the size of the drawing against the size of the canvas. If the drawing is either too wide or too tall for the canvas, the scale function should reduce it to fit in both the horizontal and vertical. If the drawing is too small to fill the canvas the function should scale the drawing up until the drawing is within the canvas size -20 on the height or the width.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions