TTF_Linked_Version() 공개 정적인 메소드

Using this you can compare the runtime version to the version that you compiled with.

Binds to C-function call in SDL_ttf.h: const SDL_version * TTF_Linked_Version(void)

public static TTF_Linked_Version ( ) : Tao.Sdl.Sdl.SDL_version
리턴 Tao.Sdl.Sdl.SDL_version
예제 #1
0
 public void LinkedVersion()
 {
     Sdl.SDL_version version = SdlTtf.TTF_Linked_Version();
     //Console.WriteLine("Ttf version: " + version.ToString());
     Assert.AreEqual("2.0.8", version.major.ToString()
                     + "." + version.minor.ToString()
                     + "." + version.patch.ToString());
     this.Quit();
 }