This is the bodge-nanovg Reference Manual, version 1.0.0, generated automatically by Declt version 4.0 beta 2 "William Riker" on Tue Jul 15 03:23:57 2025 GMT+0.
The main system appears first, followed by any subsystem dependency.
bodge-nanovgWrapper over nanovg library for cl-bodge system
Pavel Korolev
MIT
1.0.0
uiop (system).
alexandria (system).
cffi (system).
cffi-c-ref (system).
claw (system).
claw-utils (system).
packages.lisp (file).
gl2 (module).
gl3 (module).
nanovg.lisp (file).
nanovg-includes (module).
glad-includes (module).
Modules are listed depth-first from the system components tree.
bodge-nanovg/gl2bodge-nanovg/gl2/specbodge-nanovg/gl3bodge-nanovg/gl3/specbodge-nanovg/nanovg-includesbodge-nanovg/glad-includesbodge-nanovg/gl2:bodge-gl2
packages.lisp (file).
bodge-nanovg (system).
bodge_nanovg_gl2.h (file).
claw.lisp (file).
context.lisp (file).
spec (module).
bodge-nanovg/gl3(:not :bodge-gl2)
gl2 (module).
packages.lisp (file).
bodge-nanovg (system).
bodge_nanovg_gl3.h (file).
claw.lisp (file).
context.lisp (file).
spec (module).
bodge-nanovg/nanovg-includesnanovg.lisp (file).
bodge-nanovg (system).
bodge-nanovg/glad-includesnanovg-includes (module).
bodge-nanovg (system).
Files are sorted by type and then listed depth-first from the systems components trees.
bodge-nanovg/bodge-nanovg.asdbodge-nanovg/packages.lispbodge-nanovg/gl2/claw.lispbodge-nanovg/gl2/context.lispbodge-nanovg/gl3/claw.lispbodge-nanovg/gl3/context.lispbodge-nanovg/nanovg.lispbodge-nanovg/gl2/claw.lispbodge_nanovg_gl2.h (file).
gl2 (module).
bodge-nanovg/gl2/context.lispbodge-nanovg/gl3/claw.lispbodge_nanovg_gl3.h (file).
gl3 (module).
+bodge-nanovg-h-+ (special variable).
+nanovg-gl-h+ (special variable).
+nanovg-gl-use-state-filter+ (special variable).
+nanovg-gl3+ (special variable).
+nanovg-h+ (special variable).
+pi+ (special variable).
add-fallback-font (function).
add-fallback-font-id (function).
arc (function).
arc-to (function).
begin-frame (function).
begin-path (function).
bezier-to (function).
box-gradient (function).
cancel-frame (function).
circle (function).
close-path (function).
create-font (function).
create-font-mem (function).
create-gl3 (function).
create-image (function).
create-image-from-handle-gl3 (function).
create-image-mem (function).
create-image-rgba (function).
create-internal (function).
current-transform (function).
debug-dump-path-cache (function).
deg-to-rad (function).
delete-gl3 (function).
delete-image (function).
delete-internal (function).
ellipse (function).
end-frame (function).
fill (function).
fill-color (function).
fill-paint (function).
find-font (function).
font-blur (function).
font-face (function).
font-face-id (function).
font-size (function).
global-alpha (function).
global-composite-blend-func (function).
global-composite-blend-func-separate (function).
global-composite-operation (function).
hsl (function).
hsla (function).
image-handle-gl3 (function).
image-pattern (function).
image-size (function).
internal-params (function).
intersect-scissor (function).
lerp-rgba (function).
line-cap (function).
line-join (function).
line-to (function).
linear-gradient (function).
miter-limit (function).
move-to (function).
path-winding (function).
quad-to (function).
rad-to-deg (function).
radial-gradient (function).
rect (function).
reset (function).
reset-scissor (function).
reset-transform (function).
restore (function).
rgb (function).
rgb-f (function).
rgba (function).
rgba-f (function).
rotate (function).
rounded-rect (function).
rounded-rect-varying (function).
save (function).
scale (function).
scissor (function).
shape-anti-alias (function).
skew-x (function).
skew-y (function).
stroke (function).
stroke-color (function).
stroke-paint (function).
stroke-width (function).
text (function).
text-align (function).
text-bounds (function).
text-box (function).
text-box-bounds (function).
text-break-lines (function).
text-glyph-positions (function).
text-letter-spacing (function).
text-line-height (function).
text-metrics (function).
trans-rgb-af (function).
trans-rgba (function).
transform (function).
transform-identity (function).
transform-inverse (function).
transform-multiply (function).
transform-point (function).
transform-premultiply (function).
transform-rotate (function).
transform-scale (function).
transform-skew-x (function).
transform-skew-y (function).
transform-translate (function).
translate (function).
update-image (function).
bodge-nanovg/gl3/context.lispclaw.lisp (file).
gl3 (module).
destroy-context (function).
make-context (function).
bodge-nanovg/nanovg.lispgl3 (module).
gl2 (module).
packages.lisp (file).
bodge-nanovg (system).
destroy-image (function).
make-image (function).
make-rgba-image (function).
create-flags (function).
image-flags (function).
Packages are listed by definition order.
%nanovg%nvg
+bodge-nanovg-h-+ (special variable).
+nanovg-gl-h+ (special variable).
+nanovg-gl-use-state-filter+ (special variable).
+nanovg-gl3+ (special variable).
+nanovg-h+ (special variable).
+pi+ (special variable).
add-fallback-font (function).
add-fallback-font-id (function).
arc (function).
arc-to (function).
begin-frame (function).
begin-path (function).
bezier-to (function).
box-gradient (function).
cancel-frame (function).
circle (function).
close-path (function).
create-font (function).
create-font-mem (function).
create-gl3 (function).
create-image (function).
create-image-from-handle-gl3 (function).
create-image-mem (function).
create-image-rgba (function).
create-internal (function).
current-transform (function).
debug-dump-path-cache (function).
deg-to-rad (function).
delete-gl3 (function).
delete-image (function).
delete-internal (function).
ellipse (function).
end-frame (function).
fill (function).
fill-color (function).
fill-paint (function).
find-font (function).
font-blur (function).
font-face (function).
font-face-id (function).
font-size (function).
global-alpha (function).
global-composite-blend-func (function).
global-composite-blend-func-separate (function).
global-composite-operation (function).
hsl (function).
hsla (function).
image-handle-gl3 (function).
image-pattern (function).
image-size (function).
internal-params (function).
intersect-scissor (function).
lerp-rgba (function).
line-cap (function).
line-join (function).
line-to (function).
linear-gradient (function).
miter-limit (function).
move-to (function).
path-winding (function).
quad-to (function).
rad-to-deg (function).
radial-gradient (function).
rect (function).
reset (function).
reset-scissor (function).
reset-transform (function).
restore (function).
rgb (function).
rgb-f (function).
rgba (function).
rgba-f (function).
rotate (function).
rounded-rect (function).
rounded-rect-varying (function).
save (function).
scale (function).
scissor (function).
shape-anti-alias (function).
skew-x (function).
skew-y (function).
stroke (function).
stroke-color (function).
stroke-paint (function).
stroke-width (function).
text (function).
text-align (function).
text-bounds (function).
text-box (function).
text-box-bounds (function).
text-break-lines (function).
text-glyph-positions (function).
text-letter-spacing (function).
text-line-height (function).
text-metrics (function).
trans-rgb-af (function).
trans-rgba (function).
transform (function).
transform-identity (function).
transform-inverse (function).
transform-multiply (function).
transform-point (function).
transform-premultiply (function).
transform-rotate (function).
transform-scale (function).
transform-skew-x (function).
transform-skew-y (function).
transform-translate (function).
translate (function).
update-image (function).
nanovgnvg
alexandria.
claw.
common-lisp.
destroy-context (function).
destroy-image (function).
make-context (function).
make-image (function).
make-rgba-image (function).
create-flags (function).
image-flags (function).
Definitions are sorted by export status, category, package, and then by lexicographic order.
int nvgAddFallbackFont(NVGcontext* ctx, char* baseFont, char* fallbackFont);
int nvgAddFallbackFontId(NVGcontext* ctx, int baseFont, int fallbackFont);
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 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);
int nvgCreateFont(NVGcontext* ctx, char* name, char* filename);
int nvgCreateFontMem(NVGcontext* ctx, char* name, unsigned char* data, int ndata, int freeData);
NVGcontext* nvgCreateGL3(int flags);
int nvgCreateImage(NVGcontext* ctx, char* filename, int imageFlags);
int nvglCreateImageFromHandleGL3(NVGcontext* ctx, GLuint textureId, int w, int h, int flags);
int nvgCreateImageMem(NVGcontext* ctx, int imageFlags, unsigned char* data, int ndata);
int nvgCreateImageRGBA(NVGcontext* ctx, int w, int h, int imageFlags, unsigned char* data);
NVGcontext* nvgCreateInternal(NVGparams* params);
void nvgCurrentTransform(NVGcontext* ctx, float* xform);
void nvgDebugDumpPathCache(NVGcontext* ctx);
void nvgDeleteImage(NVGcontext* ctx, int image);
void nvgDeleteInternal(NVGcontext* ctx);
void nvgEllipse(NVGcontext* ctx, float cx, float cy, float rx, float ry);
void nvgFillColor(NVGcontext* ctx, NVGcolor color);
void nvgFillPaint(NVGcontext* ctx, NVGpaint paint);
int nvgFindFont(NVGcontext* ctx, char* name);
void nvgFontBlur(NVGcontext* ctx, float blur);
void nvgFontFace(NVGcontext* ctx, char* font);
void nvgFontFaceId(NVGcontext* ctx, int font);
void nvgFontSize(NVGcontext* ctx, float size);
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);
NVGcolor nvgHSL(float h, float s, float l);
NVGcolor nvgHSLA(float h, float s, float l, unsigned char a);
GLuint nvglImageHandleGL3(NVGcontext* ctx, int image);
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);
NVGcolor nvgLerpRGBA(NVGcolor c0, NVGcolor c1, float u);
void nvgLineCap(NVGcontext* ctx, int cap);
void nvgLineJoin(NVGcontext* ctx, int join);
void nvgLineTo(NVGcontext* ctx, float x, float y);
NVGpaint nvgLinearGradient(NVGcontext* ctx, float sx, float sy, float ex, float ey, NVGcolor icol, NVGcolor ocol);
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);
void nvgRect(NVGcontext* ctx, float x, float y, float w, float h);
void nvgResetScissor(NVGcontext* ctx);
void nvgResetTransform(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);
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 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 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, char* string, char* end);
void nvgTextAlign(NVGcontext* ctx, int align);
float nvgTextBounds(NVGcontext* ctx, float x, float y, char* string, char* end, float* bounds);
void nvgTextBox(NVGcontext* ctx, float x, float y, float breakRowWidth, char* string, char* end);
void nvgTextBoxBounds(NVGcontext* ctx, float x, float y, float breakRowWidth, char* string, char* end, float* bounds);
int nvgTextBreakLines(NVGcontext* ctx, char* string, char* end, float breakRowWidth, NVGtextRow* rows, int maxRows);
int nvgTextGlyphPositions(NVGcontext* ctx, float x, float y, char* string, 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);
NVGcolor nvgTransRGBAf(NVGcolor c0, float a);
NVGcolor nvgTransRGBA(NVGcolor c0, unsigned char a);
void nvgTransform(NVGcontext* ctx, float a, float b, float c, float d, float e, float f);
void nvgTransformIdentity(float* dst);
int nvgTransformInverse(float* dst, float* src);
void nvgTransformMultiply(float* dst, float* src);
void nvgTransformPoint(float* dstx, float* dsty, float* xform, float srcx, float srcy);
void nvgTransformPremultiply(float* dst, float* src);
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, unsigned char* data);
| Jump to: | A B C D E F G H I L M P Q R S T U |
|---|
| Jump to: | A B C D E F G H I L M P Q R S T U |
|---|
| Jump to: | +
S |
|---|
| Jump to: | +
S |
|---|
| Jump to: | %
B C F G M N P S |
|---|
| Jump to: | %
B C F G M N P S |
|---|