Changeset 33017 in project


Ignore:
Timestamp:
12/20/15 13:24:39 (6 years ago)
Author:
John Croisant
Message:

sdl2: Fixed some out-of-date return types.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/eggref/4/sdl2

    r33015 r33017  
    30993099
    31003100
    3101 <procedure>(blit-surface! src src-rect dest dest-rect) â†’ fixnum</procedure>
     3101<procedure>(blit-surface! src src-rect dest dest-rect)</procedure>
    31023102
    31033103See [[https://wiki.libsdl.org/SDL_BlitSurface|SDL_BlitSurface]].
     
    31083108
    31093109
    3110 <procedure>(blit-scaled! src src-rect dest dest-rect) â†’ fixnum</procedure>
     3110<procedure>(blit-scaled! src src-rect dest dest-rect)</procedure>
    31113111
    31123112See [[https://wiki.libsdl.org/SDL_BlitScaled|SDL_BlitScaled]].
     
    31173117
    31183118
    3119 <procedure>(fill-rect! surface rect color) â†’ fixnum</procedure>
     3119<procedure>(fill-rect! surface rect color)</procedure>
    31203120
    31213121See [[https://wiki.libsdl.org/SDL_FillRect|SDL_FillRect]].
     
    31303130
    31313131
    3132 <procedure>(fill-rects! surface rects color) â†’ fixnum</procedure>
     3132<procedure>(fill-rects! surface rects color)</procedure>
    31333133
    31343134See [[https://wiki.libsdl.org/SDL_FillRects|SDL_FillRects]].
     
    32103210
    32113211
    3212 <procedure>(make-surface width height depth) → sdl2:surface or #f</procedure>
    3213 <procedure>(make-surface* width height depth) → sdl2:surface or #f</procedure>
    3214 
    3215 Create a new sdl2:surface with the given width, height, and
    3216 color depth (bits per pixel). This is a more convenient interface for
    3217 {{create-rgb-surface}}. The sdl2:surface's pixel format and masks will
    3218 be chosen automatically based on the requested depth and the current
    3219 platform's byte order (little endian or big endian). Returns #f if the
    3220 sdl2:surface could not be created (e.g. because the color depth is
    3221 unsupported).
     3212<procedure>(make-surface width height depth) → sdl2:surface</procedure>
     3213<procedure>(make-surface* width height depth) → sdl2:surface</procedure>
     3214
     3215Create a new sdl2:surface with the given width, height, and color depth (bits per pixel).
     3216This is a more convenient interface for {{create-rgb-surface}}.
     3217The sdl2:surface's pixel format and masks will be chosen automatically
     3218based on the requested depth and the current platform's byte order (little endian or big endian).
     3219
     3220These procedures signal an exception of kind {{(exn sdl2)}}
     3221if the sdl2:surface could not be created (e.g. because the color depth is unsupported).
    32223222
    32233223* {{make-surface}} returns a managed sdl2:surface.
Note: See TracChangeset for help on using the changeset viewer.