ATSLIB/contrib/SDL2/SDL


  • SDL_CreateRenderer
  • SDL_DestroyRenderer
  • SDL_SetRenderDrawColor
  • SDL_GetRenderDrawColor
  • SDL_RenderClear
  • SDL_RenderPresent

  • SDL_CreateRenderer

    Synopsis

    fun SDL_CreateRenderer
    (
      window: !SDL_Window_ptr1, index: int, flags: Uint32
    ) : SDL_Renderer_ptr0 = "mac#%" // end-of-fun

    SDL_DestroyRenderer

    Synopsis

    fun SDL_DestroyRenderer (SDL_Renderer_ptr0): void = "mac#%"

    SDL_SetRenderDrawColor

    Synopsis

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

    SDL_GetRenderDrawColor

    Synopsis

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

    SDL_RenderClear

    Synopsis

    fun SDL_RenderClear
      (renderer: !SDL_Renderer_ptr1): int = "mac#%" // HX: succ/fail: 0/-1

    SDL_RenderPresent

    Synopsis

    fun SDL_RenderPresent (renderer: !SDL_Renderer_ptr1): void = "mac#%"

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