svg2png: Clean up code

Modify the code to fit coding style
This commit is contained in:
JunsuChoi 2021-06-24 10:28:51 +09:00 committed by Hermet Park
parent a459a53bc7
commit b17f3cc9a4

View file

@ -29,8 +29,8 @@
using namespace std;
struct PngBuilder {
struct PngBuilder
{
void build(const std::string &fileName , const uint32_t width, const uint32_t height, uint32_t *buffer)
{
std::vector<unsigned char> image;
@ -63,7 +63,6 @@ struct App
//Initialize ThorVG Engine
if (tvg::Initializer::init(tvgEngine, threads) == tvg::Result::Success) {
//Create a Canvas
auto canvas = tvg::SwCanvas::gen();