From 0503d1d93b97ca383151a1cd0e9eed1e22aa3f1f Mon Sep 17 00:00:00 2001 From: Hermet Park Date: Mon, 28 Oct 2024 12:05:28 +0900 Subject: [PATCH] Update README.md --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index be207247..caf71079 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@

-ThorVG is an open-source graphics library designed for creating vector-based scenes and animations. Embracing the philosophy of "Simpler is better," the ThorVG project offers intuitive and user-friendly interfaces, all the while maintaining a compact size and minimal software complexity.
+ThorVG is an open-source graphics library designed for creating vector-based scenes and animations. It combines immense power with remarkable lightweight efficiency, as 'Thor' embodies a dual meaning—symbolizing both thunderous strength and lightning-fast agility. Embracing the philosophy of 'simpler is better,' the ThorVG project provides intuitive, user-friendly interfaces while maintaining a compact footprint and minimal overhead.

The following list shows primitives that are supported by ThorVG:

@@ -185,10 +185,10 @@ tvg::Initializer::init(0); //thread count Then it would be best if you prepared an empty canvas for drawing on it: ```cpp -static uint32_t buffer[WIDTH * HEIGHT]; //canvas target buffer +static uint32_t buffer[WIDTH * HEIGHT]; //canvas target buffer -auto canvas = tvg::SwCanvas::gen(); //generate a canvas -canvas->target(buffer, WIDTH, WIDTH, HEIGHT, tvg::SwCanvas::ARGB8888); //buffer, stride, w, h, Colorspace +auto canvas = tvg::SwCanvas::gen(); //generate a canvas +canvas->target(buffer, WIDTH, WIDTH, HEIGHT, tvg::ColorSpace::ARGB8888); //buffer, stride, w, h, Colorspace ``` Next you can draw multiple shapes on the canvas: