|
| static float | nvg__sqrtf (float a) |
| static float | nvg__modf (float a, float b) |
| static float | nvg__sinf (float a) |
| static float | nvg__cosf (float a) |
| static float | nvg__tanf (float a) |
| static float | nvg__atan2f (float a, float b) |
| static float | nvg__acosf (float a) |
| static int | nvg__mini (int a, int b) |
| static int | nvg__maxi (int a, int b) |
| static int | nvg__clampi (int a, int mn, int mx) |
| static float | nvg__minf (float a, float b) |
| static float | nvg__maxf (float a, float b) |
| static float | nvg__absf (float a) |
| static float | nvg__signf (float a) |
| static float | nvg__clampf (float a, float mn, float mx) |
| static float | nvg__cross (float dx0, float dy0, float dx1, float dy1) |
| static float | nvg__normalize (float *x, float *y) |
| static void | nvg__deletePathCache (NVGpathCache *c) |
| static NVGpathCache * | nvg__allocPathCache (void) |
| static void | nvg__setDevicePixelRatio (NVGcontext *ctx, float ratio) |
| static NVGcompositeOperationState | nvg__compositeOperationState (int op) |
| static NVGstate * | nvg__getState (NVGcontext *ctx) |
| NVGcontext * | nvgCreateInternal (NVGparams *params, NVGcontext *other) |
| NVGparams * | nvgInternalParams (NVGcontext *ctx) |
| void | nvgDeleteInternal (NVGcontext *ctx) |
| void | nvgBeginFrame (NVGcontext *ctx, float windowWidth, float windowHeight, float devicePixelRatio) |
| void | nvgCancelFrame (NVGcontext *ctx) |
| void | nvgEndFrame (NVGcontext *ctx) |
| 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 | nvgTransRGBA (NVGcolor c, unsigned char a) |
| NVGcolor | nvgTransRGBAf (NVGcolor c, float a) |
| NVGcolor | nvgLerpRGBA (NVGcolor c0, NVGcolor c1, float u) |
| NVGcolor | nvgHSL (float h, float s, float l) |
| static float | nvg__hue (float h, float m1, float m2) |
| NVGcolor | nvgHSLA (float h, float s, float l, unsigned char a) |
| void | nvgTransformIdentity (float *t) |
| void | nvgTransformTranslate (float *t, float tx, float ty) |
| void | nvgTransformScale (float *t, float sx, float sy) |
| void | nvgTransformRotate (float *t, float a) |
| void | nvgTransformSkewX (float *t, float a) |
| void | nvgTransformSkewY (float *t, float a) |
| void | nvgTransformMultiply (float *t, const float *s) |
| void | nvgTransformPremultiply (float *t, const float *s) |
| int | nvgTransformInverse (float *inv, const float *t) |
| void | nvgTransformPoint (float *dx, float *dy, const float *t, float sx, float sy) |
| float | nvgDegToRad (float deg) |
| float | nvgRadToDeg (float rad) |
| static void | nvg__setPaintColor (NVGpaint *p, NVGcolor color) |
| void | nvgSave (NVGcontext *ctx) |
| void | nvgRestore (NVGcontext *ctx) |
| void | nvgReset (NVGcontext *ctx) |
| void | nvgShapeAntiAlias (NVGcontext *ctx, int enabled) |
| void | nvgStrokeWidth (NVGcontext *ctx, float width) |
| void | nvgMiterLimit (NVGcontext *ctx, float limit) |
| 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 | nvgTransform (NVGcontext *ctx, float a, float b, float c, float d, float e, float f) |
| void | nvgResetTransform (NVGcontext *ctx) |
| 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 | nvgStrokeColor (NVGcontext *ctx, NVGcolor color) |
| void | nvgStrokePaint (NVGcontext *ctx, NVGpaint paint) |
| void | nvgFillColor (NVGcontext *ctx, NVGcolor color) |
| void | nvgFillPaint (NVGcontext *ctx, NVGpaint paint) |
| 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, 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 | nvgRadialGradient (NVGcontext *ctx, float cx, float cy, float inr, float outr, 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 | nvgImagePattern (NVGcontext *ctx, float cx, float cy, float w, float h, float angle, int image, float alpha) |
| void | nvgScissor (NVGcontext *ctx, float x, float y, float w, float h) |
| static void | nvg__isectRects (float *dst, float ax, float ay, float aw, float ah, float bx, float by, float bw, float bh) |
| void | nvgIntersectScissor (NVGcontext *ctx, float x, float y, float w, float h) |
| void | nvgResetScissor (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) |
| static int | nvg__ptEquals (float x1, float y1, float x2, float y2, float tol) |
| static float | nvg__distPtSeg (float x, float y, float px, float py, float qx, float qy) |
| static void | nvg__appendCommands (NVGcontext *ctx, float *vals, int nvals) |
| static void | nvg__clearPathCache (NVGcontext *ctx) |
| static NVGpath * | nvg__lastPath (NVGcontext *ctx) |
| static void | nvg__addPath (NVGcontext *ctx) |
| static NVGpoint * | nvg__lastPoint (NVGcontext *ctx) |
| static void | nvg__addPoint (NVGcontext *ctx, float x, float y, int flags) |
| static void | nvg__closePath (NVGcontext *ctx) |
| static void | nvg__pathWinding (NVGcontext *ctx, int winding) |
| static float | nvg__getAverageScale (float *t) |
| static NVGvertex * | nvg__allocTempVerts (NVGcontext *ctx, int nverts) |
| static float | nvg__triarea2 (float ax, float ay, float bx, float by, float cx, float cy) |
| static float | nvg__polyArea (NVGpoint *pts, int npts) |
| static void | nvg__polyReverse (NVGpoint *pts, int npts) |
| static void | nvg__vset (NVGvertex *vtx, float x, float y, float u, float v) |
| static void | nvg__tesselateBezier (NVGcontext *ctx, float x1, float y1, float x2, float y2, float x3, float y3, float x4, float y4, int level, int type) |
| static void | nvg__flattenPaths (NVGcontext *ctx) |
| static int | nvg__curveDivs (float r, float arc, float tol) |
| static void | nvg__chooseBevel (int bevel, NVGpoint *p0, NVGpoint *p1, float w, float *x0, float *y0, float *x1, float *y1) |
| static NVGvertex * | nvg__roundJoin (NVGvertex *dst, NVGpoint *p0, NVGpoint *p1, float lw, float rw, float lu, float ru, int ncap, float fringe) |
| static NVGvertex * | nvg__bevelJoin (NVGvertex *dst, NVGpoint *p0, NVGpoint *p1, float lw, float rw, float lu, float ru, float fringe) |
| static NVGvertex * | nvg__buttCapStart (NVGvertex *dst, NVGpoint *p, float dx, float dy, float w, float d, float aa, float u0, float u1) |
| static NVGvertex * | nvg__buttCapEnd (NVGvertex *dst, NVGpoint *p, float dx, float dy, float w, float d, float aa, float u0, float u1) |
| static NVGvertex * | nvg__roundCapStart (NVGvertex *dst, NVGpoint *p, float dx, float dy, float w, int ncap, float aa, float u0, float u1) |
| static NVGvertex * | nvg__roundCapEnd (NVGvertex *dst, NVGpoint *p, float dx, float dy, float w, int ncap, float aa, float u0, float u1) |
| static void | nvg__calculateJoins (NVGcontext *ctx, float w, int lineJoin, float miterLimit) |
| static int | nvg__expandStroke (NVGcontext *ctx, float w, float fringe, int lineCap, int lineJoin, float miterLimit) |
| static int | nvg__expandFill (NVGcontext *ctx, float w, int lineJoin, float miterLimit) |
| 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 | nvgDebugDumpPathCache (NVGcontext *ctx) |
| 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) |
| static float | nvg__quantize (float a, float d) |
| static float | nvg__getFontScale (NVGstate *state) |
| static void | nvg__flushTextTexture (NVGcontext *ctx) |
| static int | nvg__allocTextAtlas (NVGcontext *ctx) |
| static void | nvg__renderText (NVGcontext *ctx, NVGvertex *verts, int nverts) |
| static int | nvg__isTransformFlipped (const float *xform) |
| 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) |
| int | nvgTextGlyphPositions (NVGcontext *ctx, float x, float y, const char *string, const char *end, NVGglyphPosition *positions, int maxPositions) |
| int | nvgTextBreakLines (NVGcontext *ctx, const char *string, const char *end, float breakRowWidth, NVGtextRow *rows, int maxRows) |
| 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) |
| void | nvgTextMetrics (NVGcontext *ctx, float *ascender, float *descender, float *lineh) |