phpsdl-ng Reference

Dimitri Giardina


Table of Contents

1. all functions Reference
sdl_init — Initializes SDL
sdl_initsubsystem — Initialize subsystems
sdl_quitsubsystem — Shut down a subsystem
sdl_wasinit — Check which subsystems are initialized
sdl_quit — Shut down SDL
sdl_geterror — Get SDL error string
sdl_mustlock — Test if surface must be locked
sdl_getvideosurface — returns a pointer to the current display surface
sdl_getvideoinfo — returns a pointer to information about the video hardware
sdl_videodrivername — Obtain the name of the video driver
sdl_listmodes — Here Description2
sdl_videomodeok — Check to see if a particular video mode is supported
sdl_setvideomode — Set up a video mode with the specified width, height and bits-per-pixel.
sdl_updaterect — Makes sure the given area is updated on the given screen.
sdl_updaterects — Makes sure the given list of rectangles is updated on the given screen.
sdl_flip — Swaps screen buffers
sdl_setcolors — Sets a portion of the colormap for the given 8-bit surface.
sdl_setpalette — Sets the colors in the palette of an 8-bit surface.
sdl_setgamma — Here Description2
sdl_getgammaramp — Here Description2
sdl_setgammaramp — Here Description2
sdl_maprgb — Here Description2
sdl_maprgba — Here Description2
sdl_getrgb — Here Description2
sdl_getrgba — Here Description2
sdl_creatergbsurface — Here Description2
sdl_creatergbsurfacefrom — Here Description2
sdl_freesurface — Here Description2
sdl_locksurface — Here Description2
sdl_unlocksurface — Here Description2
sdl_loadbmp — Here Description2
sdl_savebmp — Here Description2
sdl_setcolorkey — Here Description2
sdl_setalpha — Here Description2
sdl_setcliprect — Here Description2
sdl_getcliprect — Here Description2
sdl_convertsurface — Here Description2
sdl_blitsurface — Here Description2
sdl_fillrect — Here Description2
sdl_displayformat — Here Description2
sdl_displayformatalpha — Here Description2
sdl_warpmouse — Here Description2
sdl_createcursor — Here Description2
sdl_freecursor — Here Description2
sdl_setcursor — Here Description2
sdl_getcursor — Here Description2
sdl_showcursor — Here Description2
sdl_gl_loadlibrary — Here Description2
sdl_gl_getprocaddress — Here Description2
sdl_gl_getattribute — Here Description2
sdl_gl_setattribute — Here Description2
sdl_gl_swapbuffers — Here Description2
sdl_createyuvoverlay — Here Description2
sdl_lockyuvoverlay — Here Description2
sdl_unlockyuvoverlay — Here Description2
sdl_displayyuvoverlay — Here Description2
sdl_freeyuvoverlay — Here Description2
sdl_wm_setcaption — Here Description2
sdl_wm_getcaption — Here Description2
sdl_wm_seticon — Here Description2
sdl_wm_iconifywindow — Here Description2
sdl_wm_togglefullscreen — Here Description2
sdl_wm_grabinput — Here Description2
sdl_button — Here Description2
sdl_pumpevents — Here Description2
sdl_pollevent — Here Description2
sdl_waitevent — Here Description2
sdl_peepevents — Here Description2
sdl_pushevent — Here Description2
sdl_seteventfilter — Here Description2
sdl_geteventfilter — Here Description2
sdl_eventstate — Here Description2
sdl_getkeystate — Here Description2
sdl_getmodstate — Here Description2
sdl_setmodstate — Here Description2
sdl_getkeyname — Here Description2
sdl_enableunicode — Here Description2
sdl_enablekeyrepeat — Here Description2
sdl_getmousestate — Here Description2
sdl_getrelativemousestate — Here Description2
sdl_getappstate — Here Description2
sdl_numjoysticks — Here Description2
sdl_joystickname — Here Description2
sdl_joystickopen — Here Description2
sdl_joystickopened — Here Description2
sdl_joystickindex — Here Description2
sdl_joysticknumaxes — Here Description2
sdl_joysticknumballs — Here Description2
sdl_joysticknumhats — Here Description2
sdl_joysticknumbuttons — Here Description2
sdl_joystickupdate — Here Description2
sdl_joystickeventstate — Here Description2
sdl_joystickgetaxis — Here Description2
sdl_joystickgethat — Here Description2
sdl_joystickgetball — Here Description2
sdl_joystickgetbutton — Here Description2
sdl_joystickclose — Here Description2
sdl_cd_indrive — Here Description2
sdl_frames_to_msf — Here Description2
sdl_msf_to_frames — Here Description2
sdl_cdnumdrives — Here Description2
sdl_cdname — Here Description2
sdl_cdopen — Here Description2
sdl_cdstatus — Here Description2
sdl_cdplay — Here Description2
sdl_cdplaytracks — Here Description2
sdl_cdpause — Here Description2
sdl_cdresume — Here Description2
sdl_cdstop — Here Description2
sdl_cdeject — Here Description2
sdl_cdclose — Here Description2
sdl_createmutex — Here Description2
sdl_destroymutex — Here Description2
sdl_mutexp — Here Description2
sdl_mutexv — Here Description2
sdl_getticks — Here Description2
sdl_delay — Here Description2
sdl_addtimer — Here Description2
sdl_removetimer — Here Description2
Constants
Resources
2. SMPEG extension Reference
Constants
Resources
3. TTF extension Reference
sdlttf_Init — Here Description2
sdlttf_Quit — Here Description2
sdlttf_WasInit — Here Description2
sdlttf_OpenFont — Here Description2
sdlttf_OpenFontIndex — Here Description2
sdlttf_OpenFontRW — Here Description2
sdlttf_OpenFontIndexRW — Here Description2
sdlttf_GetFontStyle — Here Description2
sdlttf_SetFontStyle — Here Description2
sdlttf_FontHeight — Here Description2
sdlttf_FontAscent — Here Description2
sdlttf_FontDescent — Here Description2
sdlttf_FontLineSkip — Here Description2
sdlttf_FontFaces — Here Description2
sdlttf_FontFaceIsFixedWidth — Here Description2
sdlttf_FontFaceFamilyName — Here Description2
sdlttf_FontFaceStyleName — Here Description2
sdlttf_GlyphMetrics — Here Description2
sdlttf_SizeText — Here Description2
sdlttf_SizeUTF8 — Here Description2
sdlttf_SizeUNICODE — Here Description2
sdlttf_RenderText_Solid — Here Description2
sdlttf_RenderUTF8_Solid — Here Description2
sdlttf_RenderUNICODE_Solid — Here Description2
sdlttf_RenderGlyph_Solid — Here Description2
sdlttf_RenderText_Shaded — Here Description2
sdlttf_RenderUTF8_Shaded — Here Description2
sdlttf_RenderUNICODE_Shaded — Here Description2
sdlttf_RenderGlyph_Shaded — Here Description2
sdlttf_RenderText_Blended — Here Description2
sdlttf_RenderUTF8_Blended — Here Description2
sdlttf_RenderUNICODE_Blended — Here Description2
sdlttf_RenderGlyph_Blended — Here Description2
sdlttf_CloseFont — Here Description2
Constants
Resources
4. IMG extension Reference
img_load — Here Description2
Constants
Resources
5. GFX extension Reference
sdlgfx_pixelColor — Here Description2
sdlgfx_pixelRGBA — Here Description2
sdlgfx_hlineColor — Here Description2
sdlgfx_hlineRGBA — Here Description2
sdlgfx_vlineColor — Here Description2
sdlgfx_vlineRGBA — Here Description2
sdlgfx_rectangleColor — Here Description2
sdlgfx_rectangleRGBA — Here Description2
sdlgfx_boxColor — Here Description2
sdlgfx_boxRGBA — Here Description2
sdlgfx_lineColor — Here Description2
sdlgfx_lineRGBA — Here Description2
sdlgfx_aalineColor — Here Description2
sdlgfx_aalineRGBA — Here Description2
sdlgfx_circleColor — Here Description2
sdlgfx_circleRGBA — Here Description2
sdlgfx_aacircleColor — Here Description2
sdlgfx_aacircleRGBA — Here Description2
sdlgfx_filledCircleColor — Here Description2
sdlgfx_filledCircleRGBA — Here Description2
sdlgfx_ellipseColor — Here Description2
sdlgfx_ellipseRGBA — Here Description2
sdlgfx_aaellipseColor — Here Description2
sdlgfx_aaellipseRGBA — Here Description2
sdlgfx_filledEllipseColor — Here Description2
sdlgfx_filledEllipseRGBA — Here Description2
sdlgfx_pieColor — Here Description2
sdlgfx_pieRGBA — Here Description2
sdlgfx_filledPieColor — Here Description2
sdlgfx_filledPieRGBA — Here Description2
sdlgfx_trigonColor — Here Description2
sdlgfx_trigonRGBA — Here Description2
sdlgfx_aatrigonColor — Here Description2
sdlgfx_aatrigonRGBA — Here Description2
sdlgfx_filledTrigonColor — Here Description2
sdlgfx_filledTrigonRGBA — Here Description2
sdlgfx_polygonColor — Here Description2
sdlgfx_polygonRGBA — Here Description2
sdlgfx_aapolygonColor — Here Description2
sdlgfx_aapolygonRGBA — Here Description2
sdlgfx_filledPolygonColor — Here Description2
sdlgfx_filledPolygonRGBA — Here Description2
sdlgfx_texturedPolygon — Here Description2
sdlgfx_bezierColor — Here Description2
sdlgfx_bezierRGBA — Here Description2
sdlgfx_characterColor — Here Description2
sdlgfx_characterRGBA — Here Description2
sdlgfx_stringColor — Here Description2
sdlgfx_stringRGBA — Here Description2
sdlgfx_gfxPrimitivesSetFont — Here Description2
sdlgfx_rotozoomSurface — Here Description2
sdlgfx_rotozoomSurfaceXY — Here Description2
sdlgfx_zoomSurface — Here Description2
sdlgfx_initFramerate — Here Description2
sdlgfx_setFramerate — Here Description2
sdlgfx_getFramerate — Here Description2
sdlgfx_framerateDelay — Here Description2