background preloader

SDL

Facebook Twitter

Programmation ludique avec SDL | gnurou.org. {sdltutorials.com} Simple DirectMedia Layer. _ttf - SDL Documentation Wiki. SDL_image - SDL Documentation Wiki. La SDL est délibéremment construite de manière à fournir le strict minimum pour développer un programme graphique. Ainsi, la SDL ne fournit aucune méthode pour charger différents formats d'images. C'est là qu'une bibliothèque telle que SDL_image rentre en scène. En utilisant SDL_image, vous pourrez charger des images dans tous les formats communs tels que les formats BMP, PNM (PPM/PGM/PBM), XPM, LBM, PCX, GIF, JPEG, PNG, TGA, et TIFF. Celles-ci sont chargées dans votre SDL_Surface et affichées à l'écran comme n'importe quelle autre SDL_Surface. Elle supporte la transparence via canal alpha pour les formats qui la proposent (par exemple le PNG).

Cette documentation est un extrait de la documentation de SDL_image anglaise (écrite par Jon Atkins), qui contiendra sûrement des informations plus à jour (aucune traduction en français disponible à ce jour). C'est très simple, vous allez voir. Où "type" est une chaîne de caractères indiquant le format (par exemple "PNG" ou "pcx"). IJG Homepage.

SDL_gfx. Details Category: Software Software Published: 08 February 2014 08 February 2014 Hits: 5222 5222 SDL graphics drawing primitives and other support functions wrapped up in an addon library for the Simple Direct Media (SDL) cross-platform API layer. SDL2 graphics drawing primitives and other support functions Latest Version (Ver 1.0.0 - Sun Oct 28 2013) SDL2_gfx-1.0.0.tar.gz (or on SourceForge) Documentation Doxygen generated API documentation (c) A.

SDL graphics drawing primitives and other support functions The SDL_gfx library evolved out of the SDL_gfxPrimitives code which provided basic drawing routines such as lines, circles or polygons and SDL_rotozoom which implemented a interpolating rotozoomer for SDL surfaces. The current components of the SDL_gfx library are: Graphic Primitives (SDL_gfxPrimitves.h) Rotozoomer (SDL_rotozoom.h) Framerate control (SDL_framerate.h) MMX image filters (SDL_imageFilter.h)Custom Blit functions (SDL_gfxBlitFunc.h) (c) A. Screenshots Downloads see changelog below Pixel.