Commit graph

64 commits

Author SHA1 Message Date
Eugene Sandulenko
915d4615ba GRAPHICS: Added mask-driven transparency blitting to ManagedSurface 2020-04-24 00:51:24 +02:00
Paul Gilbert
9214ecb1d7 GRAPHICS: Added a hasTransparentColor method to ManagedSurface 2020-04-09 18:00:54 -07:00
Paul Gilbert
914fad839d GRAPHICS: Add a getPalette method to ManagedSurface 2020-04-09 18:00:54 -07:00
Paul Gilbert
3a0c62e1e4 GRAPHICS: Make copying sources as const 2020-02-01 13:13:51 -08:00
Paul Gilbert
46e49e3ed3 GRAPHICS: Add transparent color field and palette to ManagedSurface 2020-02-01 13:13:51 -08:00
Eugene Sandulenko
4e58ef479b GRAPHICS: Make ManagedSurface::clip() public 2019-12-27 13:39:56 +01:00
Eugene Sandulenko
3851c2d9a6 GRAPHICS: Added source transparency parameter to ManagedSurface::transBlit 2019-09-03 17:17:14 +02:00
Le Philousophe
1297ae2b76 GRAPHICS: Fix ManagedSurface::copyFrom memory handling
When calling ManagedSurface::copyFrom, _disposeAfterUse should be set to
YES because inner surface frees up old pixels array and creates a new one.
2019-06-09 14:38:31 -07:00
Daniel
903569cab8 GRAPHICS: Fix ManagedSurface dirty rects when drawing lines
Fixes an invalidRect assert when drawing lines which don't go from top-left to bottom-right.
2019-04-26 13:08:38 +03:00
Paul Gilbert
3e8ed4eafc GRAPHICS: Add convertToInPlace method to ManagedSurface 2018-12-08 19:05:59 -08:00
Eugene Sandulenko
355c4fa646 JANITORIAL: Remove more trailing spaces 2016-10-09 15:02:02 +02:00
Paul Gilbert
14ba851d32 GRAPHICS: Fix MangaedSurface pixel casting errors 2016-03-20 16:37:19 -04:00
Paul Gilbert
390487aa43 GRAPHICS: Cleanup of ManagedSurface and Screen classes 2016-03-17 18:35:17 -04:00
Paul Gilbert
433a2daa6a GRAPHICS: Added ManagedSurface and Screen classes 2016-03-14 20:56:14 -04:00