Skip to content

Commit

Permalink
Render with SVG (surge-synthesizer#841)
Browse files Browse the repository at this point in the history
Replace bitmaps entirely with SVG renderers. Link nanovg as a library
to parse SVG and implement CScalableBitmap so that it renders SVG if
found. Import SVG assets. Render into an offscreen buffer so that the
rendering only occurs when dimensions change. Modify linux and
windows resource mechanisms to point at svg. Modify macos bundle to
include SVG.

Co-authored-by: Dave P <[email protected]>
Co-authored-by: Paul Walker <[email protected]>
Former-commit-id: 871c0130e6d44fd04172627f0901cbb360eaa2cf [formerly c7968b6]
Former-commit-id: bf02109834b011e4fac3c6a0b881b4823d819fc3
Former-commit-id: 096a89a930fecc69143f9c4636e1b755ff1384ac
  • Loading branch information
3 people authored Apr 17, 2019
1 parent bb31801 commit 0e275f4
Show file tree
Hide file tree
Showing 83 changed files with 6,137 additions and 472 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,6 @@
[submodule "libs/midifile"]
path = libs/midifile
url = https://github.com/craigsapp/midifile.git
[submodule "libs/nanosvg"]
path = libs/nanosvg
url = https://github.com/memononen/nanosvg.git
285 changes: 285 additions & 0 deletions assets/original-vector/SVG/exported/bmp00102.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
127 changes: 127 additions & 0 deletions assets/original-vector/SVG/exported/bmp00105.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 0e275f4

Please sign in to comment.