|
| NanoBaseWidget (Widget *parentWidget, int flags=CREATE_ANTIALIAS) |
|
| NanoBaseWidget (NanoBaseWidget< SubWidget > *parentWidget) |
|
| NanoBaseWidget (NanoBaseWidget< TopLevelWidget > *parentWidget) |
|
| NanoBaseWidget (Window &windowToMapTo, int flags=CREATE_ANTIALIAS) |
|
| NanoBaseWidget (Application &app, int flags=CREATE_ANTIALIAS) |
|
| NanoBaseWidget (Application &app, Window &transientParentWindow, int flags=CREATE_ANTIALIAS) |
|
| ~NanoBaseWidget () override |
|
| NanoVG (int flags=CREATE_ANTIALIAS) |
|
| NanoVG (NVGcontext *context) |
|
virtual | ~NanoVG () |
|
NVGcontext * | getContext () const noexcept |
|
void | beginFrame (const uint width, const uint height, const float scaleFactor=1.0f) |
|
void | beginFrame (Widget *const widget) |
|
void | cancelFrame () |
|
void | endFrame () |
|
void | save () |
|
void | restore () |
|
void | reset () |
|
void | strokeColor (const Color &color) |
|
void | strokeColor (const int red, const int green, const int blue, const int alpha=255) |
|
void | strokeColor (const float red, const float green, const float blue, const float alpha=1.0f) |
|
void | strokePaint (const Paint &paint) |
|
void | fillColor (const Color &color) |
|
void | fillColor (const int red, const int green, const int blue, const int alpha=255) |
|
void | fillColor (const float red, const float green, const float blue, const float alpha=1.0f) |
|
void | fillPaint (const Paint &paint) |
|
void | miterLimit (float limit) |
|
void | strokeWidth (float size) |
|
void | lineCap (LineCap cap=BUTT) |
|
void | lineJoin (LineCap join=MITER) |
|
void | globalAlpha (float alpha) |
|
void | globalTint (Color tint) |
|
void | resetTransform () |
|
void | transform (float a, float b, float c, float d, float e, float f) |
|
void | translate (float x, float y) |
|
void | rotate (float angle) |
|
void | skewX (float angle) |
|
void | skewY (float angle) |
|
void | scale (float x, float y) |
|
void | currentTransform (float xform[6]) |
|
NanoImage::Handle | createImageFromFile (const char *filename, ImageFlags imageFlags) |
|
NanoImage::Handle | createImageFromFile (const char *filename, int imageFlags) |
|
NanoImage::Handle | createImageFromMemory (const uchar *data, uint dataSize, ImageFlags imageFlags) |
|
NanoImage::Handle | createImageFromMemory (const uchar *data, uint dataSize, int imageFlags) |
|
NanoImage::Handle | createImageFromRawMemory (uint w, uint h, const uchar *data, ImageFlags imageFlags, ImageFormat format) |
|
NanoImage::Handle | createImageFromRawMemory (uint w, uint h, const uchar *data, int imageFlags, ImageFormat format) |
|
NanoImage::Handle | createImageFromRGBA (uint w, uint h, const uchar *data, ImageFlags imageFlags) |
|
NanoImage::Handle | createImageFromRGBA (uint w, uint h, const uchar *data, int imageFlags) |
|
NanoImage::Handle | createImageFromTextureHandle (GLuint textureId, uint w, uint h, ImageFlags imageFlags, bool deleteTexture=false) |
|
NanoImage::Handle | createImageFromTextureHandle (GLuint textureId, uint w, uint h, int imageFlags, bool deleteTexture=false) |
|
Paint | linearGradient (float sx, float sy, float ex, float ey, const Color &icol, const Color &ocol) |
|
Paint | boxGradient (float x, float y, float w, float h, float r, float f, const Color &icol, const Color &ocol) |
|
Paint | radialGradient (float cx, float cy, float inr, float outr, const Color &icol, const Color &ocol) |
|
Paint | imagePattern (float ox, float oy, float ex, float ey, float angle, const NanoImage &image, float alpha) |
|
void | scissor (float x, float y, float w, float h) |
|
void | intersectScissor (float x, float y, float w, float h) |
|
void | resetScissor () |
|
void | beginPath () |
|
void | moveTo (float x, float y) |
|
void | lineTo (float x, float y) |
|
void | bezierTo (float c1x, float c1y, float c2x, float c2y, float x, float y) |
|
void | quadTo (float cx, float cy, float x, float y) |
|
void | arcTo (float x1, float y1, float x2, float y2, float radius) |
|
void | closePath () |
|
void | pathWinding (Winding dir) |
|
void | arc (float cx, float cy, float r, float a0, float a1, Winding dir) |
|
void | rect (float x, float y, float w, float h) |
|
void | roundedRect (float x, float y, float w, float h, float r) |
|
void | ellipse (float cx, float cy, float rx, float ry) |
|
void | circle (float cx, float cy, float r) |
|
void | fill () |
|
void | stroke () |
|
FontId | createFontFromFile (const char *name, const char *filename) |
|
FontId | createFontFromMemory (const char *name, const uchar *data, uint dataSize, bool freeData) |
|
FontId | findFont (const char *name) |
|
void | fontSize (float size) |
|
void | fontBlur (float blur) |
|
void | textLetterSpacing (float spacing) |
|
void | textLineHeight (float lineHeight) |
|
void | textAlign (Align align) |
|
void | textAlign (int align) |
|
void | fontFaceId (FontId font) |
|
void | fontFace (const char *font) |
|
float | text (float x, float y, const char *string, const char *end) |
|
void | textBox (float x, float y, float breakRowWidth, const char *string, const char *end=nullptr) |
|
float | textBounds (float x, float y, const char *string, const char *end, Rectangle< float > &bounds) |
|
void | textBoxBounds (float x, float y, float breakRowWidth, const char *string, const char *end, float bounds[4]) |
|
int | textGlyphPositions (float x, float y, const char *string, const char *end, GlyphPosition &positions, int maxPositions) |
|
void | textMetrics (float *ascender, float *descender, float *lineh) |
|
int | textBreakLines (const char *string, const char *end, float breakRowWidth, TextRow &rows, int maxRows) |
|
virtual bool | loadSharedResources () |
|