Package org.lwjgl.nanovg
@NullMarked
package org.lwjgl.nanovg
Contains bindings to NanoVG, a small antialiased vector graphics rendering library for OpenGL. It has
lean API modeled after HTML5 canvas API. It is aimed to be a practical and fun toolset for building scalable user interfaces and visualizations.
-
ClassesClassDescriptionContains the function pointers loaded from bgfx.
struct NSVGgradient { float xform[6]; char spread; float fx; float fy; int nstops; {@link NSVGGradientStop NSVGgradientStop} pstops[1]; }An array ofNSVGGradientstructs.struct NSVGgradientStop { unsigned int color; float offset; }An array ofNSVGGradientStopstructs.struct NSVGimage { float width; float height; {@link NSVGShape NSVGshape} * shapes; }An array ofNSVGImagestructs.struct NSVGpaint { signed char type; union { unsigned int color; {@link NSVGGradient NSVGgradient} * gradient; }; }An array ofNSVGPaintstructs.struct NSVGpath { float * pts; int npts; char closed; float bounds[4]; {@link NSVGPath NSVGpath} * next; }An array ofNSVGPathstructs.struct NSVGshape { char id[64]; {@link NSVGPaint NSVGpaint} fill; {@link NSVGPaint NSVGpaint} stroke; float opacity; float strokeWidth; float strokeDashOffset; float strokeDashArray[8]; char strokeDashCount; char strokeLineJoin; char strokeLineCap; float miterLimit; char fillRule; unsigned char flags; float bounds[4]; char fillGradient[64]; char strokeGradient[64]; float xform[6]; {@link NSVGPath NSVGpath} * paths; {@link NSVGShape NSVGshape} * next; }An array ofNSVGShapestructs.struct NVGcolor { union { float rgba[4]; struct { float r; float g; float b; float a; }; }; }An array ofNVGColorstructs.struct NVGglyphPosition { char * str; float x; float minx; float maxx; }An array ofNVGGlyphPositionstructs.struct NVGLUframebuffer { GLuint fbo; GLuint rbo; GLuint texture; int image; }An array ofNVGLUFramebufferstructs.struct NVGLUframebuffer { NVGcontext * ctx; bgfx_frame_buffer_handle_t handle; int image; bgfx_view_id_t viewId; }An array ofNVGLUFramebufferBGFXstructs.struct NVGpaint { float xform[6]; float extent[2]; float radius; float feather; {@link NVGColor NVGcolor} innerColor; {@link NVGColor NVGcolor} outerColor; int image; }An array ofNVGPaintstructs.struct NVGtextRow { char * start; char * end; char * next; float width; float minx; float maxx; }An array ofNVGTextRowstructs.