public class DllInterface
{
[DllImport(@"QTRender.dll", EntryPoint = "??0QTRender@@QAE@XZ")]
public static extern int Init();
[DllImport(@"QTRender.dll", CallingConvention = CallingConvention.StdCall)]
public static extern int DrawTextGiotto([Out] byte[] c, [In][Out] ref int width, [In][Out] ref int height, [In][Out] ref float fontSize, int letterSpacing, int wordSpacing, int fontWeight, [In] byte[] Testo, int lenTesto, [In] byte[] fontName, int lenFontName, int Rfore, int Gfore, int Bfore, int Afore, int Rshadow, int Gshadow, int Bshadow, int Ashadow, QthAlign hAlign, QtvAlign vAlign);
[DllImport(@"QTRender.dll", CallingConvention = CallingConvention.StdCall)]
public static extern int DrawTextInSquare([Out] byte[] c, [In][Out] ref int width, [In][Out] ref int height, [In][Out] ref float fontSize, int letterSpacing, int wordSpacing, int fontWeight, [In] byte[] Testo, int lenTesto, [In] byte[] fontName, int lenFontName, int Rfore, int Gfore, int Bfore, int Afore, int Rshadow, int Gshadow, int Bshadow, int Ashadow, QthAlign hAlign, QtvAlign vAlign);
[DllImport(@"QTRender.dll", CallingConvention = CallingConvention.StdCall)]
public static extern int DrawTextGiottoFix([Out] byte[] c, [In][Out] ref int width, [In][Out] ref int height, [In][Out] ref float fontSize, int letterSpacing, int wordSpacing, int fontWeight, [In] byte[] Testo, int lenTesto, [In] byte[] fontName, int lenFontName, int Rfore, int Gfore, int Bfore, int Afore, int Rshadow, int Gshadow, int Bshadow, int Ashadow, QthAlign hAlign, QtvAlign vAlign);
}
public class DllInterface
{
[DllImport(@"QTRender.dll", EntryPoint = "??0QTRender@@QAE@XZ")]
public static extern int Init();
[DllImport(@"QTRender.dll", CallingConvention = CallingConvention.StdCall)]
public static extern int DrawTextGiotto([Out] byte[] c, [In][Out] ref int width, [In][Out] ref int height, [In][Out] ref float fontSize, int letterSpacing, int wordSpacing, int fontWeight, [In] byte[] Testo, int lenTesto, [In] byte[] fontName, int lenFontName, int Rfore, int Gfore, int Bfore, int Afore, int Rshadow, int Gshadow, int Bshadow, int Ashadow, QthAlign hAlign, QtvAlign vAlign);
[DllImport(@"QTRender.dll", CallingConvention = CallingConvention.StdCall)]
public static extern int DrawTextInSquare([Out] byte[] c, [In][Out] ref int width, [In][Out] ref int height, [In][Out] ref float fontSize, int letterSpacing, int wordSpacing, int fontWeight, [In] byte[] Testo, int lenTesto, [In] byte[] fontName, int lenFontName, int Rfore, int Gfore, int Bfore, int Afore, int Rshadow, int Gshadow, int Bshadow, int Ashadow, QthAlign hAlign, QtvAlign vAlign);
[DllImport(@"QTRender.dll", CallingConvention = CallingConvention.StdCall)]
public static extern int DrawTextGiottoFix([Out] byte[] c, [In][Out] ref int width, [In][Out] ref int height, [In][Out] ref float fontSize, int letterSpacing, int wordSpacing, int fontWeight, [In] byte[] Testo, int lenTesto, [In] byte[] fontName, int lenFontName, int Rfore, int Gfore, int Bfore, int Afore, int Rshadow, int Gshadow, int Bshadow, int Ashadow, QthAlign hAlign, QtvAlign vAlign);
}
To copy to clipboard, switch view to plain text mode
Bookmarks