ATSLIB/contrib/SDL2/SDL


  • SDL_CreateRGBSurface
  • SDL_CreateRGBSurfaceFrom
  • SDL_FreeSurface
  • SDL_LoadBMP
  • SDL_SaveBMP
  • SDL_SetSurfaceColorMod
  • SDL_GetSurfaceColorMod

  • SDL_CreateRGBSurface

    Synopsis

    fun SDL_CreateRGBSurface
    (
      flags: Uint32
    , width: int, height: int, depth: int
    , Rmask: Uint32, Gmask: Uint32, Bmask: Uint32, Amask: Uint32
    ) : SDL_Surface_ptr0 = "mac#%" // end-of-fun

    SDL_CreateRGBSurfaceFrom

    Synopsis

    fun SDL_CreateRGBSurfaceFrom
    (
      pixes: ptr // not-freed by [FreeSurface]
    , width: int, height: int, depth: int, pitch: int
    , Rmask: Uint32, Gmask: Uint32, Bmask: Uint32, Amask: Uint32
    ) : SDL_Surface_ptr0 = "mac#%" // end-of-fun

    SDL_FreeSurface

    Synopsis

    fun SDL_FreeSurface (SDL_Surface_ptr0): void = "mac#%"

    SDL_LoadBMP

    Synopsis

    fun SDL_LoadBMP
      (path: string): SDL_Surface_ptr0 = "mac#%"

    SDL_SaveBMP

    Synopsis

    fun SDL_SaveBMP
      (!SDL_Surface_ptr1, path: string): int = "mac#%"

    SDL_SetSurfaceColorMod

    Synopsis

    fun SDL_SetSurfaceColorMod
    (
      !SDL_Surface_ptr1, r: Uint8, g: Uint8, b: Uint8
    ) : int = "mac#%" // end of [SDL_SetSurfaceColorMod]

    SDL_GetSurfaceColorMod

    Synopsis

    fun SDL_GetSurfaceColorMod
    (
      !SDL_Surface_ptr1, r: &Uint8? >> _, g: &Uint8? >> _, b: &Uint8? >> _
    ) : int = "mac#%" // end of [SDL_GetSurfaceColorMod]

    This page is created with ATS by Hongwei Xi and also maintained by Hongwei Xi. SourceForge.net Logo