Changeset 33003 in project


Ignore:
Timestamp:
12/18/15 20:09:50 (4 years ago)
Author:
John Croisant
Message:

sdl2: Added rotate-surface-90* and flip-surface*.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/eggref/4/sdl2

    r32993 r33003  
    31503150
    31513151
    3152 <procedure>(rotate-surface-90 surface turns) → sdl2:surface</procedure>
     3152<procedure>(rotate-surface-90  surface turns) → sdl2:surface</procedure>
     3153<procedure>(rotate-surface-90* surface turns) → sdl2:surface</procedure>
    31533154
    31543155Return a copy of the given surface rotated by the given number of 90º clockwise turns.
     
    31673168Signals an exception of kind {{(exn sdl2)}} if an error occurs.
    31683169
    3169 
    3170 <procedure>(flip-surface surface flip-x? flip-y?) → sdl2:surface</procedure>
     3170* {{rotate-surface-90}} returns a managed sdl2:surface.
     3171* {{rotate-surface-90*}} returns an unmanaged sdl2:surface, which must be freed with {{free-surface!}} when you are done with it.
     3172
     3173
     3174<procedure>(flip-surface  surface flip-x? flip-y?) → sdl2:surface</procedure>
     3175<procedure>(flip-surface* surface flip-x? flip-y?) → sdl2:surface</procedure>
    31713176
    31723177Return a copy of the given surface flipped on the X (horizontal) and/or Y (vertical) axes.
     
    31773182
    31783183Signals an exception of kind {{(exn sdl2)}} if an error occurs.
     3184
     3185* {{flip-surface}} returns a managed sdl2:surface.
     3186* {{flip-surface*}} returns an unmanaged sdl2:surface, which must be freed with {{free-surface!}} when you are done with it.
     3187
    31793188
    31803189
Note: See TracChangeset for help on using the changeset viewer.