|
LMMS
|
Go to the source code of this file.
Classes | |
| struct | NVGcolor |
| struct | NVGpaint |
| struct | NVGcompositeOperationState |
| struct | NVGglyphPosition |
| struct | NVGtextRow |
| struct | NVGscissor |
| struct | NVGvertex |
| struct | NVGpath |
| struct | NVGparams |
Macros | |
| #define | NVG_PI 3.14159265358979323846264338327f |
| #define | NVG_NOTUSED(v) |
Typedefs | |
| typedef struct NVGcontext | NVGcontext |
| typedef struct NVGcolor | NVGcolor |
| typedef struct NVGpaint | NVGpaint |
| typedef struct NVGcompositeOperationState | NVGcompositeOperationState |
| typedef struct NVGglyphPosition | NVGglyphPosition |
| typedef struct NVGtextRow | NVGtextRow |
| typedef struct NVGscissor | NVGscissor |
| typedef struct NVGvertex | NVGvertex |
| typedef struct NVGpath | NVGpath |
| typedef struct NVGparams | NVGparams |
Functions | |
| void | nvgBeginFrame (NVGcontext *ctx, float windowWidth, float windowHeight, float devicePixelRatio) |
| void | nvgCancelFrame (NVGcontext *ctx) |
| void | nvgEndFrame (NVGcontext *ctx) |
| void | nvgGlobalCompositeOperation (NVGcontext *ctx, int op) |
| void | nvgGlobalCompositeBlendFunc (NVGcontext *ctx, int sfactor, int dfactor) |
| void | nvgGlobalCompositeBlendFuncSeparate (NVGcontext *ctx, int srcRGB, int dstRGB, int srcAlpha, int dstAlpha) |
| NVGcolor | nvgRGB (unsigned char r, unsigned char g, unsigned char b) |
| NVGcolor | nvgRGBf (float r, float g, float b) |
| NVGcolor | nvgRGBA (unsigned char r, unsigned char g, unsigned char b, unsigned char a) |
| NVGcolor | nvgRGBAf (float r, float g, float b, float a) |
| NVGcolor | nvgLerpRGBA (NVGcolor c0, NVGcolor c1, float u) |
| NVGcolor | nvgTransRGBA (NVGcolor c0, unsigned char a) |
| NVGcolor | nvgTransRGBAf (NVGcolor c0, float a) |
| NVGcolor | nvgHSL (float h, float s, float l) |
| NVGcolor | nvgHSLA (float h, float s, float l, unsigned char a) |
| void | nvgSave (NVGcontext *ctx) |
| void | nvgRestore (NVGcontext *ctx) |
| void | nvgReset (NVGcontext *ctx) |
| void | nvgShapeAntiAlias (NVGcontext *ctx, int enabled) |
| void | nvgStrokeColor (NVGcontext *ctx, NVGcolor color) |
| void | nvgStrokePaint (NVGcontext *ctx, NVGpaint paint) |
| void | nvgFillColor (NVGcontext *ctx, NVGcolor color) |
| void | nvgFillPaint (NVGcontext *ctx, NVGpaint paint) |
| void | nvgMiterLimit (NVGcontext *ctx, float limit) |
| void | nvgStrokeWidth (NVGcontext *ctx, float size) |
| void | nvgLineCap (NVGcontext *ctx, int cap) |
| void | nvgLineJoin (NVGcontext *ctx, int join) |
| void | nvgGlobalAlpha (NVGcontext *ctx, float alpha) |
| void | nvgGlobalTint (NVGcontext *ctx, NVGcolor tint) |
| NVGcolor | nvgGetGlobalTint (NVGcontext *ctx) |
| void | nvgAlpha (NVGcontext *ctx, float alpha) |
| void | nvgTint (NVGcontext *ctx, NVGcolor tint) |
| void | nvgResetTransform (NVGcontext *ctx) |
| void | nvgTransform (NVGcontext *ctx, float a, float b, float c, float d, float e, float f) |
| void | nvgTranslate (NVGcontext *ctx, float x, float y) |
| void | nvgRotate (NVGcontext *ctx, float angle) |
| void | nvgSkewX (NVGcontext *ctx, float angle) |
| void | nvgSkewY (NVGcontext *ctx, float angle) |
| void | nvgScale (NVGcontext *ctx, float x, float y) |
| void | nvgCurrentTransform (NVGcontext *ctx, float *xform) |
| void | nvgTransformIdentity (float *dst) |
| void | nvgTransformTranslate (float *dst, float tx, float ty) |
| void | nvgTransformScale (float *dst, float sx, float sy) |
| void | nvgTransformRotate (float *dst, float a) |
| void | nvgTransformSkewX (float *dst, float a) |
| void | nvgTransformSkewY (float *dst, float a) |
| void | nvgTransformMultiply (float *dst, const float *src) |
| void | nvgTransformPremultiply (float *dst, const float *src) |
| int | nvgTransformInverse (float *dst, const float *src) |
| void | nvgTransformPoint (float *dstx, float *dsty, const float *xform, float srcx, float srcy) |
| float | nvgDegToRad (float deg) |
| float | nvgRadToDeg (float rad) |
| int | nvgCreateImage (NVGcontext *ctx, const char *filename, int imageFlags) |
| int | nvgCreateImageMem (NVGcontext *ctx, int imageFlags, unsigned char *data, int ndata) |
| int | nvgCreateImageRaw (NVGcontext *ctx, int w, int h, int imageFlags, enum NVGtexture format, const unsigned char *data) |
| int | nvgCreateImageRGBA (NVGcontext *ctx, int w, int h, int imageFlags, const unsigned char *data) |
| void | nvgUpdateImage (NVGcontext *ctx, int image, const unsigned char *data) |
| void | nvgImageSize (NVGcontext *ctx, int image, int *w, int *h) |
| void | nvgDeleteImage (NVGcontext *ctx, int image) |
| NVGpaint | nvgLinearGradient (NVGcontext *ctx, float sx, float sy, float ex, float ey, NVGcolor icol, NVGcolor ocol) |
| NVGpaint | nvgBoxGradient (NVGcontext *ctx, float x, float y, float w, float h, float r, float f, NVGcolor icol, NVGcolor ocol) |
| NVGpaint | nvgRadialGradient (NVGcontext *ctx, float cx, float cy, float inr, float outr, NVGcolor icol, NVGcolor ocol) |
| NVGpaint | nvgImagePattern (NVGcontext *ctx, float ox, float oy, float ex, float ey, float angle, int image, float alpha) |
| void | nvgScissor (NVGcontext *ctx, float x, float y, float w, float h) |
| void | nvgIntersectScissor (NVGcontext *ctx, float x, float y, float w, float h) |
| void | nvgResetScissor (NVGcontext *ctx) |
| void | nvgBeginPath (NVGcontext *ctx) |
| void | nvgMoveTo (NVGcontext *ctx, float x, float y) |
| void | nvgLineTo (NVGcontext *ctx, float x, float y) |
| void | nvgBezierTo (NVGcontext *ctx, float c1x, float c1y, float c2x, float c2y, float x, float y) |
| void | nvgQuadTo (NVGcontext *ctx, float cx, float cy, float x, float y) |
| void | nvgArcTo (NVGcontext *ctx, float x1, float y1, float x2, float y2, float radius) |
| void | nvgClosePath (NVGcontext *ctx) |
| void | nvgPathWinding (NVGcontext *ctx, int dir) |
| void | nvgArc (NVGcontext *ctx, float cx, float cy, float r, float a0, float a1, int dir) |
| void | nvgRect (NVGcontext *ctx, float x, float y, float w, float h) |
| void | nvgRoundedRect (NVGcontext *ctx, float x, float y, float w, float h, float r) |
| void | nvgRoundedRectVarying (NVGcontext *ctx, float x, float y, float w, float h, float radTopLeft, float radTopRight, float radBottomRight, float radBottomLeft) |
| void | nvgEllipse (NVGcontext *ctx, float cx, float cy, float rx, float ry) |
| void | nvgCircle (NVGcontext *ctx, float cx, float cy, float r) |
| void | nvgFill (NVGcontext *ctx) |
| void | nvgStroke (NVGcontext *ctx) |
| int | nvgCreateFont (NVGcontext *ctx, const char *name, const char *filename) |
| int | nvgCreateFontAtIndex (NVGcontext *ctx, const char *name, const char *filename, const int fontIndex) |
| int | nvgCreateFontMem (NVGcontext *ctx, const char *name, unsigned char *data, int ndata, int freeData) |
| int | nvgCreateFontMemAtIndex (NVGcontext *ctx, const char *name, unsigned char *data, int ndata, int freeData, const int fontIndex) |
| int | nvgFindFont (NVGcontext *ctx, const char *name) |
| int | nvgAddFallbackFontId (NVGcontext *ctx, int baseFont, int fallbackFont) |
| int | nvgAddFallbackFont (NVGcontext *ctx, const char *baseFont, const char *fallbackFont) |
| void | nvgResetFallbackFontsId (NVGcontext *ctx, int baseFont) |
| void | nvgResetFallbackFonts (NVGcontext *ctx, const char *baseFont) |
| void | nvgFontSize (NVGcontext *ctx, float size) |
| void | nvgFontBlur (NVGcontext *ctx, float blur) |
| void | nvgTextLetterSpacing (NVGcontext *ctx, float spacing) |
| void | nvgTextLineHeight (NVGcontext *ctx, float lineHeight) |
| void | nvgTextAlign (NVGcontext *ctx, int align) |
| void | nvgFontFaceId (NVGcontext *ctx, int font) |
| void | nvgFontFace (NVGcontext *ctx, const char *font) |
| float | nvgText (NVGcontext *ctx, float x, float y, const char *string, const char *end) |
| void | nvgTextBox (NVGcontext *ctx, float x, float y, float breakRowWidth, const char *string, const char *end) |
| float | nvgTextBounds (NVGcontext *ctx, float x, float y, const char *string, const char *end, float *bounds) |
| void | nvgTextBoxBounds (NVGcontext *ctx, float x, float y, float breakRowWidth, const char *string, const char *end, float *bounds) |
| int | nvgTextGlyphPositions (NVGcontext *ctx, float x, float y, const char *string, const char *end, NVGglyphPosition *positions, int maxPositions) |
| void | nvgTextMetrics (NVGcontext *ctx, float *ascender, float *descender, float *lineh) |
| int | nvgTextBreakLines (NVGcontext *ctx, const char *string, const char *end, float breakRowWidth, NVGtextRow *rows, int maxRows) |
| NVGcontext * | nvgCreateInternal (NVGparams *params, NVGcontext *other) |
| void | nvgDeleteInternal (NVGcontext *ctx) |
| NVGparams * | nvgInternalParams (NVGcontext *ctx) |
| void | nvgDebugDumpPathCache (NVGcontext *ctx) |
| #define NVG_NOTUSED | ( | v | ) |
| #define NVG_PI 3.14159265358979323846264338327f |
| typedef struct NVGcolor NVGcolor |
| typedef struct NVGcompositeOperationState NVGcompositeOperationState |
| typedef struct NVGcontext NVGcontext |
| typedef struct NVGglyphPosition NVGglyphPosition |
| typedef struct NVGpaint NVGpaint |
| typedef struct NVGparams NVGparams |
| typedef struct NVGpath NVGpath |
| typedef struct NVGscissor NVGscissor |
| typedef struct NVGtextRow NVGtextRow |
| typedef struct NVGvertex NVGvertex |
| enum NVGalign |
| enum NVGblendFactor |
| enum NVGimageFlags |
| enum NVGlineCap |
| enum NVGsolidity |
| enum NVGtexture |
| enum NVGwinding |
| int nvgAddFallbackFont | ( | NVGcontext * | ctx, |
| const char * | baseFont, | ||
| const char * | fallbackFont ) |
| int nvgAddFallbackFontId | ( | NVGcontext * | ctx, |
| int | baseFont, | ||
| int | fallbackFont ) |
| void nvgAlpha | ( | NVGcontext * | ctx, |
| float | alpha ) |
| void nvgArc | ( | NVGcontext * | ctx, |
| float | cx, | ||
| float | cy, | ||
| float | r, | ||
| float | a0, | ||
| float | a1, | ||
| int | dir ) |
| void nvgArcTo | ( | NVGcontext * | ctx, |
| float | x1, | ||
| float | y1, | ||
| float | x2, | ||
| float | y2, | ||
| float | radius ) |
| void nvgBeginFrame | ( | NVGcontext * | ctx, |
| float | windowWidth, | ||
| float | windowHeight, | ||
| float | devicePixelRatio ) |
| void nvgBeginPath | ( | NVGcontext * | ctx | ) |
| void nvgBezierTo | ( | NVGcontext * | ctx, |
| float | c1x, | ||
| float | c1y, | ||
| float | c2x, | ||
| float | c2y, | ||
| float | x, | ||
| float | y ) |
| NVGpaint nvgBoxGradient | ( | NVGcontext * | ctx, |
| float | x, | ||
| float | y, | ||
| float | w, | ||
| float | h, | ||
| float | r, | ||
| float | f, | ||
| NVGcolor | icol, | ||
| NVGcolor | ocol ) |
| void nvgCancelFrame | ( | NVGcontext * | ctx | ) |
| void nvgCircle | ( | NVGcontext * | ctx, |
| float | cx, | ||
| float | cy, | ||
| float | r ) |
| void nvgClosePath | ( | NVGcontext * | ctx | ) |
| int nvgCreateFont | ( | NVGcontext * | ctx, |
| const char * | name, | ||
| const char * | filename ) |
| int nvgCreateFontAtIndex | ( | NVGcontext * | ctx, |
| const char * | name, | ||
| const char * | filename, | ||
| const int | fontIndex ) |
| int nvgCreateFontMem | ( | NVGcontext * | ctx, |
| const char * | name, | ||
| unsigned char * | data, | ||
| int | ndata, | ||
| int | freeData ) |
| int nvgCreateFontMemAtIndex | ( | NVGcontext * | ctx, |
| const char * | name, | ||
| unsigned char * | data, | ||
| int | ndata, | ||
| int | freeData, | ||
| const int | fontIndex ) |
| int nvgCreateImage | ( | NVGcontext * | ctx, |
| const char * | filename, | ||
| int | imageFlags ) |
| int nvgCreateImageMem | ( | NVGcontext * | ctx, |
| int | imageFlags, | ||
| unsigned char * | data, | ||
| int | ndata ) |
| int nvgCreateImageRaw | ( | NVGcontext * | ctx, |
| int | w, | ||
| int | h, | ||
| int | imageFlags, | ||
| enum NVGtexture | format, | ||
| const unsigned char * | data ) |
| int nvgCreateImageRGBA | ( | NVGcontext * | ctx, |
| int | w, | ||
| int | h, | ||
| int | imageFlags, | ||
| const unsigned char * | data ) |
| NVGcontext * nvgCreateInternal | ( | NVGparams * | params, |
| NVGcontext * | other ) |
| void nvgCurrentTransform | ( | NVGcontext * | ctx, |
| float * | xform ) |
| void nvgDebugDumpPathCache | ( | NVGcontext * | ctx | ) |
| float nvgDegToRad | ( | float | deg | ) |
| void nvgDeleteImage | ( | NVGcontext * | ctx, |
| int | image ) |
| void nvgDeleteInternal | ( | NVGcontext * | ctx | ) |
| void nvgEllipse | ( | NVGcontext * | ctx, |
| float | cx, | ||
| float | cy, | ||
| float | rx, | ||
| float | ry ) |
| void nvgEndFrame | ( | NVGcontext * | ctx | ) |
| void nvgFill | ( | NVGcontext * | ctx | ) |
| void nvgFillColor | ( | NVGcontext * | ctx, |
| NVGcolor | color ) |
| void nvgFillPaint | ( | NVGcontext * | ctx, |
| NVGpaint | paint ) |
| int nvgFindFont | ( | NVGcontext * | ctx, |
| const char * | name ) |
| void nvgFontBlur | ( | NVGcontext * | ctx, |
| float | blur ) |
| void nvgFontFace | ( | NVGcontext * | ctx, |
| const char * | font ) |
| void nvgFontFaceId | ( | NVGcontext * | ctx, |
| int | font ) |
| void nvgFontSize | ( | NVGcontext * | ctx, |
| float | size ) |
| NVGcolor nvgGetGlobalTint | ( | NVGcontext * | ctx | ) |
| void nvgGlobalAlpha | ( | NVGcontext * | ctx, |
| float | alpha ) |
| void nvgGlobalCompositeBlendFunc | ( | NVGcontext * | ctx, |
| int | sfactor, | ||
| int | dfactor ) |
| void nvgGlobalCompositeBlendFuncSeparate | ( | NVGcontext * | ctx, |
| int | srcRGB, | ||
| int | dstRGB, | ||
| int | srcAlpha, | ||
| int | dstAlpha ) |
| void nvgGlobalCompositeOperation | ( | NVGcontext * | ctx, |
| int | op ) |
| void nvgGlobalTint | ( | NVGcontext * | ctx, |
| NVGcolor | tint ) |
| NVGcolor nvgHSL | ( | float | h, |
| float | s, | ||
| float | l ) |
| NVGcolor nvgHSLA | ( | float | h, |
| float | s, | ||
| float | l, | ||
| unsigned char | a ) |
| NVGpaint nvgImagePattern | ( | NVGcontext * | ctx, |
| float | ox, | ||
| float | oy, | ||
| float | ex, | ||
| float | ey, | ||
| float | angle, | ||
| int | image, | ||
| float | alpha ) |
| void nvgImageSize | ( | NVGcontext * | ctx, |
| int | image, | ||
| int * | w, | ||
| int * | h ) |
| NVGparams * nvgInternalParams | ( | NVGcontext * | ctx | ) |
| void nvgIntersectScissor | ( | NVGcontext * | ctx, |
| float | x, | ||
| float | y, | ||
| float | w, | ||
| float | h ) |
| NVGpaint nvgLinearGradient | ( | NVGcontext * | ctx, |
| float | sx, | ||
| float | sy, | ||
| float | ex, | ||
| float | ey, | ||
| NVGcolor | icol, | ||
| NVGcolor | ocol ) |
| void nvgLineCap | ( | NVGcontext * | ctx, |
| int | cap ) |
| void nvgLineJoin | ( | NVGcontext * | ctx, |
| int | join ) |
| void nvgLineTo | ( | NVGcontext * | ctx, |
| float | x, | ||
| float | y ) |
| void nvgMiterLimit | ( | NVGcontext * | ctx, |
| float | limit ) |
| void nvgMoveTo | ( | NVGcontext * | ctx, |
| float | x, | ||
| float | y ) |
| void nvgPathWinding | ( | NVGcontext * | ctx, |
| int | dir ) |
| void nvgQuadTo | ( | NVGcontext * | ctx, |
| float | cx, | ||
| float | cy, | ||
| float | x, | ||
| float | y ) |
| NVGpaint nvgRadialGradient | ( | NVGcontext * | ctx, |
| float | cx, | ||
| float | cy, | ||
| float | inr, | ||
| float | outr, | ||
| NVGcolor | icol, | ||
| NVGcolor | ocol ) |
| float nvgRadToDeg | ( | float | rad | ) |
| void nvgRect | ( | NVGcontext * | ctx, |
| float | x, | ||
| float | y, | ||
| float | w, | ||
| float | h ) |
| void nvgReset | ( | NVGcontext * | ctx | ) |
| void nvgResetFallbackFonts | ( | NVGcontext * | ctx, |
| const char * | baseFont ) |
| void nvgResetFallbackFontsId | ( | NVGcontext * | ctx, |
| int | baseFont ) |
| void nvgResetScissor | ( | NVGcontext * | ctx | ) |
| void nvgResetTransform | ( | NVGcontext * | ctx | ) |
| void nvgRestore | ( | NVGcontext * | ctx | ) |
| NVGcolor nvgRGB | ( | unsigned char | r, |
| unsigned char | g, | ||
| unsigned char | b ) |
| NVGcolor nvgRGBA | ( | unsigned char | r, |
| unsigned char | g, | ||
| unsigned char | b, | ||
| unsigned char | a ) |
| NVGcolor nvgRGBAf | ( | float | r, |
| float | g, | ||
| float | b, | ||
| float | a ) |
| NVGcolor nvgRGBf | ( | float | r, |
| float | g, | ||
| float | b ) |
| void nvgRotate | ( | NVGcontext * | ctx, |
| float | angle ) |
| void nvgRoundedRect | ( | NVGcontext * | ctx, |
| float | x, | ||
| float | y, | ||
| float | w, | ||
| float | h, | ||
| float | r ) |
| void nvgRoundedRectVarying | ( | NVGcontext * | ctx, |
| float | x, | ||
| float | y, | ||
| float | w, | ||
| float | h, | ||
| float | radTopLeft, | ||
| float | radTopRight, | ||
| float | radBottomRight, | ||
| float | radBottomLeft ) |
| void nvgSave | ( | NVGcontext * | ctx | ) |
| void nvgScale | ( | NVGcontext * | ctx, |
| float | x, | ||
| float | y ) |
| void nvgScissor | ( | NVGcontext * | ctx, |
| float | x, | ||
| float | y, | ||
| float | w, | ||
| float | h ) |
| void nvgShapeAntiAlias | ( | NVGcontext * | ctx, |
| int | enabled ) |
| void nvgSkewX | ( | NVGcontext * | ctx, |
| float | angle ) |
| void nvgSkewY | ( | NVGcontext * | ctx, |
| float | angle ) |
| void nvgStroke | ( | NVGcontext * | ctx | ) |
| void nvgStrokeColor | ( | NVGcontext * | ctx, |
| NVGcolor | color ) |
| void nvgStrokePaint | ( | NVGcontext * | ctx, |
| NVGpaint | paint ) |
| void nvgStrokeWidth | ( | NVGcontext * | ctx, |
| float | size ) |
| float nvgText | ( | NVGcontext * | ctx, |
| float | x, | ||
| float | y, | ||
| const char * | string, | ||
| const char * | end ) |
| void nvgTextAlign | ( | NVGcontext * | ctx, |
| int | align ) |
| float nvgTextBounds | ( | NVGcontext * | ctx, |
| float | x, | ||
| float | y, | ||
| const char * | string, | ||
| const char * | end, | ||
| float * | bounds ) |
| void nvgTextBox | ( | NVGcontext * | ctx, |
| float | x, | ||
| float | y, | ||
| float | breakRowWidth, | ||
| const char * | string, | ||
| const char * | end ) |
| void nvgTextBoxBounds | ( | NVGcontext * | ctx, |
| float | x, | ||
| float | y, | ||
| float | breakRowWidth, | ||
| const char * | string, | ||
| const char * | end, | ||
| float * | bounds ) |
| int nvgTextBreakLines | ( | NVGcontext * | ctx, |
| const char * | string, | ||
| const char * | end, | ||
| float | breakRowWidth, | ||
| NVGtextRow * | rows, | ||
| int | maxRows ) |
| int nvgTextGlyphPositions | ( | NVGcontext * | ctx, |
| float | x, | ||
| float | y, | ||
| const char * | string, | ||
| const char * | end, | ||
| NVGglyphPosition * | positions, | ||
| int | maxPositions ) |
| void nvgTextLetterSpacing | ( | NVGcontext * | ctx, |
| float | spacing ) |
| void nvgTextLineHeight | ( | NVGcontext * | ctx, |
| float | lineHeight ) |
| void nvgTextMetrics | ( | NVGcontext * | ctx, |
| float * | ascender, | ||
| float * | descender, | ||
| float * | lineh ) |
| void nvgTint | ( | NVGcontext * | ctx, |
| NVGcolor | tint ) |
| void nvgTransform | ( | NVGcontext * | ctx, |
| float | a, | ||
| float | b, | ||
| float | c, | ||
| float | d, | ||
| float | e, | ||
| float | f ) |
| void nvgTransformIdentity | ( | float * | dst | ) |
| void nvgTransformRotate | ( | float * | dst, |
| float | a ) |
| void nvgTransformScale | ( | float * | dst, |
| float | sx, | ||
| float | sy ) |
| void nvgTransformSkewX | ( | float * | dst, |
| float | a ) |
| void nvgTransformSkewY | ( | float * | dst, |
| float | a ) |
| void nvgTransformTranslate | ( | float * | dst, |
| float | tx, | ||
| float | ty ) |
| void nvgTranslate | ( | NVGcontext * | ctx, |
| float | x, | ||
| float | y ) |
| void nvgUpdateImage | ( | NVGcontext * | ctx, |
| int | image, | ||
| const unsigned char * | data ) |