public static extern int CreateFontMem(this NanoVGContext Ctx, byte[] name, byte *data, int ndata, int freeData);
public static extern void GlobalCompositeBlendFunc(this NanoVGContext Ctx, int sfactor, int dfactor);
public static extern void Save(this NanoVGContext Ctx);
public static extern void BeginFrame(this NanoVGContext Ctx, float windowWidth, float windowHeight, float devicePixelRatio);
public static extern void EndFrame(this NanoVGContext Ctx);
public static extern void TextMetrics(this NanoVGContext Ctx, float *ascender, float *descender, float *lineh);
public static int CreateFont(this NanoVGContext Ctx, string name, string filename) { return(CreateFont(Ctx, StrToUTF8(name), StrToUTF8(filename))); }
public static extern void FontBlur(this NanoVGContext Ctx, float blur);
public static extern void TextLetterSpacing(this NanoVGContext Ctx, float spacing);
public static extern void FontSize(this NanoVGContext Ctx, float size);
public static float Text(this NanoVGContext Ctx, float x, float y, string Str, string End) { return(Text(Ctx, x, y, StrToUTF8(Str), StrToUTF8(End))); }
public static extern int AddFallbackFont(this NanoVGContext Ctx, byte[] baseFont, byte[] fallbackFont);
public static extern int AddFallbackFontId(this NanoVGContext Ctx, int baseFont, int fallbackFont);
public static extern int FindFont(this NanoVGContext Ctx, byte[] name);
public static extern void TextBoxBounds(this NanoVGContext Ctx, float x, float y, float breakRowWidth, byte[] Str, byte[] end, IntPtr bounds);
public static extern void TextLineHeight(this NanoVGContext Ctx, float lineHeight);
public static extern int TextGlyphPositions(this NanoVGContext Ctx, float x, float y, byte[] Str, byte[] end, /* NVGglyphPosition* */ IntPtr positions, int maxPositions);
public static extern void TextAlign(this NanoVGContext Ctx, NVGAlign align);
public static unsafe extern int TextBreakLines(this NanoVGContext Ctx, byte[] Str, byte[] end, float breakRowWidth, ref IntPtr rows, int maxRows);
public static extern void FontFaceId(this NanoVGContext Ctx, int font);
public static void FontFace(this NanoVGContext Ctx, string font) { FontFace(Ctx, StrToUTF8(font)); }
public static extern void FontFace(this NanoVGContext Ctx, byte[] font);
public static extern void CancelFrame(this NanoVGContext Ctx);
public static extern float Text(this NanoVGContext Ctx, float x, float y, byte[] Str, byte[] end);
public static extern void GlobalCompositeOperation(this NanoVGContext Ctx, int op);
public static extern void TextBox(this NanoVGContext Ctx, float x, float y, float breakRowWidth, byte[] Str, byte[] end);
public static extern void GlobalCompositeBlendFuncSeparate(this NanoVGContext Ctx, int srcRGB, int dstRGB, int srcAlpha, int dstAlpha);
public static extern float TextBounds(this NanoVGContext Ctx, float x, float y, byte[] Str, byte[] end, IntPtr bounds);
public static extern void Reset(this NanoVGContext Ctx);
public static extern int CreateFont(this NanoVGContext Ctx, byte[] name, byte[] filename);