| @@ -97,14 +97,6 @@ enum NVGblendFactor { | |||||
| NVG_SRC_ALPHA_SATURATE = 1<<10, | NVG_SRC_ALPHA_SATURATE = 1<<10, | ||||
| }; | }; | ||||
| struct NVGcompositeOperationState { | |||||
| int srcRGB; | |||||
| int dstRGB; | |||||
| int srcAlpha; | |||||
| int dstAlpha; | |||||
| }; | |||||
| typedef struct NVGcompositeOperationState NVGcompositeOperationState; | |||||
| enum NVGcompositeOperation { | enum NVGcompositeOperation { | ||||
| NVG_SOURCE_OVER, | NVG_SOURCE_OVER, | ||||
| NVG_SOURCE_IN, | NVG_SOURCE_IN, | ||||
| @@ -119,6 +111,14 @@ enum NVGcompositeOperation { | |||||
| NVG_XOR, | NVG_XOR, | ||||
| }; | }; | ||||
| struct NVGcompositeOperationState { | |||||
| int srcRGB; | |||||
| int dstRGB; | |||||
| int srcAlpha; | |||||
| int dstAlpha; | |||||
| }; | |||||
| typedef struct NVGcompositeOperationState NVGcompositeOperationState; | |||||
| struct NVGglyphPosition { | struct NVGglyphPosition { | ||||
| const char* str; // Position of the glyph in the input string. | const char* str; // Position of the glyph in the input string. | ||||
| float x; // The x-coordinate of the logical glyph position. | float x; // The x-coordinate of the logical glyph position. | ||||