From 1b9cb5d202dff160016d0266f4c433ee8013cc61 Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Sat, 27 Dec 2014 05:54:38 +0300 Subject: [PATCH] Add Surface and Rect categories --- Completeness-CategoryRect.md | 12 +++++++++++ Completeness-CategorySurface.md | 35 +++++++++++++++++++++++++++++++++ Completeness.md | 2 ++ 3 files changed, 49 insertions(+) create mode 100644 Completeness-CategoryRect.md create mode 100644 Completeness-CategorySurface.md diff --git a/Completeness-CategoryRect.md b/Completeness-CategoryRect.md new file mode 100644 index 0000000..386ba3b --- /dev/null +++ b/Completeness-CategoryRect.md @@ -0,0 +1,12 @@ +# Rectangle Functions + +| ☑ | Function | libSDL2pp method(s) / Notes | +|:-:|--------------------------------|-----------------------------| +| ☐ | SDL_EnclosePoints | | +| ☐ | SDL_HasIntersection | | +| ☐ | SDL_IntersectRect | | +| ☐ | SDL_IntersectRectAndLine | | +| ☐ | SDL_PointInRect | | +| ☐ | SDL_RectEmpty | | +| ☐ | SDL_RectEquals | | +| ☐ | SDL_UnionRect | | diff --git a/Completeness-CategorySurface.md b/Completeness-CategorySurface.md new file mode 100644 index 0000000..5d47488 --- /dev/null +++ b/Completeness-CategorySurface.md @@ -0,0 +1,35 @@ +# Surface Creation and Simple Drawing + +| ☑ | Function | libSDL2pp method(s) / Notes | +|:-:|--------------------------------|-----------------------------| +| ☐ | SDL_BlitScaled | | +| ☐ | SDL_BlitSurface | | +| ☐ | SDL_ConvertPixels | | +| ☐ | SDL_ConvertSurface | | +| ☐ | SDL_ConvertSurfaceFormat | | +| ☑ | SDL_CreateRGBSurface | Surface::Surface() | +| ☑ | SDL_CreateRGBSurfaceFrom | Surface::Surface() | +| ☐ | SDL_FillRect | | +| ☐ | SDL_FillRects | | +| ☑ | SDL_FreeSurface | Surface::~Surface() | +| ☐ | SDL_GetClipRect | | +| ☐ | SDL_GetColorKey | | +| ☐ | SDL_GetSurfaceAlphaMod | | +| ☐ | SDL_GetSurfaceBlendMode | | +| ☐ | SDL_GetSurfaceColorMod | | +| ☐ | SDL_LoadBMP | | +| ☐ | SDL_LoadBMP_RW | | +| ☐ | SDL_LockSurface | | +| ☐ | SDL_LowerBlit | | +| ☐ | SDL_LowerBlitScaled | | +| ☐ | SDL_MUSTLOCK | | +| ☐ | SDL_SaveBMP | | +| ☐ | SDL_SaveBMP_RW | | +| ☐ | SDL_SetClipRect | | +| ☐ | SDL_SetColorKey | | +| ☐ | SDL_SetSurfaceAlphaMod | | +| ☐ | SDL_SetSurfaceBlendMode | | +| ☐ | SDL_SetSurfaceColorMod | | +| ☐ | SDL_SetSurfacePalette | | +| ☐ | SDL_SetSurfaceRLE | | +| ☐ | SDL_UnlockSurface | | diff --git a/Completeness.md b/Completeness.md index 2a69aa2..731fbee 100644 --- a/Completeness.md +++ b/Completeness.md @@ -11,6 +11,8 @@ Note that it's always possible to use native SDL2 functions with SDL2pp, as all - [[Display and Window Management|Completeness/CategoryVideo]] - [[2D Accelerated Rendering|Completeness/CategoryRender]] +- [[Rectangle Functions|Completeness/CategoryRect]] +- [[Surface Creation and Simple Drawing|Completeness/CategorySurface]] ## Input Events