Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Zooming / panning an image. #12

@THEGOLDENPRO

Description

@THEGOLDENPRO

This used to be present in the tauri react version of the app but since I began working on the native version it hasn't been re-added.

  • Implement zooming in / out.
  • Implement panning / dragging an image.

At egui they made a quick example project showing how they implemented a zoom / panning widget. My plan is to rewrite that into roseate.

I think this is how we can do it: emilk/egui@069d7a6#diff-74fdcfecbe0c685b2afa67c95a4048ad58c88dde75479ab822ee537b47fa3fd3R54-R70

Also it seems like we can implement dragging like this: emilk/egui@069d7a6#diff-74fdcfecbe0c685b2afa67c95a4048ad58c88dde75479ab822ee537b47fa3fd3R39-R44

Before we can consider merging

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions