Documentation ¶
Index ¶
- Constants
- func GetError() error
- func Init(flags int) int
- func IsBMP(src *sdl.RWops) bool
- func IsCUR(src *sdl.RWops) bool
- func IsGIF(src *sdl.RWops) bool
- func IsICO(src *sdl.RWops) bool
- func IsJPG(src *sdl.RWops) bool
- func IsLBM(src *sdl.RWops) bool
- func IsPCX(src *sdl.RWops) bool
- func IsPNG(src *sdl.RWops) bool
- func IsPNM(src *sdl.RWops) bool
- func IsTIF(src *sdl.RWops) bool
- func IsWEBP(src *sdl.RWops) bool
- func IsXCF(src *sdl.RWops) bool
- func IsXPM(src *sdl.RWops) bool
- func IsXV(src *sdl.RWops) bool
- func LinkedVersion() *sdl.Version
- func Load(file string) (*sdl.Surface, error)
- func LoadBMP_RW(src *sdl.RWops) (*sdl.Surface, error)
- func LoadCUR_RW(src *sdl.RWops) (*sdl.Surface, error)
- func LoadGIF_RW(src *sdl.RWops) (*sdl.Surface, error)
- func LoadICO_RW(src *sdl.RWops) (*sdl.Surface, error)
- func LoadJPG_RW(src *sdl.RWops) (*sdl.Surface, error)
- func LoadLBM_RW(src *sdl.RWops) (*sdl.Surface, error)
- func LoadPCX_RW(src *sdl.RWops) (*sdl.Surface, error)
- func LoadPNG_RW(src *sdl.RWops) (*sdl.Surface, error)
- func LoadPNM_RW(src *sdl.RWops) (*sdl.Surface, error)
- func LoadTGA_RW(src *sdl.RWops) (*sdl.Surface, error)
- func LoadTIF_RW(src *sdl.RWops) (*sdl.Surface, error)
- func LoadTexture(renderer *sdl.Renderer, file string) (*sdl.Texture, error)
- func LoadTexture_RW(renderer *sdl.Renderer, src *sdl.RWops, freesrc bool) (*sdl.Texture, error)
- func LoadTyped_RW(src *sdl.RWops, freesrc bool, type_ string) (*sdl.Surface, error)
- func LoadWEBP_RW(src *sdl.RWops) (*sdl.Surface, error)
- func LoadXCF_RW(src *sdl.RWops) (*sdl.Surface, error)
- func LoadXPM_RW(src *sdl.RWops) (*sdl.Surface, error)
- func LoadXV_RW(src *sdl.RWops) (*sdl.Surface, error)
- func Load_RW(src *sdl.RWops, freesrc bool) (*sdl.Surface, error)
- func Quit()
- func ReadXPMFromArray(xpm string) (*sdl.Surface, error)
- func SavePNG(surface *sdl.Surface, file string) error
- func SavePNG_RW(surface *sdl.Surface, dst *sdl.RWops, freedst int) error
Constants ¶
const ( INIT_JPG = 0x00000001 INIT_PNG = 0x00000002 INIT_TIF = 0x00000004 INIT_WEBP = 0x00000008 )
Variables ¶
This section is empty.
Functions ¶
func GetError ¶
func GetError() error
GetError (http://www.libsdl.org/projects/SDL_image/docs/SDL_image_45.html)
func LinkedVersion ¶
LinkedVersion (http://www.libsdl.org/projects/SDL_image/docs/SDL_image_7.html)
func LoadBMP_RW ¶
LoadBMP_RW (http://www.libsdl.org/projects/SDL_image/docs/SDL_image_16.html)
func LoadCUR_RW ¶
LoadCUR_RW (http://www.libsdl.org/projects/SDL_image/docs/SDL_image_14.html)
func LoadGIF_RW ¶
LoadGIF_RW (http://www.libsdl.org/projects/SDL_image/docs/SDL_image_21.html)
func LoadICO_RW ¶
LoadICO_RW (http://www.libsdl.org/projects/SDL_image/docs/SDL_image_15.html)
func LoadJPG_RW ¶
LoadJPG_RW (http://www.libsdl.org/projects/SDL_image/docs/SDL_image_22.html)
func LoadLBM_RW ¶
LoadLBM_RW (http://www.libsdl.org/projects/SDL_image/docs/SDL_image_26.html)
func LoadPCX_RW ¶
LoadPCX_RW (http://www.libsdl.org/projects/SDL_image/docs/SDL_image_20.html)
func LoadPNG_RW ¶
LoadPNG_RW (http://www.libsdl.org/projects/SDL_image/docs/SDL_image_24.html)
func LoadPNM_RW ¶
LoadPNM_RW (http://www.libsdl.org/projects/SDL_image/docs/SDL_image_17.html)
func LoadTGA_RW ¶
LoadTGA_RW (http://www.libsdl.org/projects/SDL_image/docs/SDL_image_25.html)
func LoadTIF_RW ¶
LoadTIF_RW (http://www.libsdl.org/projects/SDL_image/docs/SDL_image_23.html)
func LoadTexture_RW ¶
func LoadTyped_RW ¶
LoadTyped_RW (http://www.libsdl.org/projects/SDL_image/docs/SDL_image_13.html)
func LoadXCF_RW ¶
LoadXCF_RW (http://www.libsdl.org/projects/SDL_image/docs/SDL_image_19.html)
func LoadXPM_RW ¶
LoadXPM_RW (http://www.libsdl.org/projects/SDL_image/docs/SDL_image_18.html)
func LoadXV_RW ¶
LoadXV_RW (http://www.libsdl.org/projects/SDL_image/docs/SDL_image_27.html)
func ReadXPMFromArray ¶
ReadXPMFromArray (http://www.libsdl.org/projects/SDL_image/docs/SDL_image_28.html)
Types ¶
This section is empty.