February 2019
Intermediate to advanced
450 pages
11h 59m
English
If you want to go ahead and make use of these draw commands directly, you can use the following:
| Stroke function | Fill function | Notes |
| NkStrokeLine() | Draw a single line segment in the specified color. | |
| NkStrokeCurve() | Draw a single curve segment in the specified color. | |
| NkStrokeRect() |
NkFillRect(), NkFillRectMultiColor() |
Draw a rectangle (or square) outline, or solid rectangle in the specified color(s). To draw an outlined, filled rectangle, call NkFillRect() and then NkStrokeRect() using the same coordinates. NkFillRectMultiColor() is a quick way to draw gradients in a rectangle. |
| NkStrokeCircle() | NkFillCircle() | Draw a circle (or ellipse) outline or fill in the specified color. |
| NkStrokeArc() | NkFillArc() | Outline, ... |
Read now
Unlock full access