1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 11:38:21 +02:00

Fix formatting

This commit is contained in:
Martin Cietwierkowski 2023-04-01 20:12:59 -04:00
parent f450e3a1c5
commit c44b03386f
4 changed files with 1344 additions and 1347 deletions

File diff suppressed because it is too large Load diff

View file

@ -44,8 +44,8 @@ namespace SDL2
PNG = 0x00000002,
TIF = 0x00000004,
WEBP = 0x00000008,
JXL = 0x00000010,
AVIF = 0x00000020
JXL = 0x00000010,
AVIF = 0x00000020
}
public static void SDL_IMAGE_VERSION(out SDL.Version X)
@ -85,7 +85,7 @@ namespace SDL2
SDL.Renderer* renderer,
char8* file
);
[LinkName("IMG_LoadTexture_RW")]
public static extern SDL.Texture* LoadTexture_RW(
SDL.Renderer* renderer,
@ -101,119 +101,119 @@ namespace SDL2
char8* type
);
[LinkName("IMG_isAVIF")]
public static extern int32 isAVIF(SDL.RWOps* src);
[LinkName("IMG_isAVIF")]
public static extern int32 isAVIF(SDL.RWOps* src);
[LinkName("IMG_isICO")]
public static extern int32 isICO(SDL.RWOps* src);
[LinkName("IMG_isICO")]
public static extern int32 isICO(SDL.RWOps* src);
[LinkName("IMG_isCUR")]
public static extern int32 isCUR(SDL.RWOps* src);
[LinkName("IMG_isCUR")]
public static extern int32 isCUR(SDL.RWOps* src);
[LinkName("IMG_isBMP")]
public static extern int32 isBMP(SDL.RWOps* src);
[LinkName("IMG_isBMP")]
public static extern int32 isBMP(SDL.RWOps* src);
[LinkName("IMG_isGIF")]
public static extern int32 isGIF(SDL.RWOps* src);
[LinkName("IMG_isGIF")]
public static extern int32 isGIF(SDL.RWOps* src);
[LinkName("IMG_isJPG")]
public static extern int32 isJPG(SDL.RWOps* src);
[LinkName("IMG_isJPG")]
public static extern int32 isJPG(SDL.RWOps* src);
[LinkName("IMG_isJXL")]
public static extern int32 isJXL(SDL.RWOps* src);
[LinkName("IMG_isJXL")]
public static extern int32 isJXL(SDL.RWOps* src);
[LinkName("IMG_isLBM")]
public static extern int32 isLBM(SDL.RWOps* src);
[LinkName("IMG_isLBM")]
public static extern int32 isLBM(SDL.RWOps* src);
[LinkName("IMG_isPCX")]
public static extern int32 isPCX(SDL.RWOps* src);
[LinkName("IMG_isPCX")]
public static extern int32 isPCX(SDL.RWOps* src);
[LinkName("IMG_isPNG")]
public static extern int32 isPNG(SDL.RWOps* src);
[LinkName("IMG_isPNG")]
public static extern int32 isPNG(SDL.RWOps* src);
[LinkName("IMG_isPNM")]
public static extern int32 isPNM(SDL.RWOps* src);
[LinkName("IMG_isPNM")]
public static extern int32 isPNM(SDL.RWOps* src);
[LinkName("IMG_isSVG")]
public static extern int32 isSVG(SDL.RWOps* src);
[LinkName("IMG_isSVG")]
public static extern int32 isSVG(SDL.RWOps* src);
[LinkName("IMG_isQOI")]
public static extern int32 isQOI(SDL.RWOps* src);
[LinkName("IMG_isQOI")]
public static extern int32 isQOI(SDL.RWOps* src);
[LinkName("IMG_isTIF")]
public static extern int32 isTIF(SDL.RWOps* src);
[LinkName("IMG_isTIF")]
public static extern int32 isTIF(SDL.RWOps* src);
[LinkName("IMG_isXCF")]
public static extern int32 isXCF(SDL.RWOps* src);
[LinkName("IMG_isXCF")]
public static extern int32 isXCF(SDL.RWOps* src);
[LinkName("IMG_isXPM")]
public static extern int32 isXPM(SDL.RWOps* src);
[LinkName("IMG_isXPM")]
public static extern int32 isXPM(SDL.RWOps* src);
[LinkName("IMG_isXV")]
public static extern int32 isXV(SDL.RWOps* src);
[LinkName("IMG_isXV")]
public static extern int32 isXV(SDL.RWOps* src);
[LinkName("IMG_isWEBP")]
public static extern int32 isWEBP(SDL.RWOps* src);
[LinkName("IMG_isWEBP")]
public static extern int32 isWEBP(SDL.RWOps* src);
[LinkName("IMG_LoadAVIF_RW")]
public static extern SDL.Surface* LoadAVIF_RW(SDL.RWOps* src);
[LinkName("IMG_LoadAVIF_RW")]
public static extern SDL.Surface* LoadAVIF_RW(SDL.RWOps* src);
[LinkName("IMG_LoadICO_RW")]
public static extern SDL.Surface* LoadICO_RW(SDL.RWOps* src);
[LinkName("IMG_LoadICO_RW")]
public static extern SDL.Surface* LoadICO_RW(SDL.RWOps* src);
[LinkName("IMG_LoadCUR_RW")]
public static extern SDL.Surface* LoadCUR_RW(SDL.RWOps* src);
[LinkName("IMG_LoadCUR_RW")]
public static extern SDL.Surface* LoadCUR_RW(SDL.RWOps* src);
[LinkName("IMG_LoadBMP_RW")]
public static extern SDL.Surface* LoadBMP_RW(SDL.RWOps* src);
[LinkName("IMG_LoadBMP_RW")]
public static extern SDL.Surface* LoadBMP_RW(SDL.RWOps* src);
[LinkName("IMG_LoadGIF_RW")]
public static extern SDL.Surface* LoadGIF_RW(SDL.RWOps* src);
[LinkName("IMG_LoadGIF_RW")]
public static extern SDL.Surface* LoadGIF_RW(SDL.RWOps* src);
[LinkName("IMG_LoadJPG_RW")]
public static extern SDL.Surface* LoadJPG_RW(SDL.RWOps* src);
[LinkName("IMG_LoadJPG_RW")]
public static extern SDL.Surface* LoadJPG_RW(SDL.RWOps* src);
[LinkName("IMG_LoadJXL_RW")]
public static extern SDL.Surface* LoadJXL_RW(SDL.RWOps* src);
[LinkName("IMG_LoadJXL_RW")]
public static extern SDL.Surface* LoadJXL_RW(SDL.RWOps* src);
[LinkName("IMG_LoadLBM_RW")]
public static extern SDL.Surface* LoadLBM_RW(SDL.RWOps* src);
[LinkName("IMG_LoadLBM_RW")]
public static extern SDL.Surface* LoadLBM_RW(SDL.RWOps* src);
[LinkName("IMG_LoadPCX_RW")]
public static extern SDL.Surface* LoadPCX_RW(SDL.RWOps* src);
[LinkName("IMG_LoadPCX_RW")]
public static extern SDL.Surface* LoadPCX_RW(SDL.RWOps* src);
[LinkName("IMG_LoadPNG_RW")]
public static extern SDL.Surface* LoadPNG_RW(SDL.RWOps* src);
[LinkName("IMG_LoadPNG_RW")]
public static extern SDL.Surface* LoadPNG_RW(SDL.RWOps* src);
[LinkName("IMG_LoadPNM_RW")]
public static extern SDL.Surface* LoadPNM_RW(SDL.RWOps* src);
[LinkName("IMG_LoadPNM_RW")]
public static extern SDL.Surface* LoadPNM_RW(SDL.RWOps* src);
[LinkName("IMG_LoadSVG_RW")]
public static extern SDL.Surface* LoadSVG_RW(SDL.RWOps* src);
[LinkName("IMG_LoadSVG_RW")]
public static extern SDL.Surface* LoadSVG_RW(SDL.RWOps* src);
[LinkName("IMG_LoadQOI_RW")]
public static extern SDL.Surface* LoadQOI_RW(SDL.RWOps* src);
[LinkName("IMG_LoadQOI_RW")]
public static extern SDL.Surface* LoadQOI_RW(SDL.RWOps* src);
[LinkName("IMG_LoadTGA_RW")]
public static extern SDL.Surface* LoadTGA_RW(SDL.RWOps* src);
[LinkName("IMG_LoadTGA_RW")]
public static extern SDL.Surface* LoadTGA_RW(SDL.RWOps* src);
[LinkName("IMG_LoadTIF_RW")]
public static extern SDL.Surface* LoadTIF_RW(SDL.RWOps* src);
[LinkName("IMG_LoadTIF_RW")]
public static extern SDL.Surface* LoadTIF_RW(SDL.RWOps* src);
[LinkName("IMG_LoadXCF_RW")]
public static extern SDL.Surface* LoadXCF_RW(SDL.RWOps* src);
[LinkName("IMG_LoadXCF_RW")]
public static extern SDL.Surface* LoadXCF_RW(SDL.RWOps* src);
[LinkName("IMG_LoadXPM_RW")]
public static extern SDL.Surface* LoadXPM_RW(SDL.RWOps* src);
[LinkName("IMG_LoadXPM_RW")]
public static extern SDL.Surface* LoadXPM_RW(SDL.RWOps* src);
[LinkName("IMG_LoadXV_RW")]
public static extern SDL.Surface* LoadXV_RW(SDL.RWOps* src);
[LinkName("IMG_LoadXV_RW")]
public static extern SDL.Surface* LoadXV_RW(SDL.RWOps* src);
[LinkName("IMG_LoadWEBP_RW")]
public static extern SDL.Surface* LoadWEBP_RW(SDL.RWOps* src);
[LinkName("IMG_LoadWEBP_RW")]
public static extern SDL.Surface* LoadWEBP_RW(SDL.RWOps* src);
[LinkName("IMG_LoadSizedSVG_RW")]
public static extern SDL.Surface* LoadSizedSVG_RW(SDL.RWOps* src, int32 width, int32 height);
[LinkName("IMG_LoadSizedSVG_RW")]
public static extern SDL.Surface* LoadSizedSVG_RW(SDL.RWOps* src, int32 width, int32 height);
[LinkName("IMG_ReadXPMFromArrayToRGB888")]
public static extern SDL.Surface* ReadXPMFromArrayToRGB888(char8** xpm);
@ -242,28 +242,28 @@ namespace SDL2
int32 quality
);
[CRepr]
public struct Animation
{
public int32 w;
public int32 h;
public SDL.Surface** frames;
public int32* delays;
}
[CRepr]
public struct Animation
{
public int32 w;
public int32 h;
public SDL.Surface** frames;
public int32* delays;
}
[LinkName("IMG_LoadAnimation")]
public static extern Animation* LoadAnimation(char8* file);
[LinkName("IMG_LoadAnimation")]
public static extern Animation* LoadAnimation(char8* file);
[LinkName("IMG_LoadAnimation_RW")]
public static extern Animation* LoadAnimation(SDL.RWOps* src, int32 freesrc);
[LinkName("IMG_LoadAnimation_RW")]
public static extern Animation* LoadAnimation(SDL.RWOps* src, int32 freesrc);
[LinkName("IMG_LoadAnimationTyped_RW")]
public static extern Animation* LoadAnimationTyped_RW(SDL.RWOps* src, int32 freesrc, char8* type);
[LinkName("IMG_LoadAnimationTyped_RW")]
public static extern Animation* LoadAnimationTyped_RW(SDL.RWOps* src, int32 freesrc, char8* type);
[LinkName("IMG_FreeAnimation")]
public static extern void IMG_FreeAnimation(Animation* anim);
[LinkName("IMG_FreeAnimation")]
public static extern void IMG_FreeAnimation(Animation* anim);
[LinkName("IMG_LoadGIFAnimation_RW")]
public static extern Animation* LoadGIFAnimation_RW(SDL.RWOps *src);
[LinkName("IMG_LoadGIFAnimation_RW")]
public static extern Animation* LoadGIFAnimation_RW(SDL.RWOps *src);
}
}

View file

@ -61,7 +61,7 @@ namespace SDL2
Mp3 = 0x00000008,
Ogg = 0x00000010,
Mid = 0x00000020,
Opus = 0x00000040,
Opus = 0x00000040,
}
public enum Fading
@ -83,13 +83,13 @@ namespace SDL2
Mp3Mad,
Flac,
Modplug,
Opus
Opus
}
public function void MixFuncDelegate(void* udata, uint8* stream, int32 len);
public function void Mix_EffectFunc_t(int32 chan, void* stream, int32 len, void* udata);
public function void Mix_EffectDone_t(int32 chan, void* udata);
public function void MusicFinishedDelegate();
@ -107,7 +107,7 @@ namespace SDL2
[LinkName("Version ")]
public static extern SDL.Version MIX_Linked_Version();
[LinkName("Mix_Init")]
public static extern int32 Init(MIX_InitFlags flags);
@ -288,13 +288,13 @@ namespace SDL2
int32 ticks
);
/* chunk refers to a Mix_Chunk* */
[LinkName("Mix_PlayChannel")]
public static extern int32 PlayChannel(
int32 channel,
Chunk* chunk,
int32 loops
);
/* chunk refers to a Mix_Chunk* */
[LinkName("Mix_PlayChannel")]
public static extern int32 PlayChannel(
int32 channel,
Chunk* chunk,
int32 loops
);
[LinkName("Mix_PlayMusic")]
public static extern int32 PlayMusic(Music* music, int32 loops);
@ -414,17 +414,17 @@ namespace SDL2
[LinkName("Mix_GetMusicPosition")]
public static extern double GetMusicPosition(Music* music);
[LinkName("Mix_MusicDuration")]
public static extern double MusicDuration(Music* music);
[LinkName("Mix_MusicDuration")]
public static extern double MusicDuration(Music* music);
[LinkName("Mix_GetMusicLoopStartTime")]
public static extern double GetMusicLoopStartTime(Music* music);
[LinkName("Mix_GetMusicLoopStartTime")]
public static extern double GetMusicLoopStartTime(Music* music);
[LinkName("Mix_GetMusicLoopEndTime")]
public static extern double GetMusicLoopEndTime(Music* music);
[LinkName("Mix_GetMusicLoopEndTime")]
public static extern double GetMusicLoopEndTime(Music* music);
[LinkName("Mix_GetMusicLoopLengthTime")]
public static extern double GetMusicLoopLengthTime(Music* music);
[LinkName("Mix_GetMusicLoopLengthTime")]
public static extern double GetMusicLoopLengthTime(Music* music);
[LinkName("Mix_Playing")]
public static extern int32 Playing(int32 channel);
@ -443,7 +443,7 @@ namespace SDL2
[LinkName("Mix_SetSoundFonts")]
public static extern int32 SetSoundFonts(char8* paths);
[LinkName("Mix_GetSoundFonts")]
public static extern char8* GetSoundFonts();

View file

@ -23,7 +23,7 @@
* Ethan "flibitijibibo" Lee <flibitijibibo@flibitijibibo.com>
*
*/
using System;
namespace SDL2
@ -51,12 +51,12 @@ namespace SDL2
public const int32 TTF_HINTING_LIGHT = 1;
public const int32 TTF_HINTING_MONO = 2;
public const int32 TTF_HINTING_NONE = 3;
public const int32 TTF_HINTING_LIGHT_SUBPIXEL = 4;
public const int32 TTF_HINTING_LIGHT_SUBPIXEL = 4;
public const int32 TTF_DIRECTION_LTR = 0;
public const int32 TTF_DIRECTION_RTL = 1;
public const int32 TTF_DIRECTION_TTB = 2;
public const int32 TTF_DIRECTION_BTT = 3;
public const int32 TTF_DIRECTION_LTR = 0;
public const int32 TTF_DIRECTION_RTL = 1;
public const int32 TTF_DIRECTION_TTB = 2;
public const int32 TTF_DIRECTION_BTT = 3;
public static void SDL_TTF_VERSION(out SDL.Version X)
{
@ -111,52 +111,52 @@ namespace SDL2
int64 index
);
[LinkName("TTF_OpenFontDPI")]
public static extern Font* OpenFontDPI(
char8* file,
int32 ptsize,
uint32 hdpi,
uint32 vdpi
);
[LinkName("TTF_OpenFontDPI")]
public static extern Font* OpenFontDPI(
char8* file,
int32 ptsize,
uint32 hdpi,
uint32 vdpi
);
[LinkName("TTF_OpenFontIndexDPI")]
public static extern Font* OpenFontIndexDPI(
char8* file,
int32 ptsize,
int32 index,
uint32 hdpi,
uint32 vdpi
);
[LinkName("TTF_OpenFontIndexDPI")]
public static extern Font* OpenFontIndexDPI(
char8* file,
int32 ptsize,
int32 index,
uint32 hdpi,
uint32 vdpi
);
[LinkName("TTF_OpenFontDPIRW")]
public static extern Font* OpenFontDPIRW(
SDL.RWOps* src,
int32 freesrc,
int32 ptsize,
uint32 hdpi,
uint32 vdpi
);
[LinkName("TTF_OpenFontDPIRW")]
public static extern Font* OpenFontDPIRW(
SDL.RWOps* src,
int32 freesrc,
int32 ptsize,
uint32 hdpi,
uint32 vdpi
);
[LinkName("TTF_OpenFontIndexDPIRW")]
public static extern Font* OpenFontIndexDPIRW(
SDL.RWOps* src,
int32 freesrc,
int32 ptsize,
int32 index,
uint32 hdpi,
uint32 vdpi
);
[LinkName("TTF_OpenFontIndexDPIRW")]
public static extern Font* OpenFontIndexDPIRW(
SDL.RWOps* src,
int32 freesrc,
int32 ptsize,
int32 index,
uint32 hdpi,
uint32 vdpi
);
[LinkName("TTF_SetFontSizeDPI")]
public static extern int32 SetFontSizeDPI(
Font* font,
int32 ptsize,
uint32 hdpi,
uint32 vdpi
);
[LinkName("TTF_SetFontSizeDPI")]
public static extern int32 SetFontSizeDPI(
Font* font,
int32 ptsize,
uint32 hdpi,
uint32 vdpi
);
public struct Font;
[LinkName("TTF_GetFontStyle")]
public static extern int32 GetFontStyle(Font* font);
@ -168,7 +168,7 @@ namespace SDL2
[LinkName("TTF_SetFontOutline")]
public static extern void SetFontOutline(Font* font, int32 outline);
[LinkName("TTF_GetFontHinting")]
public static extern int32 GetFontHinting(Font* font);
@ -183,7 +183,7 @@ namespace SDL2
[LinkName("TTF_FontHeight")]
public static extern int32 FontHeight(Font* font);
[LinkName("TTF_FontAscent")]
public static extern int32 FontAscent(Font* font);
@ -198,10 +198,10 @@ namespace SDL2
[LinkName("TTF_SetFontKerning")]
public static extern void SetFontKerning(Font* font, int32 allowed);
[LinkName("TTF_FontFaces")]
public static extern int64 FontFaces(Font* font);
[LinkName("TTF_FontFaceIsFixedWidth")]
public static extern int32 FontFaceIsFixedWidth(Font* font);
@ -210,10 +210,10 @@ namespace SDL2
[LinkName("TTF_FontFaceStyleName")]
public static extern char8* FontFaceStyleName(Font* font);
[LinkName("TTF_GlyphIsProvided")]
public static extern int32 GlyphIsProvided(Font* font, uint16 ch);
[LinkName("TTF_GlyphIsProvided32")]
public static extern int32 GlyphIsProvided32(Font* font, uint32 ch);
@ -228,16 +228,16 @@ namespace SDL2
out int32 advance
);
[LinkName("TTF_GlyphMetrics32")]
public static extern int32 GlyphMetrics32(
Font* font,
uint32 ch,
out int32 minx,
out int32 maxx,
out int32 miny,
out int32 maxy,
out int32 advance
);
[LinkName("TTF_GlyphMetrics32")]
public static extern int32 GlyphMetrics32(
Font* font,
uint32 ch,
out int32 minx,
out int32 maxx,
out int32 miny,
out int32 maxy,
out int32 advance
);
[LinkName("TTF_SizeText")]
public static extern int32 SizeText(
@ -263,32 +263,32 @@ namespace SDL2
out int32 h
);
[LinkName("TTF_MeasureText")]
public static extern int32 MeasureText(
Font* font,
char8* text,
int32 measure_width,
out int32 extent,
out int32 count
);
[LinkName("TTF_MeasureText")]
public static extern int32 MeasureText(
Font* font,
char8* text,
int32 measure_width,
out int32 extent,
out int32 count
);
[LinkName("TTF_MeasureUTF8")]
public static extern int32 MeasureUTF8(
Font* font,
char8* text,
int32 measure_width,
out int32 extent,
out int32 count
);
[LinkName("TTF_MeasureUTF8")]
public static extern int32 MeasureUTF8(
Font* font,
char8* text,
int32 measure_width,
out int32 extent,
out int32 count
);
[LinkName("TTF_MeasureUNICODE")]
public static extern int32 MeasureUNICODE(
Font* font,
char16* text,
int32 measure_width,
out int32 extent,
out int32 count
);
[LinkName("TTF_MeasureUNICODE")]
public static extern int32 MeasureUNICODE(
Font* font,
char16* text,
int32 measure_width,
out int32 extent,
out int32 count
);
[LinkName("TTF_RenderText_Solid")]
public static extern SDL.Surface* RenderText_Solid(
@ -316,24 +316,24 @@ namespace SDL2
Font* font,
char8* text,
SDL.Color fg,
uint32 wrapLength
uint32 wrapLength
);
[LinkName("TTF_RenderUTF8_Solid_Wrapped")]
public static extern SDL.Surface* RenderUTF8_Solid_Wrapped(
Font* font,
char8* text,
SDL.Color fg,
uint32 wrapLength
);
[LinkName("TTF_RenderUTF8_Solid_Wrapped")]
public static extern SDL.Surface* RenderUTF8_Solid_Wrapped(
Font* font,
char8* text,
SDL.Color fg,
uint32 wrapLength
);
[LinkName("TTF_RenderUNICODE_Solid_Wrapped")]
public static extern SDL.Surface* RenderUNICODE_Solid_Wrapped(
Font* font,
char16* text,
SDL.Color fg,
uint32 wrapLength
);
[LinkName("TTF_RenderUNICODE_Solid_Wrapped")]
public static extern SDL.Surface* RenderUNICODE_Solid_Wrapped(
Font* font,
char16* text,
SDL.Color fg,
uint32 wrapLength
);
[LinkName("TTF_RenderGlyph_Solid")]
public static extern SDL.Surface* RenderGlyph_Solid(
@ -379,7 +379,7 @@ namespace SDL2
char8* text,
SDL.Color fg,
SDL.Color bg,
uint32 wrappedLength
uint32 wrappedLength
);
[LinkName("TTF_RenderUTF8_Shaded_Wrapped")]
@ -388,7 +388,7 @@ namespace SDL2
char8* text,
SDL.Color fg,
SDL.Color bg,
uint32 wrappedLength
uint32 wrappedLength
);
[LinkName("TTF_RenderUNICODE_Shaded_Wrapped")]
@ -397,7 +397,7 @@ namespace SDL2
char16* text,
SDL.Color fg,
SDL.Color bg,
uint32 wrappedLength
uint32 wrappedLength
);
[LinkName("TTF_RenderGlyph_Shaded")]
@ -478,69 +478,69 @@ namespace SDL2
[LinkName("TTF_RenderText_LCD")]
public static extern SDL.Surface* RenderText_LCD(
Font* font,
char8* text,
char8* text,
SDL.Color fg,
SDL.Color bg
SDL.Color bg
);
[LinkName("TTF_RenderUTF8_LCD")]
public static extern SDL.Surface* RenderUTF8_LCD(
Font* font,
char8* text,
char8* text,
SDL.Color fg,
SDL.Color bg
SDL.Color bg
);
[LinkName("TTF_RenderUNICODE_LCD")]
public static extern SDL.Surface* RenderUNICODE_LCD(
Font* font,
char16* text,
char16* text,
SDL.Color fg,
SDL.Color bg
SDL.Color bg
);
[LinkName("TTF_RenderText_LCD_Wrapped")]
public static extern SDL.Surface* RenderText_LCD_Wrapped(
Font* font,
char8* text,
SDL.Color fg,
SDL.Color bg,
uint32 wrapLength
);
[LinkName("TTF_RenderText_LCD_Wrapped")]
public static extern SDL.Surface* RenderText_LCD_Wrapped(
Font* font,
char8* text,
SDL.Color fg,
SDL.Color bg,
uint32 wrapLength
);
[LinkName("TTF_RenderUTF8_LCD_Wrapped")]
public static extern SDL.Surface* RenderUTF8_LCD_Wrapped(
Font* font,
char8* text,
SDL.Color fg,
SDL.Color bg,
uint32 wrapLength
);
[LinkName("TTF_RenderUTF8_LCD_Wrapped")]
public static extern SDL.Surface* RenderUTF8_LCD_Wrapped(
Font* font,
char8* text,
SDL.Color fg,
SDL.Color bg,
uint32 wrapLength
);
[LinkName("TTF_RenderUNICODE_LCD_Wrapped")]
public static extern SDL.Surface* RenderUNICODE_LCD_Wrapped(
Font* font,
char16* text,
SDL.Color fg,
SDL.Color bg,
uint32 wrapLength
);
[LinkName("TTF_RenderUNICODE_LCD_Wrapped")]
public static extern SDL.Surface* RenderUNICODE_LCD_Wrapped(
Font* font,
char16* text,
SDL.Color fg,
SDL.Color bg,
uint32 wrapLength
);
[LinkName("TTF_RenderGlyph_LCD")]
public static extern SDL.Surface* RenderGlyph_LCD(
Font* font,
char16 ch,
SDL.Color fg,
SDL.Color bg
);
[LinkName("TTF_RenderGlyph_LCD")]
public static extern SDL.Surface* RenderGlyph_LCD(
Font* font,
char16 ch,
SDL.Color fg,
SDL.Color bg
);
[LinkName("TTF_RenderGlyph32_LCD")]
public static extern SDL.Surface* RenderGlyph32_LCD(
Font* font,
char32 ch,
SDL.Color fg,
SDL.Color bg
);
[LinkName("TTF_RenderGlyph32_LCD")]
public static extern SDL.Surface* RenderGlyph32_LCD(
Font* font,
char32 ch,
SDL.Color fg,
SDL.Color bg
);
[LinkName("TTF_CloseFont")]
public static extern void CloseFont(Font* font);
@ -561,14 +561,14 @@ namespace SDL2
[LinkName("TTF_GetFontKerningSizeGlyphs")]
public static extern int32 GetFontKerningSizeGlyphs(
Font* font,
char16 previous_ch,
char16 previous_ch,
char16 ch
);
[LinkName("TTF_SetFontSDF")]
public static extern int32 SetFontSDF(
Font* font,
SDL.Bool on_off
SDL.Bool on_off
);
[LinkName("TTF_GetFontSDF")]
@ -588,13 +588,13 @@ namespace SDL2
[LinkName("TTF_SetFontDirection")]
public static extern int32 SetFontDirection(
Font* font,
Font* font,
int32 direction
);
[LinkName("TTF_SetFontScriptName")]
public static extern int32 SetFontScriptName(
Font* font,
Font* font,
char8* script
);
}