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