Browse Source

Changes the order of declaration.

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

+ 8
- 8
src/nanovg.h View File

@@ -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.


Loading…
Cancel
Save