nanovg.h

Undocumented in source.

Members

Aliases

NVGalign
alias NVGalign = int
Undocumented in source.
NVGimageFlags
alias NVGimageFlags = int
Undocumented in source.
NVGlineCap
alias NVGlineCap = int
Undocumented in source.
NVGsolidity
alias NVGsolidity = int
Undocumented in source.
NVGtexture
alias NVGtexture = uint
Undocumented in source.
NVGwinding
alias NVGwinding = int
Undocumented in source.

Enums

NVG_ALIGN_LEFT
anonymousenum NVG_ALIGN_LEFT
Undocumented in source.
NVG_BUTT
anonymousenum NVG_BUTT
Undocumented in source.
NVG_CCW
anonymousenum NVG_CCW
Undocumented in source.
NVG_IMAGE_GENERATE_MIPMAPS
anonymousenum NVG_IMAGE_GENERATE_MIPMAPS
Undocumented in source.
NVG_SOLID
anonymousenum NVG_SOLID
Undocumented in source.
NVG_TEXTURE_ALPHA
anonymousenum NVG_TEXTURE_ALPHA
Undocumented in source.

Functions

nvgArc
void nvgArc(NVGcontext* pContext, float cx, float cy, float r, float a0, float a1, NVGwinding dir)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
nvgArcTo
void nvgArcTo(NVGcontext* pContext, float x1, float y1, float x2, float y2, float radius)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
nvgBeginFrame
void nvgBeginFrame(NVGcontext* pContext, int windowWidth, int windowHeight, float devicePixelRatio)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
nvgBeginPath
void nvgBeginPath(NVGcontext* pContext)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
nvgBezierTo
void nvgBezierTo(NVGcontext* pContext, float c1x, float c1y, float c2x, float c2y, float x, float y)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
nvgBoxGradient
NVGpaint nvgBoxGradient(NVGcontext* pContext, float x, float y, float w, float h, float r, float f, NVGcolor icol, NVGcolor ocol)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
nvgCancelFrame
void nvgCancelFrame(NVGcontext* pContext)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
nvgCircle
void nvgCircle(NVGcontext* pContext, float cx, float cy, float r)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
nvgClosePath
void nvgClosePath(NVGcontext* pContext)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
nvgCreateFont
int nvgCreateFont(NVGcontext* pContext, const(char)* name, const(char)* filename)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
nvgCreateFontMem
int nvgCreateFontMem(NVGcontext* pContext, const(char)* name, byte* data, int ndata, int freeData)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
nvgCreateImage
int nvgCreateImage(NVGcontext* pContext, const(char)* filename, int imageFlags)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
nvgCreateImageMem
int nvgCreateImageMem(NVGcontext* pContext, int imageFlags, byte* data, int ndata)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
nvgCreateImageRGBA
int nvgCreateImageRGBA(NVGcontext* pContext, int w, int h, int imageFlags, const(byte)* data)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
nvgCreateInternal
NVGcontext* nvgCreateInternal(NVGparams* params)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
nvgCurrentTransform
void nvgCurrentTransform(NVGcontext* pContext, float* xform)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
nvgDebugDumpPathCache
void nvgDebugDumpPathCache(NVGcontext* pContext)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
nvgDegToRad
float nvgDegToRad(float deg)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
nvgDeleteImage
int nvgDeleteImage(NVGcontext* pContext, int image)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
nvgDeleteInternal
void nvgDeleteInternal(NVGcontext* pContext)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
nvgEllipse
void nvgEllipse(NVGcontext* pContext, float cx, float cy, float rx, float ry)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
nvgEndFrame
void nvgEndFrame(NVGcontext* pContext)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
nvgFill
void nvgFill(NVGcontext* pContext)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
nvgFillColor
void nvgFillColor(NVGcontext* pContext, NVGcolor color)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
nvgFillPaint
void nvgFillPaint(NVGcontext* pContext, NVGpaint paint)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
nvgFindFont
int nvgFindFont(NVGcontext* pContext, const(char)* name)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
nvgFontBlur
int nvgFontBlur(NVGcontext* pContext, float blur)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
nvgFontFace
int nvgFontFace(NVGcontext* pContext, const(char)* font)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
nvgFontFaceId
int nvgFontFaceId(NVGcontext* pContext, int font)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
nvgFontSize
int nvgFontSize(NVGcontext* pContext, float size)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
nvgGlobalAlpha
void nvgGlobalAlpha(NVGcontext* pContext, float alpha)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
nvgHSL
NVGcolor nvgHSL(float h, float s, float l)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
nvgHSLA
NVGcolor nvgHSLA(float h, float s, float l, byte a)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
nvgImagePattern
NVGpaint nvgImagePattern(NVGcontext* pContext, float ox, float oy, float ex, float ey, float angle, int image, float alpha)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
nvgImageSize
int nvgImageSize(NVGcontext* pContext, int image, int* w, int* h)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
nvgInternalParams
NVGparams* nvgInternalParams(NVGcontext* pContext)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
nvgIntersectScissor
void nvgIntersectScissor(NVGcontext* pContext, float x, float y, float w, float h)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
nvgLerpRGBA
NVGcolor nvgLerpRGBA(NVGcolor c0, NVGcolor c1, float u)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
nvgLineCap
void nvgLineCap(NVGcontext* pContext, int cap)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
nvgLineJoin
void nvgLineJoin(NVGcontext* pContext, int join)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
nvgLineTo
void nvgLineTo(NVGcontext* pContext, float x, float y)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
nvgLinearGradient
NVGpaint nvgLinearGradient(NVGcontext* pContext, float sx, float sy, float ex, float ey, NVGcolor icol, NVGcolor ocol)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
nvgMiterLimit
void nvgMiterLimit(NVGcontext* pContext, float limit)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
nvgMoveTo
void nvgMoveTo(NVGcontext* pContext, float x, float y)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
nvgPathWinding
void nvgPathWinding(NVGcontext* pContext, NVGwinding dir)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
nvgQuadTo
void nvgQuadTo(NVGcontext* pContext, float cx, float cy, float x, float y)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
nvgRGB
NVGcolor nvgRGB(byte r, byte g, byte b)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
nvgRGBA
NVGcolor nvgRGBA(byte r, byte g, byte b, byte a)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
nvgRGBAf
NVGcolor nvgRGBAf(float r, float g, float b, float a)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
nvgRGBf
NVGcolor nvgRGBf(float r, float g, float b)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
nvgRadToDeg
float nvgRadToDeg(float rad)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
nvgRadialGradient
NVGpaint nvgRadialGradient(NVGcontext* pContext, float cx, float cy, float inr, float outr, NVGcolor icol, NVGcolor ocol)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
nvgRect
void nvgRect(NVGcontext* pContext, float x, float y, float w, float h)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
nvgReset
void nvgReset(NVGcontext* pContext)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
nvgResetScissor
void nvgResetScissor(NVGcontext* pContext)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
nvgResetTransform
void nvgResetTransform(NVGcontext* pContext)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
nvgRestore
void nvgRestore(NVGcontext* pContext)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
nvgRotate
void nvgRotate(NVGcontext* pContext, float angle)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
nvgRoundedRect
void nvgRoundedRect(NVGcontext* pContext, float x, float y, float w, float h, float r)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
nvgSave
void nvgSave(NVGcontext* pContext)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
nvgScale
void nvgScale(NVGcontext* pContext, float x, float y)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
nvgScissor
void nvgScissor(NVGcontext* pContext, float x, float y, float w, float h)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
nvgSkewX
void nvgSkewX(NVGcontext* pContext, float angle)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
nvgSkewY
void nvgSkewY(NVGcontext* pContext, float angle)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
nvgStroke
void nvgStroke(NVGcontext* pContext)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
nvgStrokeColor
void nvgStrokeColor(NVGcontext* pContext, NVGcolor color)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
nvgStrokePaint
void nvgStrokePaint(NVGcontext* pContext, NVGpaint paint)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
nvgStrokeWidth
void nvgStrokeWidth(NVGcontext* pContext, float size)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
nvgText
float nvgText(NVGcontext* pContext, float x, float y, const(char)* _string, const(char)* end)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
nvgTextAlign
int nvgTextAlign(NVGcontext* pContext, NVGalign _align)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
nvgTextBounds
float nvgTextBounds(NVGcontext* pContext, float x, float y, const(char)* _string, const(char)* end, float* bounds)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
nvgTextBox
void nvgTextBox(NVGcontext* pContext, float x, float y, float breakRowWidth, const(char)* _string, const(char)* end)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
nvgTextBoxBounds
void nvgTextBoxBounds(NVGcontext* pContext, float x, float y, float breakRowWidth, const(char)* _string, const(char)* end, float* bounds)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
nvgTextBreakLines
int nvgTextBreakLines(NVGcontext* pContext, const(char)* _string, const(char)* end, float breakRowWidth, NVGtextRow* rows, int maxRows)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
nvgTextGlyphPositions
int nvgTextGlyphPositions(NVGcontext* pContext, float x, float y, const(char)* _string, const(char)* end, NVGglyphPosition* positions, int maxPositions)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
nvgTextLetterSpacing
int nvgTextLetterSpacing(NVGcontext* pContext, float spacing)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
nvgTextLineHeight
int nvgTextLineHeight(NVGcontext* pContext, float lineHeight)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
nvgTextMetrics
void nvgTextMetrics(NVGcontext* pContext, float* ascender, float* descender, float* lineh)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
nvgTransRGBA
NVGcolor nvgTransRGBA(NVGcolor c0, byte a)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
nvgTransRGBAf
NVGcolor nvgTransRGBAf(NVGcolor c0, float a)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
nvgTransform
void nvgTransform(NVGcontext* pContext, float a, float b, float c, float d, float e, float f)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
nvgTransformIdentity
void nvgTransformIdentity(float* dst)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
nvgTransformInverse
int nvgTransformInverse(float* dst, const(float)* src)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
nvgTransformMultiply
void nvgTransformMultiply(float* dst, const(float)* src)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
nvgTransformPoint
void nvgTransformPoint(float* dstx, float* dsty, const(float)* xform, float srcx, float srcy)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
nvgTransformPremultiply
void nvgTransformPremultiply(float* dst, const(float)* src)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
nvgTransformRotate
void nvgTransformRotate(float* dst, float a)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
nvgTransformScale
void nvgTransformScale(float* dst, float sx, float sy)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
nvgTransformSkewX
void nvgTransformSkewX(float* dst, float a)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
nvgTransformSkewY
void nvgTransformSkewY(float* dst, float a)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
nvgTransformTranslate
void nvgTransformTranslate(float* dst, float tx, float ty)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
nvgTranslate
void nvgTranslate(NVGcontext* pContext, float x, float y)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
nvgUpdateImage
int nvgUpdateImage(NVGcontext* pContext, int image, const(byte)* data)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Structs

NVGcolor
struct NVGcolor
Undocumented in source.
NVGcontext
struct NVGcontext
Undocumented in source.
NVGglyphPosition
struct NVGglyphPosition
Undocumented in source.
NVGpaint
struct NVGpaint
Undocumented in source.
NVGparams
struct NVGparams
Undocumented in source.
NVGpath
struct NVGpath
Undocumented in source.
NVGscissor
struct NVGscissor
Undocumented in source.
NVGtextRow
struct NVGtextRow
Undocumented in source.
NVGvertex
struct NVGvertex
Undocumented in source.

Meta