4. Ring Documentation, Release 1.6
• int IMG_isPCX(SDL_RWops *src)
• int IMG_isGIF(SDL_RWops *src)
• int IMG_isJPG(SDL_RWops *src)
• int IMG_isTIF(SDL_RWops *src)
• int IMG_isPNG(SDL_RWops *src)
• int IMG_isLBM(SDL_RWops *src)
• int IMG_isXV(SDL_RWops *src)
• int TTF_Init(void)
• int TTF_WasInit(void)
• void TTF_Quit(void)
• TTF_Font *TTF_OpenFont(const char *file, int ptsize)
• TTF_Font *TTF_OpenFontRW(SDL_RWops *src, int freesrc, int ptsize)
• TTF_Font *TTF_OpenFontIndex(const char *file, int ptsize, long index)
• TTF_Font *TTF_OpenFontIndexRW(SDL_RWops *src, int freesrc, int ptsize, long index)
• void TTF_CloseFont(TTF_Font *font)
• void TTF_ByteSwappedUNICODE(int swapped)
• int TTF_GetFontStyle(TTF_Font *font)
• void TTF_SetFontStyle(TTF_Font *font, int style)
• int TTF_GetFontOutline(TTF_Font *font)
• void TTF_SetFontOutline(TTF_Font *font, int outline)
• int TTF_GetFontHinting(TTF_Font *font)
• void TTF_SetFontHinting(TTF_Font *font, int hinting)
• int TTF_GetFontKerning(TTF_Font *font)
• void TTF_SetFontKerning(TTF_Font *font, int allowed)
• int TTF_FontHeight(const TTF_Font *font)
• int TTF_FontAscent(const TTF_Font *font)
• int TTF_FontDescent(const TTF_Font *font)
• int TTF_FontLineSkip(const TTF_Font *font)
• long TTF_FontFaces(const TTF_Font *font)
• int TTF_FontFaceIsFixedWidth(const TTF_Font *font)
• char *TTF_FontFaceFamilyName(const TTF_Font *font)
• char *TTF_FontFaceStyleName(const TTF_Font *font)
• int TTF_GlyphIsProvided(const TTF_Font *font, Uint16 ch)
• int TTF_GlyphMetrics(TTF_Font *font, Uint16 ch, int *minx, int *maxx, int *miny, int *maxy, int *advance)
• int TTF_SizeText(TTF_Font *font, const char *text, int *w, int *h)
• int TTF_SizeUTF8(TTF_Font *font, const char *text, int *w, int *h)
876
5. Ring Documentation, Release 1.6
• int TTF_SizeUNICODE(TTF_Font *font, const Uint16 *text, int *w, int *h)
• SDL_Surface *TTF_RenderText_Solid(TTF_Font *font, const char *text, SDL_Color fg)
• SDL_Surface *TTF_RenderUTF8_Solid(TTF_Font *font, const char *text,SDL_Color fg)
• SDL_Surface *TTF_RenderUNICODE_Solid(TTF_Font *font, const Uint16 *text,SDL_Color fg)
• SDL_Surface *TTF_RenderGlyph_Solid(TTF_Font *font, Uint16 ch, SDL_Color fg)
• SDL_Surface *TTF_RenderText_Shaded(TTF_Font *font, const char *text,SDL_Color fg, SDL_Color bg)
• SDL_Surface *TTF_RenderUTF8_Shaded(TTF_Font *font, const char *text,SDL_Color fg, SDL_Color bg)
• SDL_Surface *TTF_RenderUNICODE_Shaded(TTF_Font *font, const Uint16 *text,SDL_Color fg,
SDL_Color bg)
• SDL_Surface *TTF_RenderGlyph_Shaded(TTF_Font *font, Uint16 ch, SDL_Color fg,SDL_Color bg)
• SDL_Surface *TTF_RenderText_Blended(TTF_Font *font, const char *text,SDL_Color fg)
• SDL_Surface *TTF_RenderUTF8_Blended(TTF_Font *font, const char *text,SDL_Color fg)
• SDL_Surface *TTF_RenderUNICODE_Blended(TTF_Font *font, const Uint16 *text,SDL_Color fg)
• SDL_Surface *TTF_RenderGlyph_Blended(TTF_Font *font, Uint16 ch, SDL_Color fg)
• int Mix_Init(int flags)
• void Mix_Quit(void)
• int Mix_OpenAudio(int frequency, Uint16 format, int channels, int chunksize)
• void Mix_CloseAudio(void)
• int Mix_QuerySpec(int *frequency, Uint16 *format, int *channels)
• int Mix_GetNumChunkDecoders(void)
• const char *Mix_GetChunkDecoder(int index)
• Mix_Chunk *Mix_LoadWAV(char *file)
• Mix_Chunk *Mix_LoadWAV_RW(SDL_RWops *src, int freesrc)
• Mix_Chunk *Mix_QuickLoad_WAV(Uint8 *mem)
• void Mix_FreeChunk(Mix_Chunk *chunk)
• int Mix_AllocateChannels(int numchans)
• int Mix_Volume(int channel, int volume)
• int Mix_PlayChannel(int channel, Mix_Chunk *chunk, int loops)
• int Mix_PlayChannelTimed(int channel, Mix_Chunk *chunk, int loops, int ticks)
• int Mix_FadeInChannel(int channel, Mix_Chunk *chunk, int loops, int ms)
• int Mix_FadeInChannelTimed(int channel, Mix_Chunk *chunk,int loops, int ms, int ticks)
• void Mix_Pause(int channel)
• void Mix_Resume(int channel)
• int Mix_HaltChannel(int channel)
• int Mix_ExpireChannel(int channel, int ticks)
• int Mix_FadeOutChannel(int channel, int ms)
877
6. Ring Documentation, Release 1.6
• int Mix_Paused(int channel)
• Mix_Fading Mix_FadingChannel(int which)
• Mix_Chunk *Mix_GetChunk(int channel)
• int Mix_ReserveChannels(int num)
• int Mix_GroupChannel(int which, int tag)
• int Mix_GroupChannels(int from, int to, int tag)
• int Mix_GroupCount(int tag)
• int Mix_GroupAvailable(int tag)
• int Mix_GroupOldest(int tag)
• int Mix_GroupNewer(int tag)
• int Mix_FadeOutGroup(int tag, int ms)
• int Mix_HaltGroup(int tag)
• int Mix_GetNumMusicDecoders(void)
• const char *Mix_GetMusicDecoder(int index)
• Mix_Music *Mix_LoadMUS(const char *file)
• void Mix_FreeMusic(Mix_Music *music)
• int Mix_PlayMusic(Mix_Music *music, int loops)
• int Mix_FadeInMusic(Mix_Music *music, int loops, int ms)
• int Mix_FadeInMusicPos(Mix_Music *music, int loops, int ms, double position)
• int Mix_PlayingMusic(void)
• int Mix_PausedMusic(void)
• Mix_Fading Mix_FadingMusic(void)
• void *Mix_GetMusicHookData(void)
• int Mix_RegisterEffect(int chan, Mix_EffectFunc_t f, Mix_EffectDone_t d,void *arg)
• int Mix_UnregisterEffect(int channel, Mix_EffectFunc_t f)
• int Mix_UnregisterAllEffects(int channel)
• int Mix_SetDistance(int channel, Uint8 distance)
• int Mix_SetPosition(int channel, Sint16 angle, Uint8 distance)
• int Mix_SetReverseStereo(int channel, int flip)
• int SDLNet_Init(void)
• void SDLNet_Quit(void)
• char *SDLNet_GetError(void)
• void SDLNet_Write16(Uint16 value, void *area)
• void SDLNet_Write32(Uint32 value, void *area)
• Uint16 SDLNet_Read16(void *area)
• Uint32 SDLNet_Read32(void *area)
878
7. Ring Documentation, Release 1.6
• int SDLNet_ResolveHost(IPaddress *address, const char *host, Uint16 port)
• const char *SDLNet_ResolveIP(IPaddress *address)
• TCPsocket SDLNet_TCP_Open(IPaddress *ip)
• void SDLNet_TCP_Close(TCPsocket sock)
• TCPsocket SDLNet_TCP_Accept(TCPsocket server)
• IPaddress *SDLNet_TCP_GetPeerAddress(TCPsocket sock)
• int SDLNet_TCP_Send(TCPsocket sock, const void *data, int len)
• int SDLNet_TCP_Recv(TCPsocket sock, void *data, int maxlen)
• UDPsocket SDLNet_UDP_Open(Uint16 port)
• void SDLNet_UDP_Close(UDPsocket sock)
• int SDLNet_UDP_Bind(UDPsocket sock, int channel, IPaddress *address)
• void SDLNet_UDP_Unbind(UDPsocket sock, int channel)
• IPaddress *SDLNet_UDP_GetPeerAddress(UDPsocket sock, int channel)
• int SDLNet_UDP_Send(UDPsocket sock, int channel, UDPpacket *packet)
• int SDLNet_UDP_Recv(UDPsocket sock, UDPpacket *packet)
• int SDLNet_UDP_SendV(UDPsocket sock, UDPpacket **packetV, int npackets)
• int SDLNet_UDP_RecvV(UDPsocket sock, UDPpacket **packetV)
• UDPpacket *SDLNet_AllocPacket(int size)
• int SDLNet_ResizePacket(UDPpacket *packet, int size)
• void SDLNet_FreePacket(UDPpacket *packet)
• UDPpacket **SDLNet_AllocPacketV(int howmany, int size)
• void SDLNet_FreePacketV(UDPpacket **packetV)
• SDLNet_SocketSet SDLNet_AllocSocketSet(int maxsockets)
• void SDLNet_FreeSocketSet(SDLNet_SocketSet set)
• int SDLNet_AddSocket(SDLNet_SocketSet set, SDLNet_GenericSocket sock)
• int SDLNet_TCP_AddSocket(SDLNet_SocketSet set, TCPsocket sock)
• int SDLNet_UDP_AddSocket(SDLNet_SocketSet set, UDPsocket sock)
• int SDLNet_DelSocket(SDLNet_SocketSet set, SDLNet_GenericSocket sock)
• int SDLNet_TCP_DelSocket(SDLNet_SocketSet set, TCPsocket sock)
• int SDLNet_UDP_DelSocket(SDLNet_SocketSet set, UDPsocket sock)
• int SDLNet_CheckSockets(SDLNet_SocketSet set, Uint32 timeout)
• int SDLNet_SocketReady(TCPsocket sock)
• int circleRGBA(SDL_Renderer * renderer, Sint16 x, Sint16 y, Sint16 rad, Uint8 r, Uint8 g, Uint8 b, Uint8 a)
879