Browse Source

Updates comment for composite operation.

shared-context
Olli Wang 8 years ago
parent
commit
09dc767e3f
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      src/nanovg.h

+ 3
- 1
src/nanovg.h View File

@@ -162,7 +162,9 @@ void nvgEndFrame(NVGcontext* ctx);
//
// Composite operation
//
// The default composite operation of NanoVG is NVG_SOURCE_OVER.
// The composite operations in NanoVG are modeled after HTML Canvas API, and
// the blend func is based on OpenGL (see corresponding manuals for more info).
// The colors in the blending state have premultiplied alpha.

// Sets the composite operation. The op parameter should be one of NVGcompositeOperation.
void nvgGlobalCompositeOperation(NVGcontext* ctx, int op);


Loading…
Cancel
Save