Ejemplo n.º 1
0
 public static extern int CreateFontMem(this NanoVGContext Ctx, byte[] name, byte *data, int ndata, int freeData);
Ejemplo n.º 2
0
 public static extern void GlobalCompositeBlendFunc(this NanoVGContext Ctx, int sfactor, int dfactor);
Ejemplo n.º 3
0
 public static extern void Save(this NanoVGContext Ctx);
Ejemplo n.º 4
0
 public static extern void BeginFrame(this NanoVGContext Ctx, float windowWidth, float windowHeight, float devicePixelRatio);
Ejemplo n.º 5
0
 public static extern void EndFrame(this NanoVGContext Ctx);
Ejemplo n.º 6
0
 public static extern void TextMetrics(this NanoVGContext Ctx, float *ascender, float *descender, float *lineh);
Ejemplo n.º 7
0
 public static int CreateFont(this NanoVGContext Ctx, string name, string filename)
 {
     return(CreateFont(Ctx, StrToUTF8(name), StrToUTF8(filename)));
 }
Ejemplo n.º 8
0
 public static extern void FontBlur(this NanoVGContext Ctx, float blur);
Ejemplo n.º 9
0
 public static extern void TextLetterSpacing(this NanoVGContext Ctx, float spacing);
Ejemplo n.º 10
0
 public static extern void FontSize(this NanoVGContext Ctx, float size);
Ejemplo n.º 11
0
 public static float Text(this NanoVGContext Ctx, float x, float y, string Str, string End)
 {
     return(Text(Ctx, x, y, StrToUTF8(Str), StrToUTF8(End)));
 }
Ejemplo n.º 12
0
 public static extern int AddFallbackFont(this NanoVGContext Ctx, byte[] baseFont, byte[] fallbackFont);
Ejemplo n.º 13
0
 public static extern int AddFallbackFontId(this NanoVGContext Ctx, int baseFont, int fallbackFont);
Ejemplo n.º 14
0
 public static extern int FindFont(this NanoVGContext Ctx, byte[] name);
Ejemplo n.º 15
0
 public static extern void TextBoxBounds(this NanoVGContext Ctx, float x, float y, float breakRowWidth, byte[] Str, byte[] end, IntPtr bounds);
Ejemplo n.º 16
0
 public static extern void TextLineHeight(this NanoVGContext Ctx, float lineHeight);
Ejemplo n.º 17
0
 public static extern int TextGlyphPositions(this NanoVGContext Ctx, float x, float y, byte[] Str, byte[] end, /* NVGglyphPosition* */ IntPtr positions, int maxPositions);
Ejemplo n.º 18
0
 public static extern void TextAlign(this NanoVGContext Ctx, NVGAlign align);
Ejemplo n.º 19
0
 public static unsafe extern int TextBreakLines(this NanoVGContext Ctx, byte[] Str, byte[] end, float breakRowWidth, ref IntPtr rows, int maxRows);
Ejemplo n.º 20
0
 public static extern void FontFaceId(this NanoVGContext Ctx, int font);
Ejemplo n.º 21
0
 public static void FontFace(this NanoVGContext Ctx, string font)
 {
     FontFace(Ctx, StrToUTF8(font));
 }
Ejemplo n.º 22
0
 public static extern void FontFace(this NanoVGContext Ctx, byte[] font);
Ejemplo n.º 23
0
 public static extern void CancelFrame(this NanoVGContext Ctx);
Ejemplo n.º 24
0
 public static extern float Text(this NanoVGContext Ctx, float x, float y, byte[] Str, byte[] end);
Ejemplo n.º 25
0
 public static extern void GlobalCompositeOperation(this NanoVGContext Ctx, int op);
Ejemplo n.º 26
0
 public static extern void TextBox(this NanoVGContext Ctx, float x, float y, float breakRowWidth, byte[] Str, byte[] end);
Ejemplo n.º 27
0
 public static extern void GlobalCompositeBlendFuncSeparate(this NanoVGContext Ctx, int srcRGB, int dstRGB, int srcAlpha, int dstAlpha);
Ejemplo n.º 28
0
 public static extern float TextBounds(this NanoVGContext Ctx, float x, float y, byte[] Str, byte[] end, IntPtr bounds);
Ejemplo n.º 29
0
 public static extern void Reset(this NanoVGContext Ctx);
Ejemplo n.º 30
0
 public static extern int CreateFont(this NanoVGContext Ctx, byte[] name, byte[] filename);