Sam Lantinga
a9072159b2
Updated copyright for 2018
2018-01-03 10:03:25 -08:00
Sam Lantinga
d77ab77a7a
Updated copyright for 2017
2017-01-01 18:33:28 -08:00
Sam Lantinga
9cc7ce9008
Renaming of guard header names to quiet -Wreserved-id-macro
...
Patch contributed by Sylvain
2016-11-20 21:34:54 -08:00
Sam Lantinga
255c182471
Updated copyright to 2016
2016-01-02 10:10:34 -08:00
Sam Lantinga
78f2198e6c
Updated the copyright year to 2015
2015-05-26 06:27:46 -07:00
Ryan C. Gordon
79ae1a2719
Fixed using SDL_PointInRect() from C++.
2014-05-30 09:50:47 -04:00
Ryan C. Gordon
22f1b394d6
Added SDL_PointInRect().
2014-05-27 00:26:47 -04:00
Sam Lantinga
dba255c1e5
Fixed bug 2374 - Update copyright for 2014...
...
Is it that time already??
2014-02-02 00:53:27 -08:00
Sam Lantinga
32810bdaa3
Fixed bug 2081 - Add name to SDL_Point structure
...
Dmitry Marakasov
Unlike SDL_Rect (typedef struct SDL_Rect {} SDL_Rect), SDL_Point (typedef struct {} SDL_Point) structure is unnamed. This feels inconsistent and makes it impossible to use forward declaration for SDL_Point, having to include whole SDL_rect.h instead.
2013-09-05 07:02:27 -07:00
Sam Lantinga
0d9b661db8
File style cleanup for the SDL 2.0 release
2013-05-18 14:17:52 -07:00
Ryan C. Gordon
3928468bfa
Made SDL_RectEmpty and SDL_RectEquals macros into SDL_FORCE_INLINE functions.
...
Fixes compiler warnings for things like this...
if (SDL_RectEmpty(&rect)) {}
...where the macro turned into "if ( (!(&rect)) && etc )" which some compilers
thought might be a programmer mistake, as "&rect" is always "true".
2013-05-16 12:16:12 -04:00
Sam Lantinga
019c60c1e8
Happy New Year!
2013-02-15 08:47:44 -08:00
Sam Lantinga
e256711bb9
Happy New Year!
2011-12-31 09:28:07 -05:00
Andreas Schiffler
0a29e84930
Fix SDL_RectEquals define
2011-09-17 22:35:10 -07:00
Andreas Schiffler
acb9d90a85
Add NULL handling in SDL_RectEmpty and SDL_RectEquals
2011-09-16 08:25:49 -07:00
Sam Lantinga
6196aa221e
SDL 1.3 is now under the zlib license.
2011-04-08 13:03:26 -07:00
Sam Lantinga
a2cdcf5486
Happy 2011! :)
2011-02-11 22:37:15 -08:00
Sam Lantinga
405d4ed7e4
Made it possible to create a texture of any format, even if not supported by the renderer.
...
This allows me to reduce the set of formats supported by the renderers to the most optimal set, for a nice speed boost.
2011-02-03 00:19:40 -08:00
Sam Lantinga
8bf50cc83c
Moved the rendering code out to a separate directory in the hope that it can someday be completely decoupled from the rest of the library and be expanded to an awesome 2D on 3D library.
2011-02-02 14:34:54 -08:00
Sam Lantinga
7052036491
Fixed bug #926
...
Updated copyright to LGPL version 2.1 and year 2010
2010-01-24 21:10:53 +00:00
Sam Lantinga
70a40d51b2
Added interfaces for batch drawing of points, lines and rects:
...
SDL_DrawPoints()
SDL_BlendPoints()
SDL_BlendLines()
SDL_DrawLines()
SDL_FillRects()
SDL_BlendRects()
SDL_RenderPoints()
SDL_RenderLines()
SDL_RenderRects()
Renamed SDL_RenderFill() to SDL_RenderRect()
2009-12-09 15:56:56 +00:00
Sam Lantinga
27294b7a4e
Partial fix for bug #859
...
Header file update from Ken for improved doxygen output
2009-10-19 13:31:58 +00:00
Sam Lantinga
de843c65d6
Added line clipping
2008-12-23 02:23:18 +00:00
Sam Lantinga
befb0f7f42
Updated copyright date
2008-12-08 00:27:32 +00:00
Sam Lantinga
4f2f07efff
Split out the SDL_rect and SDL_surface functions into their own headers.
...
Removed unused count from the dirty rect list.
2007-09-10 12:20:02 +00:00