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