diff --git a/src/nanovg.h b/src/nanovg.h index 32c6837..229aa63 100644 --- a/src/nanovg.h +++ b/src/nanovg.h @@ -97,14 +97,6 @@ enum NVGblendFactor { NVG_SRC_ALPHA_SATURATE = 1<<10, }; -struct NVGcompositeOperationState { - int srcRGB; - int dstRGB; - int srcAlpha; - int dstAlpha; -}; -typedef struct NVGcompositeOperationState NVGcompositeOperationState; - enum NVGcompositeOperation { NVG_SOURCE_OVER, NVG_SOURCE_IN, @@ -119,6 +111,14 @@ enum NVGcompositeOperation { NVG_XOR, }; +struct NVGcompositeOperationState { + int srcRGB; + int dstRGB; + int srcAlpha; + int dstAlpha; +}; +typedef struct NVGcompositeOperationState NVGcompositeOperationState; + struct NVGglyphPosition { const char* str; // Position of the glyph in the input string. float x; // The x-coordinate of the logical glyph position.