コード例 #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);