Skip to content

Zoom display with free-selection area #41

@arbitrary311

Description

@arbitrary311

Area selection for plot zoom in Geometry Watch and Plot Watch is currently constrained to the window's aspect ratio.

Would it be possible to add an option for free-area-selection (unconstrained) when doing zoom on a Geometry or Plot Watch? Presently it is constrained to the same aspect ratio of the window. It seems like it should only require the addition of a true/false selection in, e.g., GeometryWatchOptions.cs and a conditional statement in (e.g.) GeometryWatchControl.xaml.cs imageGrid_MouseMove(...). I tried editing that myself and it did allow me to create a selection box unconstrained, but it seems like the actual zoom is still constrained. I'm not as familiar with debugging something like this in C#, but I'm guessing it's either correcting the variables h and w in that method, or the method zoom in Viewport.cs is doing something. Thoughts?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions