public static IntPtr IMG_LoadTextureTyped_RW(
     IntPtr renderer,
     IntPtr src,
     int freesrc,
     string type
     )
 {
     return(INTERNAL_IMG_LoadTextureTyped_RW(
                renderer,
                src,
                freesrc,
                SDL.UTF8_ToNative(type)
                ));
 }
Beispiel #2
0
 public static int TTF_SizeUTF8(
     IntPtr font,
     string text,
     out int w,
     out int h
     )
 {
     return(INTERNAL_TTF_SizeUTF8(
                font,
                SDL.UTF8_ToNative(text),
                out w,
                out h
                ));
 }
Beispiel #3
0
 public static IntPtr TTF_RenderUTF8_Shaded(
     IntPtr font,
     string text,
     SDL.SDL_Color fg,
     SDL.SDL_Color bg
     )
 {
     return(INTERNAL_TTF_RenderUTF8_Shaded(
                font,
                SDL.UTF8_ToNative(text),
                fg,
                bg
                ));
 }
Beispiel #4
0
 public static IntPtr TTF_RenderUTF8_Blended_Wrapped(
     IntPtr font,
     string text,
     SDL.SDL_Color fg,
     uint wrapped
     )
 {
     return(INTERNAL_TTF_RenderUTF8_Blended_Wrapped(
                font,
                SDL.UTF8_ToNative(text),
                fg,
                wrapped
                ));
 }
Beispiel #5
0
 public static int TTF_MeasureUTF8(
     IntPtr font,
     string text,
     int measure_width,
     out int extent,
     out int count
     )
 {
     return(INTERNAL_TTF_MeasureUTF8(
                font,
                SDL.UTF8_ToNative(text),
                measure_width,
                out extent,
                out count
                ));
 }
Beispiel #6
0
 public static int Mix_SetSoundFonts(string paths)
 {
     return(INTERNAL_Mix_SetSoundFonts(
                SDL.UTF8_ToNative(paths)
                ));
 }
Beispiel #7
0
 public static int Mix_SetMusicCMD(string command)
 {
     return(INTERNAL_Mix_SetMusicCMD(
                SDL.UTF8_ToNative(command)
                ));
 }
Beispiel #8
0
 public static IntPtr Mix_LoadMUS(string file)
 {
     return(INTERNAL_Mix_LoadMUS(SDL.UTF8_ToNative(file)));
 }
Beispiel #9
0
 public static IntPtr IMG_Load(string file)
 {
     return(INTERNAL_IMG_Load(SDL.UTF8_ToNative(file)));
 }