bgfx_extras.nanovg

Undocumented in source.

Members

Enums

NVGalign
enum NVGalign
Undocumented in source.
NVGimageFlags
enum NVGimageFlags
Undocumented in source.
NVGlineCap
enum NVGlineCap
Undocumented in source.
NVGsolidity
enum NVGsolidity
Undocumented in source.
NVGtexture
enum NVGtexture
Undocumented in source.
NVGwinding
enum NVGwinding
Undocumented in source.

Functions

nvgArc
void nvgArc(NVGcontext* ctx, float cx, float cy, float r, float a0, float a1, int 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* ctx, 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* ctx, 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* ctx)
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* ctx, 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* ctx, 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* ctx)
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* ctx, 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* ctx)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
nvgCreate
NVGcontext* nvgCreate(int edgeaa, ubyte _viewId, AllocatorI* _allocator)
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* ctx, 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* ctx, const(char)* name, ubyte* 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* ctx, 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* ctx, int imageFlags, ubyte* 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* ctx, int w, int h, int imageFlags, const(ubyte)* 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* ctx, 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* ctx)
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.
nvgDelete
void nvgDelete(NVGcontext* ctx)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
nvgDeleteImage
void nvgDeleteImage(NVGcontext* ctx, 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* ctx)
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* ctx, 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* ctx)
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* ctx)
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* ctx, 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* ctx, 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* ctx, 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
void nvgFontBlur(NVGcontext* ctx, 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
void nvgFontFace(NVGcontext* ctx, 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
void nvgFontFaceId(NVGcontext* ctx, 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
void nvgFontSize(NVGcontext* ctx, 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* ctx, 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, ubyte 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* ctx, 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
void nvgImageSize(NVGcontext* ctx, 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* ctx)
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* ctx, 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* ctx, 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* ctx, 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* ctx, 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* ctx, 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* ctx, 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* ctx, 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* ctx, int 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* ctx, 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(ubyte r, ubyte g, ubyte 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(ubyte r, ubyte g, ubyte b, ubyte 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* ctx, 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* ctx, 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* ctx)
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* ctx)
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* ctx)
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* ctx)
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* ctx, 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* ctx, 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* ctx)
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* ctx, 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* ctx, 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* ctx, 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* ctx, 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* ctx)
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* ctx, 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* ctx, 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* ctx, 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* ctx, 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
void nvgTextAlign(NVGcontext* ctx, int 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* ctx, 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* ctx, 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* ctx, 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* ctx, 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* ctx, 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
void nvgTextLetterSpacing(NVGcontext* ctx, 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
void nvgTextLineHeight(NVGcontext* ctx, 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* ctx, 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, ubyte 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* ctx, 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* ctx, 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
void nvgUpdateImage(NVGcontext* ctx, int image, const(ubyte)* data)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
nvgViewId
void nvgViewId(NVGcontext* ctx, ubyte _viewId)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Manifest constants

NVG_MAX_FONTIMAGES
enum NVG_MAX_FONTIMAGES;
Undocumented in source.
NVG_MAX_STATES
enum NVG_MAX_STATES;
Undocumented in source.
NVG_PI
enum NVG_PI;
Undocumented in source.

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.
NVGpathCache
struct NVGpathCache
Undocumented in source.
NVGpoint
struct NVGpoint
Undocumented in source.
NVGscissor
struct NVGscissor
Undocumented in source.
NVGstate
struct NVGstate
Undocumented in source.
NVGtextRow
struct NVGtextRow
Undocumented in source.
NVGvertex
struct NVGvertex
Undocumented in source.

Meta