Skip to content

Commit

Permalink
Render with SVG
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]>
  • Loading branch information
itsmedavep and baconpaul committed Apr 16, 2019
1 parent fcc8c43 commit 71f7d78
Show file tree
Hide file tree
Showing 83 changed files with 6,136 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 71f7d78

Please sign in to comment.