The bodge-nanovg Reference Manual

Table of Contents

Next: , Previous: , Up: (dir)   [Contents][Index]

The bodge-nanovg Reference Manual

This is the bodge-nanovg Reference Manual, version 1.0.0, generated automatically by Declt version 3.0 "Montgomery Scott" on Mon Apr 19 14:15:02 2021 GMT+0.


Next: , Previous: , Up: Top   [Contents][Index]

1 Introduction

Build Status Build status

bodge nanovg wrapper

Thin wrapper over NanoVG library for hardware-accelerated 2D drawing via OpenGL.

Requirements

Loading

(ql:quickload '(nanovg-blob bodge-nanovg))

Usage

Interface

All wrapped functions can be found in %nvg package. On the other hand, nvg package contains minimally lispified wrappers and utility functions.

Example

A bit verbose but simplest possible example can be found in example.lisp.

To run it, evaluate in your REPL:

(ql:quickload :bodge-nanovg/example)
(nanovg.example:run)

Next: , Previous: , Up: Top   [Contents][Index]

2 Systems

The main system appears first, followed by any subsystem dependency.


Previous: , Up: Systems   [Contents][Index]

2.1 bodge-nanovg

Author

Pavel Korolev

Contact

dev@borodust.org

License

MIT

Description

Wrapper over nanovg library for cl-bodge system

Version

1.0.0

Dependencies
Source

bodge-nanovg.asd (file)

Components

Next: , Previous: , Up: Top   [Contents][Index]

3 Modules

Modules are listed depth-first from the system components tree.


Next: , Previous: , Up: Modules   [Contents][Index]

3.1 bodge-nanovg/gl2

If Feature

bodge-gl2

Dependency

packages.lisp (file)

Parent

bodge-nanovg (system)

Location

gl2/

Components

Next: , Previous: , Up: Modules   [Contents][Index]

3.2 bodge-nanovg/gl2/spec

Dependency

context.lisp (file)

Parent

gl2 (module)

Location

gl2/spec/


Next: , Previous: , Up: Modules   [Contents][Index]

3.3 bodge-nanovg/gl3

If Feature

(not bodge-gl2)

Dependencies
Parent

bodge-nanovg (system)

Location

gl3/

Components

Next: , Previous: , Up: Modules   [Contents][Index]

3.4 bodge-nanovg/gl3/spec

Dependency

context.lisp (file)

Parent

gl3 (module)

Location

gl3/spec/


Next: , Previous: , Up: Modules   [Contents][Index]

3.5 bodge-nanovg/nanovg-includes

Dependency

nanovg.lisp (file)

Parent

bodge-nanovg (system)

Location

lib/nanovg/src/


Previous: , Up: Modules   [Contents][Index]

3.6 bodge-nanovg/glad-includes

Dependency

nanovg-includes (module)

Parent

bodge-nanovg (system)

Location

lib/glad/glad/include/


Next: , Previous: , Up: Top   [Contents][Index]

4 Files

Files are sorted by type and then listed depth-first from the systems components trees.


Next: , Previous: , Up: Files   [Contents][Index]

4.1 Lisp


Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.1 bodge-nanovg.asd

Location

/home/quickref/quicklisp/dists/quicklisp/software/bodge-nanovg-stable-git/bodge-nanovg.asd

Systems

bodge-nanovg (system)


Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.2 bodge-nanovg/packages.lisp

Parent

bodge-nanovg (system)

Location

packages.lisp

Packages

nanovg


Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.3 bodge-nanovg/gl2/claw.lisp

Dependency

bodge_nanovg_gl2.h (file)

Parent

gl2 (module)

Location

gl2/claw.lisp


Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.4 bodge-nanovg/gl2/context.lisp

Dependency

claw.lisp (file)

Parent

gl2 (module)

Location

gl2/context.lisp


Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.5 bodge-nanovg/gl3/claw.lisp

Dependency

bodge_nanovg_gl3.h (file)

Parent

gl3 (module)

Location

gl3/claw.lisp

Packages

%nanovg

Exported Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.6 bodge-nanovg/gl3/context.lisp

Dependency

claw.lisp (file)

Parent

gl3 (module)

Location

gl3/context.lisp

Exported Definitions

Previous: , Up: Lisp files   [Contents][Index]

4.1.7 bodge-nanovg/nanovg.lisp

Dependencies
Parent

bodge-nanovg (system)

Location

nanovg.lisp

Exported Definitions
Internal Definitions

Previous: , Up: Files   [Contents][Index]

4.2 Static


Next: , Previous: , Up: Static files   [Contents][Index]

4.2.1 bodge-nanovg/gl2/bodge_nanovg_gl2.h

Parent

gl2 (module)

Location

gl2/bodge_nanovg_gl2.h


Previous: , Up: Static files   [Contents][Index]

4.2.2 bodge-nanovg/gl3/bodge_nanovg_gl3.h

Parent

gl3 (module)

Location

gl3/bodge_nanovg_gl3.h


Next: , Previous: , Up: Top   [Contents][Index]

5 Packages

Packages are listed by definition order.


Next: , Previous: , Up: Packages   [Contents][Index]

5.1 nanovg

Source

packages.lisp (file)

Nickname

nvg

Use List
Exported Definitions
Internal Definitions

Previous: , Up: Packages   [Contents][Index]

5.2 %nanovg

Source

claw.lisp (file)

Nickname

%nvg

Exported Definitions

Next: , Previous: , Up: Top   [Contents][Index]

6 Definitions

Definitions are sorted by export status, category, package, and then by lexicographic order.


Next: , Previous: , Up: Definitions   [Contents][Index]

6.1 Exported definitions


Next: , Previous: , Up: Exported definitions   [Contents][Index]

6.1.1 Special variables

Special Variable: +bodge-nanovg-h-+
Package

%nanovg

Source

claw.lisp (file)

Special Variable: +nanovg-gl-h+
Package

%nanovg

Source

claw.lisp (file)

Special Variable: +nanovg-gl-use-state-filter+
Package

%nanovg

Source

claw.lisp (file)

Special Variable: +nanovg-gl3+
Package

%nanovg

Source

claw.lisp (file)

Special Variable: +nanovg-h+
Package

%nanovg

Source

claw.lisp (file)

Special Variable: +pi+
Package

%nanovg

Source

claw.lisp (file)


Previous: , Up: Exported definitions   [Contents][Index]

6.1.2 Functions

Function: add-fallback-font CTX BASE-FONT FALLBACK-FONT

int nvgAddFallbackFont(NVGcontext* ctx, char* baseFont, char* fallbackFont);

Package

%nanovg

Source

claw.lisp (file)

Function: add-fallback-font-id CTX BASE-FONT FALLBACK-FONT

int nvgAddFallbackFontId(NVGcontext* ctx, int baseFont, int fallbackFont);

Package

%nanovg

Source

claw.lisp (file)

Function: arc CTX CX CY R A0 A1 DIR

void nvgArc(NVGcontext* ctx, float cx, float cy, float r, float a0, float a1, int dir);

Package

%nanovg

Source

claw.lisp (file)

Function: arc-to CTX X1 Y1 X2 Y2 RADIUS

void nvgArcTo(NVGcontext* ctx, float x1, float y1, float x2, float y2, float radius);

Package

%nanovg

Source

claw.lisp (file)

Function: begin-frame CTX WINDOW-WIDTH WINDOW-HEIGHT DEVICE-PIXEL-RATIO

void nvgBeginFrame(NVGcontext* ctx, float windowWidth, float windowHeight, float devicePixelRatio);

Package

%nanovg

Source

claw.lisp (file)

Function: begin-path CTX

void nvgBeginPath(NVGcontext* ctx);

Package

%nanovg

Source

claw.lisp (file)

Function: bezier-to CTX C1X C1Y C2X C2Y X Y

void nvgBezierTo(NVGcontext* ctx, float c1x, float c1y, float c2x, float c2y, float x, float y);

Package

%nanovg

Source

claw.lisp (file)

Function: box-gradient RESULT CTX X Y W H R F ICOL OCOL

NVGpaint nvgBoxGradient(NVGcontext* ctx, float x, float y, float w, float h, float r, float f, NVGcolor icol, NVGcolor ocol);

Package

%nanovg

Source

claw.lisp (file)

Function: cancel-frame CTX

void nvgCancelFrame(NVGcontext* ctx);

Package

%nanovg

Source

claw.lisp (file)

Function: circle CTX CX CY R

void nvgCircle(NVGcontext* ctx, float cx, float cy, float r);

Package

%nanovg

Source

claw.lisp (file)

Function: close-path CTX

void nvgClosePath(NVGcontext* ctx);

Package

%nanovg

Source

claw.lisp (file)

Function: create-font CTX NAME FILENAME

int nvgCreateFont(NVGcontext* ctx, char* name, char* filename);

Package

%nanovg

Source

claw.lisp (file)

Function: create-font-mem CTX NAME DATA NDATA FREE-DATA

int nvgCreateFontMem(NVGcontext* ctx, char* name, unsigned char* data, int ndata, int freeData);

Package

%nanovg

Source

claw.lisp (file)

Function: create-gl3 FLAGS

NVGcontext* nvgCreateGL3(int flags);

Package

%nanovg

Source

claw.lisp (file)

Function: create-image CTX FILENAME IMAGE-FLAGS

int nvgCreateImage(NVGcontext* ctx, char* filename, int imageFlags);

Package

%nanovg

Source

claw.lisp (file)

Function: create-image-from-handle-gl3 CTX TEXTURE-ID W H FLAGS

int nvglCreateImageFromHandleGL3(NVGcontext* ctx, GLuint textureId, int w, int h, int flags);

Package

%nanovg

Source

claw.lisp (file)

Function: create-image-mem CTX IMAGE-FLAGS DATA NDATA

int nvgCreateImageMem(NVGcontext* ctx, int imageFlags, unsigned char* data, int ndata);

Package

%nanovg

Source

claw.lisp (file)

Function: create-image-rgba CTX W H IMAGE-FLAGS DATA

int nvgCreateImageRGBA(NVGcontext* ctx, int w, int h, int imageFlags, unsigned char* data);

Package

%nanovg

Source

claw.lisp (file)

Function: create-internal PARAMS

NVGcontext* nvgCreateInternal(NVGparams* params);

Package

%nanovg

Source

claw.lisp (file)

Function: current-transform CTX XFORM

void nvgCurrentTransform(NVGcontext* ctx, float* xform);

Package

%nanovg

Source

claw.lisp (file)

Function: debug-dump-path-cache CTX

void nvgDebugDumpPathCache(NVGcontext* ctx);

Package

%nanovg

Source

claw.lisp (file)

Function: deg-to-rad DEG

float nvgDegToRad(float deg);

Package

%nanovg

Source

claw.lisp (file)

Function: delete-gl3 CTX

void nvgDeleteGL3(NVGcontext* ctx);

Package

%nanovg

Source

claw.lisp (file)

Function: delete-image CTX IMAGE

void nvgDeleteImage(NVGcontext* ctx, int image);

Package

%nanovg

Source

claw.lisp (file)

Function: delete-internal CTX

void nvgDeleteInternal(NVGcontext* ctx);

Package

%nanovg

Source

claw.lisp (file)

Function: destroy-context CONTEXT
Package

nanovg

Source

context.lisp (file)

Function: destroy-image CONTEXT IMAGE
Package

nanovg

Source

nanovg.lisp (file)

Function: ellipse CTX CX CY RX RY

void nvgEllipse(NVGcontext* ctx, float cx, float cy, float rx, float ry);

Package

%nanovg

Source

claw.lisp (file)

Function: end-frame CTX

void nvgEndFrame(NVGcontext* ctx);

Package

%nanovg

Source

claw.lisp (file)

Function: fill CTX

void nvgFill(NVGcontext* ctx);

Package

%nanovg

Source

claw.lisp (file)

Function: fill-color CTX COLOR

void nvgFillColor(NVGcontext* ctx, NVGcolor color);

Package

%nanovg

Source

claw.lisp (file)

Function: fill-paint CTX PAINT

void nvgFillPaint(NVGcontext* ctx, NVGpaint paint);

Package

%nanovg

Source

claw.lisp (file)

Function: find-font CTX NAME

int nvgFindFont(NVGcontext* ctx, char* name);

Package

%nanovg

Source

claw.lisp (file)

Function: font-blur CTX BLUR

void nvgFontBlur(NVGcontext* ctx, float blur);

Package

%nanovg

Source

claw.lisp (file)

Function: font-face CTX FONT

void nvgFontFace(NVGcontext* ctx, char* font);

Package

%nanovg

Source

claw.lisp (file)

Function: font-face-id CTX FONT

void nvgFontFaceId(NVGcontext* ctx, int font);

Package

%nanovg

Source

claw.lisp (file)

Function: font-size CTX SIZE

void nvgFontSize(NVGcontext* ctx, float size);

Package

%nanovg

Source

claw.lisp (file)

Function: global-alpha CTX ALPHA

void nvgGlobalAlpha(NVGcontext* ctx, float alpha);

Package

%nanovg

Source

claw.lisp (file)

Function: global-composite-blend-func CTX SFACTOR DFACTOR

void nvgGlobalCompositeBlendFunc(NVGcontext* ctx, int sfactor, int dfactor);

Package

%nanovg

Source

claw.lisp (file)

Function: global-composite-blend-func-separate CTX SRC-RGB DST-RGB SRC-ALPHA DST-ALPHA

void nvgGlobalCompositeBlendFuncSeparate(NVGcontext* ctx, int srcRGB, int dstRGB, int srcAlpha, int dstAlpha);

Package

%nanovg

Source

claw.lisp (file)

Function: global-composite-operation CTX OP

void nvgGlobalCompositeOperation(NVGcontext* ctx, int op);

Package

%nanovg

Source

claw.lisp (file)

Function: hsl RESULT H S L

NVGcolor nvgHSL(float h, float s, float l);

Package

%nanovg

Source

claw.lisp (file)

Function: hsla RESULT H S L A

NVGcolor nvgHSLA(float h, float s, float l, unsigned char a);

Package

%nanovg

Source

claw.lisp (file)

Function: image-handle-gl3 CTX IMAGE

GLuint nvglImageHandleGL3(NVGcontext* ctx, int image);

Package

%nanovg

Source

claw.lisp (file)

Function: image-pattern RESULT CTX OX OY EX EY ANGLE IMAGE ALPHA

NVGpaint nvgImagePattern(NVGcontext* ctx, float ox, float oy, float ex, float ey, float angle, int image, float alpha);

Package

%nanovg

Source

claw.lisp (file)

Function: image-size CTX IMAGE W H

void nvgImageSize(NVGcontext* ctx, int image, int* w, int* h);

Package

%nanovg

Source

claw.lisp (file)

Function: internal-params CTX

NVGparams* nvgInternalParams(NVGcontext* ctx);

Package

%nanovg

Source

claw.lisp (file)

Function: intersect-scissor CTX X Y W H

void nvgIntersectScissor(NVGcontext* ctx, float x, float y, float w, float h);

Package

%nanovg

Source

claw.lisp (file)

Function: lerp-rgba RESULT C0 C1 U

NVGcolor nvgLerpRGBA(NVGcolor c0, NVGcolor c1, float u);

Package

%nanovg

Source

claw.lisp (file)

Function: line-cap CTX CAP

void nvgLineCap(NVGcontext* ctx, int cap);

Package

%nanovg

Source

claw.lisp (file)

Function: line-join CTX JOIN

void nvgLineJoin(NVGcontext* ctx, int join);

Package

%nanovg

Source

claw.lisp (file)

Function: line-to CTX X Y

void nvgLineTo(NVGcontext* ctx, float x, float y);

Package

%nanovg

Source

claw.lisp (file)

Function: linear-gradient RESULT CTX SX SY EX EY ICOL OCOL

NVGpaint nvgLinearGradient(NVGcontext* ctx, float sx, float sy, float ex, float ey, NVGcolor icol, NVGcolor ocol);

Package

%nanovg

Source

claw.lisp (file)

Function: make-context &rest CREATE-FLAGS
Package

nanovg

Source

context.lisp (file)

Function: make-image CONTEXT DATA-PTR DATA-SIZE &rest FLAGS
Package

nanovg

Source

nanovg.lisp (file)

Function: make-rgba-image CONTEXT WIDTH HEIGHT DATA-PTR &rest FLAGS
Package

nanovg

Source

nanovg.lisp (file)

Function: miter-limit CTX LIMIT

void nvgMiterLimit(NVGcontext* ctx, float limit);

Package

%nanovg

Source

claw.lisp (file)

Function: move-to CTX X Y

void nvgMoveTo(NVGcontext* ctx, float x, float y);

Package

%nanovg

Source

claw.lisp (file)

Function: path-winding CTX DIR

void nvgPathWinding(NVGcontext* ctx, int dir);

Package

%nanovg

Source

claw.lisp (file)

Function: quad-to CTX CX CY X Y

void nvgQuadTo(NVGcontext* ctx, float cx, float cy, float x, float y);

Package

%nanovg

Source

claw.lisp (file)

Function: rad-to-deg RAD

float nvgRadToDeg(float rad);

Package

%nanovg

Source

claw.lisp (file)

Function: radial-gradient RESULT CTX CX CY INR OUTR ICOL OCOL

NVGpaint nvgRadialGradient(NVGcontext* ctx, float cx, float cy, float inr, float outr, NVGcolor icol, NVGcolor ocol);

Package

%nanovg

Source

claw.lisp (file)

Function: rect CTX X Y W H

void nvgRect(NVGcontext* ctx, float x, float y, float w, float h);

Package

%nanovg

Source

claw.lisp (file)

Function: reset CTX

void nvgReset(NVGcontext* ctx);

Package

%nanovg

Source

claw.lisp (file)

Function: reset-scissor CTX

void nvgResetScissor(NVGcontext* ctx);

Package

%nanovg

Source

claw.lisp (file)

Function: reset-transform CTX

void nvgResetTransform(NVGcontext* ctx);

Package

%nanovg

Source

claw.lisp (file)

Function: restore CTX

void nvgRestore(NVGcontext* ctx);

Package

%nanovg

Source

claw.lisp (file)

Function: rgb RESULT R G B

NVGcolor nvgRGB(unsigned char r, unsigned char g, unsigned char b);

Package

%nanovg

Source

claw.lisp (file)

Function: rgb-f RESULT R G B

NVGcolor nvgRGBf(float r, float g, float b);

Package

%nanovg

Source

claw.lisp (file)

Function: rgba RESULT R G B A

NVGcolor nvgRGBA(unsigned char r, unsigned char g, unsigned char b, unsigned char a);

Package

%nanovg

Source

claw.lisp (file)

Function: rgba-f RESULT R G B A

NVGcolor nvgRGBAf(float r, float g, float b, float a);

Package

%nanovg

Source

claw.lisp (file)

Function: rotate CTX ANGLE

void nvgRotate(NVGcontext* ctx, float angle);

Package

%nanovg

Source

claw.lisp (file)

Function: rounded-rect CTX X Y W H R

void nvgRoundedRect(NVGcontext* ctx, float x, float y, float w, float h, float r);

Package

%nanovg

Source

claw.lisp (file)

Function: rounded-rect-varying CTX X Y W H RAD-TOP-LEFT RAD-TOP-RIGHT RAD-BOTTOM-RIGHT RAD-BOTTOM-LEFT

void nvgRoundedRectVarying(NVGcontext* ctx, float x, float y, float w, float h, float radTopLeft, float radTopRight, float radBottomRight, float radBottomLeft);

Package

%nanovg

Source

claw.lisp (file)

Function: save CTX

void nvgSave(NVGcontext* ctx);

Package

%nanovg

Source

claw.lisp (file)

Function: scale CTX X Y

void nvgScale(NVGcontext* ctx, float x, float y);

Package

%nanovg

Source

claw.lisp (file)

Function: scissor CTX X Y W H

void nvgScissor(NVGcontext* ctx, float x, float y, float w, float h);

Package

%nanovg

Source

claw.lisp (file)

Function: shape-anti-alias CTX ENABLED

void nvgShapeAntiAlias(NVGcontext* ctx, int enabled);

Package

%nanovg

Source

claw.lisp (file)

Function: skew-x CTX ANGLE

void nvgSkewX(NVGcontext* ctx, float angle);

Package

%nanovg

Source

claw.lisp (file)

Function: skew-y CTX ANGLE

void nvgSkewY(NVGcontext* ctx, float angle);

Package

%nanovg

Source

claw.lisp (file)

Function: stroke CTX

void nvgStroke(NVGcontext* ctx);

Package

%nanovg

Source

claw.lisp (file)

Function: stroke-color CTX COLOR

void nvgStrokeColor(NVGcontext* ctx, NVGcolor color);

Package

%nanovg

Source

claw.lisp (file)

Function: stroke-paint CTX PAINT

void nvgStrokePaint(NVGcontext* ctx, NVGpaint paint);

Package

%nanovg

Source

claw.lisp (file)

Function: stroke-width CTX SIZE

void nvgStrokeWidth(NVGcontext* ctx, float size);

Package

%nanovg

Source

claw.lisp (file)

Function: text CTX X Y STRING END

float nvgText(NVGcontext* ctx, float x, float y, char* string, char* end);

Package

%nanovg

Source

claw.lisp (file)

Function: text-align CTX ALIGN

void nvgTextAlign(NVGcontext* ctx, int align);

Package

%nanovg

Source

claw.lisp (file)

Function: text-bounds CTX X Y STRING END BOUNDS

float nvgTextBounds(NVGcontext* ctx, float x, float y, char* string, char* end, float* bounds);

Package

%nanovg

Source

claw.lisp (file)

Function: text-box CTX X Y BREAK-ROW-WIDTH STRING END

void nvgTextBox(NVGcontext* ctx, float x, float y, float breakRowWidth, char* string, char* end);

Package

%nanovg

Source

claw.lisp (file)

Function: text-box-bounds CTX X Y BREAK-ROW-WIDTH STRING END BOUNDS

void nvgTextBoxBounds(NVGcontext* ctx, float x, float y, float breakRowWidth, char* string, char* end, float* bounds);

Package

%nanovg

Source

claw.lisp (file)

Function: text-break-lines CTX STRING END BREAK-ROW-WIDTH ROWS MAX-ROWS

int nvgTextBreakLines(NVGcontext* ctx, char* string, char* end, float breakRowWidth, NVGtextRow* rows, int maxRows);

Package

%nanovg

Source

claw.lisp (file)

Function: text-glyph-positions CTX X Y STRING END POSITIONS MAX-POSITIONS

int nvgTextGlyphPositions(NVGcontext* ctx, float x, float y, char* string, char* end, NVGglyphPosition* positions, int maxPositions);

Package

%nanovg

Source

claw.lisp (file)

Function: text-letter-spacing CTX SPACING

void nvgTextLetterSpacing(NVGcontext* ctx, float spacing);

Package

%nanovg

Source

claw.lisp (file)

Function: text-line-height CTX LINE-HEIGHT

void nvgTextLineHeight(NVGcontext* ctx, float lineHeight);

Package

%nanovg

Source

claw.lisp (file)

Function: text-metrics CTX ASCENDER DESCENDER LINEH

void nvgTextMetrics(NVGcontext* ctx, float* ascender, float* descender, float* lineh);

Package

%nanovg

Source

claw.lisp (file)

Function: trans-rgb-af RESULT C0 A

NVGcolor nvgTransRGBAf(NVGcolor c0, float a);

Package

%nanovg

Source

claw.lisp (file)

Function: trans-rgba RESULT C0 A

NVGcolor nvgTransRGBA(NVGcolor c0, unsigned char a);

Package

%nanovg

Source

claw.lisp (file)

Function: transform CTX A B C D E F

void nvgTransform(NVGcontext* ctx, float a, float b, float c, float d, float e, float f);

Package

%nanovg

Source

claw.lisp (file)

Function: transform-identity DST

void nvgTransformIdentity(float* dst);

Package

%nanovg

Source

claw.lisp (file)

Function: transform-inverse DST SRC

int nvgTransformInverse(float* dst, float* src);

Package

%nanovg

Source

claw.lisp (file)

Function: transform-multiply DST SRC

void nvgTransformMultiply(float* dst, float* src);

Package

%nanovg

Source

claw.lisp (file)

Function: transform-point DSTX DSTY XFORM SRCX SRCY

void nvgTransformPoint(float* dstx, float* dsty, float* xform, float srcx, float srcy);

Package

%nanovg

Source

claw.lisp (file)

Function: transform-premultiply DST SRC

void nvgTransformPremultiply(float* dst, float* src);

Package

%nanovg

Source

claw.lisp (file)

Function: transform-rotate DST A

void nvgTransformRotate(float* dst, float a);

Package

%nanovg

Source

claw.lisp (file)

Function: transform-scale DST SX SY

void nvgTransformScale(float* dst, float sx, float sy);

Package

%nanovg

Source

claw.lisp (file)

Function: transform-skew-x DST A

void nvgTransformSkewX(float* dst, float a);

Package

%nanovg

Source

claw.lisp (file)

Function: transform-skew-y DST A

void nvgTransformSkewY(float* dst, float a);

Package

%nanovg

Source

claw.lisp (file)

Function: transform-translate DST TX TY

void nvgTransformTranslate(float* dst, float tx, float ty);

Package

%nanovg

Source

claw.lisp (file)

Function: translate CTX X Y

void nvgTranslate(NVGcontext* ctx, float x, float y);

Package

%nanovg

Source

claw.lisp (file)

Function: update-image CTX IMAGE DATA

void nvgUpdateImage(NVGcontext* ctx, int image, unsigned char* data);

Package

%nanovg

Source

claw.lisp (file)


Previous: , Up: Definitions   [Contents][Index]

6.2 Internal definitions


Previous: , Up: Internal definitions   [Contents][Index]

6.2.1 Functions

Function: create-flags &rest FLAGS
Package

nanovg

Source

nanovg.lisp (file)

Function: image-flags &rest FLAGS
Package

nanovg

Source

nanovg.lisp (file)


Previous: , Up: Top   [Contents][Index]

Appendix A Indexes


Next: , Previous: , Up: Indexes   [Contents][Index]

A.1 Concepts

Jump to:   B   F   L   M   S  
Index Entry  Section

B
bodge-nanovg.asd: The bodge-nanovg․asd file
bodge-nanovg/gl2: The bodge-nanovg/gl2 module
bodge-nanovg/gl2/bodge_nanovg_gl2.h: The bodge-nanovg/gl2/bodge_nanovg_gl2․h file
bodge-nanovg/gl2/claw.lisp: The bodge-nanovg/gl2/claw․lisp file
bodge-nanovg/gl2/context.lisp: The bodge-nanovg/gl2/context․lisp file
bodge-nanovg/gl2/spec: The bodge-nanovg/gl2/spec module
bodge-nanovg/gl3: The bodge-nanovg/gl3 module
bodge-nanovg/gl3/bodge_nanovg_gl3.h: The bodge-nanovg/gl3/bodge_nanovg_gl3․h file
bodge-nanovg/gl3/claw.lisp: The bodge-nanovg/gl3/claw․lisp file
bodge-nanovg/gl3/context.lisp: The bodge-nanovg/gl3/context․lisp file
bodge-nanovg/gl3/spec: The bodge-nanovg/gl3/spec module
bodge-nanovg/glad-includes: The bodge-nanovg/glad-includes module
bodge-nanovg/nanovg-includes: The bodge-nanovg/nanovg-includes module
bodge-nanovg/nanovg.lisp: The bodge-nanovg/nanovg․lisp file
bodge-nanovg/packages.lisp: The bodge-nanovg/packages․lisp file

F
File, Lisp, bodge-nanovg.asd: The bodge-nanovg․asd file
File, Lisp, bodge-nanovg/gl2/claw.lisp: The bodge-nanovg/gl2/claw․lisp file
File, Lisp, bodge-nanovg/gl2/context.lisp: The bodge-nanovg/gl2/context․lisp file
File, Lisp, bodge-nanovg/gl3/claw.lisp: The bodge-nanovg/gl3/claw․lisp file
File, Lisp, bodge-nanovg/gl3/context.lisp: The bodge-nanovg/gl3/context․lisp file
File, Lisp, bodge-nanovg/nanovg.lisp: The bodge-nanovg/nanovg․lisp file
File, Lisp, bodge-nanovg/packages.lisp: The bodge-nanovg/packages․lisp file
File, static, bodge-nanovg/gl2/bodge_nanovg_gl2.h: The bodge-nanovg/gl2/bodge_nanovg_gl2․h file
File, static, bodge-nanovg/gl3/bodge_nanovg_gl3.h: The bodge-nanovg/gl3/bodge_nanovg_gl3․h file

L
Lisp File, bodge-nanovg.asd: The bodge-nanovg․asd file
Lisp File, bodge-nanovg/gl2/claw.lisp: The bodge-nanovg/gl2/claw․lisp file
Lisp File, bodge-nanovg/gl2/context.lisp: The bodge-nanovg/gl2/context․lisp file
Lisp File, bodge-nanovg/gl3/claw.lisp: The bodge-nanovg/gl3/claw․lisp file
Lisp File, bodge-nanovg/gl3/context.lisp: The bodge-nanovg/gl3/context․lisp file
Lisp File, bodge-nanovg/nanovg.lisp: The bodge-nanovg/nanovg․lisp file
Lisp File, bodge-nanovg/packages.lisp: The bodge-nanovg/packages․lisp file

M
Module, bodge-nanovg/gl2: The bodge-nanovg/gl2 module
Module, bodge-nanovg/gl2/spec: The bodge-nanovg/gl2/spec module
Module, bodge-nanovg/gl3: The bodge-nanovg/gl3 module
Module, bodge-nanovg/gl3/spec: The bodge-nanovg/gl3/spec module
Module, bodge-nanovg/glad-includes: The bodge-nanovg/glad-includes module
Module, bodge-nanovg/nanovg-includes: The bodge-nanovg/nanovg-includes module

S
Static File, bodge-nanovg/gl2/bodge_nanovg_gl2.h: The bodge-nanovg/gl2/bodge_nanovg_gl2․h file
Static File, bodge-nanovg/gl3/bodge_nanovg_gl3.h: The bodge-nanovg/gl3/bodge_nanovg_gl3․h file

Jump to:   B   F   L   M   S  

Next: , Previous: , Up: Indexes   [Contents][Index]

A.2 Functions

Jump to:   A   B   C   D   E   F   G   H   I   L   M   P   Q   R   S   T   U  
Index Entry  Section

A
add-fallback-font: Exported functions
add-fallback-font-id: Exported functions
arc: Exported functions
arc-to: Exported functions

B
begin-frame: Exported functions
begin-path: Exported functions
bezier-to: Exported functions
box-gradient: Exported functions

C
cancel-frame: Exported functions
circle: Exported functions
close-path: Exported functions
create-flags: Internal functions
create-font: Exported functions
create-font-mem: Exported functions
create-gl3: Exported functions
create-image: Exported functions
create-image-from-handle-gl3: Exported functions
create-image-mem: Exported functions
create-image-rgba: Exported functions
create-internal: Exported functions
current-transform: Exported functions

D
debug-dump-path-cache: Exported functions
deg-to-rad: Exported functions
delete-gl3: Exported functions
delete-image: Exported functions
delete-internal: Exported functions
destroy-context: Exported functions
destroy-image: Exported functions

E
ellipse: Exported functions
end-frame: Exported functions

F
fill: Exported functions
fill-color: Exported functions
fill-paint: Exported functions
find-font: Exported functions
font-blur: Exported functions
font-face: Exported functions
font-face-id: Exported functions
font-size: Exported functions
Function, add-fallback-font: Exported functions
Function, add-fallback-font-id: Exported functions
Function, arc: Exported functions
Function, arc-to: Exported functions
Function, begin-frame: Exported functions
Function, begin-path: Exported functions
Function, bezier-to: Exported functions
Function, box-gradient: Exported functions
Function, cancel-frame: Exported functions
Function, circle: Exported functions
Function, close-path: Exported functions
Function, create-flags: Internal functions
Function, create-font: Exported functions
Function, create-font-mem: Exported functions
Function, create-gl3: Exported functions
Function, create-image: Exported functions
Function, create-image-from-handle-gl3: Exported functions
Function, create-image-mem: Exported functions
Function, create-image-rgba: Exported functions
Function, create-internal: Exported functions
Function, current-transform: Exported functions
Function, debug-dump-path-cache: Exported functions
Function, deg-to-rad: Exported functions
Function, delete-gl3: Exported functions
Function, delete-image: Exported functions
Function, delete-internal: Exported functions
Function, destroy-context: Exported functions
Function, destroy-image: Exported functions
Function, ellipse: Exported functions
Function, end-frame: Exported functions
Function, fill: Exported functions
Function, fill-color: Exported functions
Function, fill-paint: Exported functions
Function, find-font: Exported functions
Function, font-blur: Exported functions
Function, font-face: Exported functions
Function, font-face-id: Exported functions
Function, font-size: Exported functions
Function, global-alpha: Exported functions
Function, global-composite-blend-func: Exported functions
Function, global-composite-blend-func-separate: Exported functions
Function, global-composite-operation: Exported functions
Function, hsl: Exported functions
Function, hsla: Exported functions
Function, image-flags: Internal functions
Function, image-handle-gl3: Exported functions
Function, image-pattern: Exported functions
Function, image-size: Exported functions
Function, internal-params: Exported functions
Function, intersect-scissor: Exported functions
Function, lerp-rgba: Exported functions
Function, line-cap: Exported functions
Function, line-join: Exported functions
Function, line-to: Exported functions
Function, linear-gradient: Exported functions
Function, make-context: Exported functions
Function, make-image: Exported functions
Function, make-rgba-image: Exported functions
Function, miter-limit: Exported functions
Function, move-to: Exported functions
Function, path-winding: Exported functions
Function, quad-to: Exported functions
Function, rad-to-deg: Exported functions
Function, radial-gradient: Exported functions
Function, rect: Exported functions
Function, reset: Exported functions
Function, reset-scissor: Exported functions
Function, reset-transform: Exported functions
Function, restore: Exported functions
Function, rgb: Exported functions
Function, rgb-f: Exported functions
Function, rgba: Exported functions
Function, rgba-f: Exported functions
Function, rotate: Exported functions
Function, rounded-rect: Exported functions
Function, rounded-rect-varying: Exported functions
Function, save: Exported functions
Function, scale: Exported functions
Function, scissor: Exported functions
Function, shape-anti-alias: Exported functions
Function, skew-x: Exported functions
Function, skew-y: Exported functions
Function, stroke: Exported functions
Function, stroke-color: Exported functions
Function, stroke-paint: Exported functions
Function, stroke-width: Exported functions
Function, text: Exported functions
Function, text-align: Exported functions
Function, text-bounds: Exported functions
Function, text-box: Exported functions
Function, text-box-bounds: Exported functions
Function, text-break-lines: Exported functions
Function, text-glyph-positions: Exported functions
Function, text-letter-spacing: Exported functions
Function, text-line-height: Exported functions
Function, text-metrics: Exported functions
Function, trans-rgb-af: Exported functions
Function, trans-rgba: Exported functions
Function, transform: Exported functions
Function, transform-identity: Exported functions
Function, transform-inverse: Exported functions
Function, transform-multiply: Exported functions
Function, transform-point: Exported functions
Function, transform-premultiply: Exported functions
Function, transform-rotate: Exported functions
Function, transform-scale: Exported functions
Function, transform-skew-x: Exported functions
Function, transform-skew-y: Exported functions
Function, transform-translate: Exported functions
Function, translate: Exported functions
Function, update-image: Exported functions

G
global-alpha: Exported functions
global-composite-blend-func: Exported functions
global-composite-blend-func-separate: Exported functions
global-composite-operation: Exported functions

H
hsl: Exported functions
hsla: Exported functions

I
image-flags: Internal functions
image-handle-gl3: Exported functions
image-pattern: Exported functions
image-size: Exported functions
internal-params: Exported functions
intersect-scissor: Exported functions

L
lerp-rgba: Exported functions
line-cap: Exported functions
line-join: Exported functions
line-to: Exported functions
linear-gradient: Exported functions

M
make-context: Exported functions
make-image: Exported functions
make-rgba-image: Exported functions
miter-limit: Exported functions
move-to: Exported functions

P
path-winding: Exported functions

Q
quad-to: Exported functions

R
rad-to-deg: Exported functions
radial-gradient: Exported functions
rect: Exported functions
reset: Exported functions
reset-scissor: Exported functions
reset-transform: Exported functions
restore: Exported functions
rgb: Exported functions
rgb-f: Exported functions
rgba: Exported functions
rgba-f: Exported functions
rotate: Exported functions
rounded-rect: Exported functions
rounded-rect-varying: Exported functions

S
save: Exported functions
scale: Exported functions
scissor: Exported functions
shape-anti-alias: Exported functions
skew-x: Exported functions
skew-y: Exported functions
stroke: Exported functions
stroke-color: Exported functions
stroke-paint: Exported functions
stroke-width: Exported functions

T
text: Exported functions
text-align: Exported functions
text-bounds: Exported functions
text-box: Exported functions
text-box-bounds: Exported functions
text-break-lines: Exported functions
text-glyph-positions: Exported functions
text-letter-spacing: Exported functions
text-line-height: Exported functions
text-metrics: Exported functions
trans-rgb-af: Exported functions
trans-rgba: Exported functions
transform: Exported functions
transform-identity: Exported functions
transform-inverse: Exported functions
transform-multiply: Exported functions
transform-point: Exported functions
transform-premultiply: Exported functions
transform-rotate: Exported functions
transform-scale: Exported functions
transform-skew-x: Exported functions
transform-skew-y: Exported functions
transform-translate: Exported functions
translate: Exported functions

U
update-image: Exported functions

Jump to:   A   B   C   D   E   F   G   H   I   L   M   P   Q   R   S   T   U  

Next: , Previous: , Up: Indexes   [Contents][Index]

A.3 Variables

Jump to:   +  
S  
Index Entry  Section

+
+bodge-nanovg-h-+: Exported special variables
+nanovg-gl-h+: Exported special variables
+nanovg-gl-use-state-filter+: Exported special variables
+nanovg-gl3+: Exported special variables
+nanovg-h+: Exported special variables
+pi+: Exported special variables

S
Special Variable, +bodge-nanovg-h-+: Exported special variables
Special Variable, +nanovg-gl-h+: Exported special variables
Special Variable, +nanovg-gl-use-state-filter+: Exported special variables
Special Variable, +nanovg-gl3+: Exported special variables
Special Variable, +nanovg-h+: Exported special variables
Special Variable, +pi+: Exported special variables

Jump to:   +  
S  

Previous: , Up: Indexes   [Contents][Index]

A.4 Data types

Jump to:   %  
B   N   P   S  
Index Entry  Section

%
%nanovg: The %nanovg package

B
bodge-nanovg: The bodge-nanovg system

N
nanovg: The nanovg package

P
Package, %nanovg: The %nanovg package
Package, nanovg: The nanovg package

S
System, bodge-nanovg: The bodge-nanovg system

Jump to:   %  
B   N   P   S