private TTF_FontFaceStyleName ( |
||
font | ||
Résultat | string |
public void FontFaceStyleName() { this.Quit(); this.Init(); IntPtr fontPtr = SdlTtf.TTF_OpenFont("../../FreeSans.ttf", 10); //Console.WriteLine("FontFaceStyleName:" + SdlTtf.TTF_FontFaceStyleName(fontPtr).ToString()); Assert.AreEqual(SdlTtf.TTF_FontFaceStyleName(fontPtr).ToString(), "Roman"); this.Quit(); }