This is my final project for course "Visual Computing And Learning" at Peking University.
It is a simple SVG Renderer whose GUI is based on Qt, but all the rendering is done by my own code —— My functions render the SVG image pixel by pixel.
Till now, it only supports some of the basic elements and traits. My future plan is to implement a full-featured SVG Renderer, and one day I may refactor it into Rust for learning.
This project is based on Qt 6.8.1 . You can build it with Qt Creator or CMake.
- Clone this repository.
- Open it with Qt Creator, and build it.
- Or, you can configure the tool chain in any IDE and build this project with it.
- If you want, you can also build it with CMake in a shell/terminal.
- Run the program.
- Choose the scale ratio you want.
- Open an SVG file.
- Now you can see the SVG image rendered in the window.
- If you want to export the image, you can click on the button below the slider. Only .png files are supported now.