Rack: Add zoom

Created on 14 Sep 2017  路  4Comments  路  Source: VCVRack/Rack

Once full vector is finished (after switching panels from PNG to SVG/framebuffer), add zoom capability on the RackWidget, along with a zoom percent on the toolbar.

  • [x] add RackRail widget back to RackWidget
  • [x] Fix dropdown position
feature request

Most helpful comment

Woohoo! I figured out how to mess with the render stack to correctly cache objects with the correct zoom level and then render them back with the correct position. This means arbitrary zoom levels will be possible, not just 50%, 25%, 200%, etc., while still supporting full caching. Should only be about 100 lines of code to add the framebuffer stuff.

All 4 comments

Scrubbing this for v0.5. I could add basic zoom, but I'd rather do it the right way and re-design the framebuffer renderer and widget framework to handle real-numbered positions and transformations properly.

Woohoo! I figured out how to mess with the render stack to correctly cache objects with the correct zoom level and then render them back with the correct position. This means arbitrary zoom levels will be possible, not just 50%, 25%, 200%, etc., while still supporting full caching. Should only be about 100 lines of code to add the framebuffer stuff.

that's something i would like to see.

Fixed with f5e8ba0369685adc61afc9354d3606b877e758ce to caa1a57

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jaffasplaffa picture jaffasplaffa  路  7Comments

DomiKamu picture DomiKamu  路  6Comments

polyclash picture polyclash  路  3Comments

LazyPike picture LazyPike  路  6Comments

antoniotuzzi picture antoniotuzzi  路  5Comments