# Module sdl_image

# Imports

sdl

# Consts

    IMAGE_MAJOR_VERSION = 1

    IMAGE_MINOR_VERSION = 2

    IMAGE_PATCHLEVEL = 5

# Procs

    proc IMG_Linked_Version(): Pversion {.importc: "IMG_Linked_Version",
                                          dynlib: ImageLibName.}

    proc IMG_LoadTyped_RW(src: PRWops; freesrc: cint; theType: cstring): PSurface {.
        cdecl, importc: "IMG_LoadTyped_RW", dynlib: ImageLibName.}

    proc IMG_Load(theFile: cstring): PSurface {.cdecl, importc: "IMG_Load",
        dynlib: ImageLibName.}

    proc IMG_Load_RW(src: PRWops; freesrc: cint): PSurface {.cdecl,
        importc: "IMG_Load_RW", dynlib: ImageLibName.}

    proc IMG_InvertAlpha(theOn: cint): cint {.cdecl, importc: "IMG_InvertAlpha",
        dynlib: ImageLibName.}

    proc IMG_isBMP(src: PRWops): cint {.cdecl, importc: "IMG_isBMP",
                                        dynlib: ImageLibName.}

    proc IMG_isGIF(src: PRWops): cint {.cdecl, importc: "IMG_isGIF",
                                        dynlib: ImageLibName.}

    proc IMG_isJPG(src: PRWops): cint {.cdecl, importc: "IMG_isJPG",
                                        dynlib: ImageLibName.}

    proc IMG_isLBM(src: PRWops): cint {.cdecl, importc: "IMG_isLBM",
                                        dynlib: ImageLibName.}

    proc IMG_isPCX(src: PRWops): cint {.cdecl, importc: "IMG_isPCX",
                                        dynlib: ImageLibName.}

    proc IMG_isPNG(src: PRWops): cint {.cdecl, importc: "IMG_isPNG",
                                        dynlib: ImageLibName.}

    proc IMG_isPNM(src: PRWops): cint {.cdecl, importc: "IMG_isPNM",
                                        dynlib: ImageLibName.}

    proc IMG_isTIF(src: PRWops): cint {.cdecl, importc: "IMG_isTIF",
                                        dynlib: ImageLibName.}

    proc IMG_isXCF(src: PRWops): cint {.cdecl, importc: "IMG_isXCF",
                                        dynlib: ImageLibName.}

    proc IMG_isXPM(src: PRWops): cint {.cdecl, importc: "IMG_isXPM",
                                        dynlib: ImageLibName.}

    proc IMG_isXV(src: PRWops): cint {.cdecl, importc: "IMG_isXV",
                                       dynlib: ImageLibName.}

    proc IMG_LoadBMP_RW(src: PRWops): PSurface {.cdecl, importc: "IMG_LoadBMP_RW",
        dynlib: ImageLibName.}

    proc IMG_LoadGIF_RW(src: PRWops): PSurface {.cdecl, importc: "IMG_LoadGIF_RW",
        dynlib: ImageLibName.}

    proc IMG_LoadJPG_RW(src: PRWops): PSurface {.cdecl, importc: "IMG_LoadJPG_RW",
        dynlib: ImageLibName.}

    proc IMG_LoadLBM_RW(src: PRWops): PSurface {.cdecl, importc: "IMG_LoadLBM_RW",
        dynlib: ImageLibName.}

    proc IMG_LoadPCX_RW(src: PRWops): PSurface {.cdecl, importc: "IMG_LoadPCX_RW",
        dynlib: ImageLibName.}

    proc IMG_LoadPNM_RW(src: PRWops): PSurface {.cdecl, importc: "IMG_LoadPNM_RW",
        dynlib: ImageLibName.}

    proc IMG_LoadPNG_RW(src: PRWops): PSurface {.cdecl, importc: "IMG_LoadPNG_RW",
        dynlib: ImageLibName.}

    proc IMG_LoadTGA_RW(src: PRWops): PSurface {.cdecl, importc: "IMG_LoadTGA_RW",
        dynlib: ImageLibName.}

    proc IMG_LoadTIF_RW(src: PRWops): PSurface {.cdecl, importc: "IMG_LoadTIF_RW",
        dynlib: ImageLibName.}

    proc IMG_LoadXCF_RW(src: PRWops): PSurface {.cdecl, importc: "IMG_LoadXCF_RW",
        dynlib: ImageLibName.}

    proc IMG_LoadXPM_RW(src: PRWops): PSurface {.cdecl, importc: "IMG_LoadXPM_RW",
        dynlib: ImageLibName.}

    proc IMG_LoadXV_RW(src: PRWops): PSurface {.cdecl, importc: "IMG_LoadXV_RW",
        dynlib: ImageLibName.}

    proc IMG_ReadXPMFromArray(xpm: cstringArray): PSurface {.cdecl,
        importc: "IMG_ReadXPMFromArray", dynlib: ImageLibName.}

    proc IMAGE_VERSION(X: var Tversion) {.raises: [], tags: [].}

Generated: 2013-05-21 09:55:05 UTC