From 13e877ed37bd627e33d9524a9f4ed4d23ca96dcd Mon Sep 17 00:00:00 2001 From: Miha Lunar Date: Thu, 25 Sep 2014 11:19:02 +0200 Subject: [PATCH] Consistent code syntax and typo fix --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 74b9e4b..cbb8e0b 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,7 @@ Calling `nvgBeginPath()` will clear any existing paths and start drawing from bl ## Understanding Composite Paths -Because of the way the rendering backend is build in NanoVG, drawing a composite path, that is path consisting from multiple paths defining holes and fills, is a bit more involved. NanoVG uses even-odd filling rule and by default the paths are wound in counter clockwise order. Keep that in mind when drawing using the low level draw API. In order to wind one of the predefined shapes as a hole, you should call nvgPathWinding(vg, `NVG_HOLE`), or `nvgPathWinding(vg, NVG_CV)` _after_ defining the path. +Because of the way the rendering backend is build in NanoVG, drawing a composite path, that is path consisting from multiple paths defining holes and fills, is a bit more involved. NanoVG uses even-odd filling rule and by default the paths are wound in counter clockwise order. Keep that in mind when drawing using the low level draw API. In order to wind one of the predefined shapes as a hole, you should call `nvgPathWinding(vg, NVG_HOLE)`, or `nvgPathWinding(vg, NVG_CW)` _after_ defining the path. ``` C nvgBeginPath(vg);