cpp-sdl2
C++ header-only SDL2 wrapper
sdl::Rect Member List

This is the complete list of members for sdl::Rect, including all inherited members.

botleft() constsdl::Rectinline
botright() constsdl::Rectinline
center() constsdl::Rectinline
contains(int px, int py) constsdl::Rectinline
contains(Vec2i const &point) constsdl::Rectinline
from_center(int cx, int cy, int w, int h)sdl::Rectinlinestatic
from_center(Vec2i const &center, Vec2i const &size)sdl::Rectinlinestatic
from_corners(int x1, int y1, int x2, int y2)sdl::Rectinlinestatic
from_corners(Vec2i const &corner1, Vec2i const &corner2)sdl::Rectinlinestatic
get_union(Rect const &r) constsdl::Rectinline
inter(Rect const &r) constsdl::Rectinline
intersects(Rect const &r) constsdl::Rectinline
intersects(Vec2i const &p1, Vec2i const &p2) constsdl::Rectinline
is_empty() constsdl::Rectinline
operator=(Rect const &) noexcept=defaultsdl::Rect
operator=(Rect &&) noexcept=defaultsdl::Rect
operator==(Rect const &other) constsdl::Rectinline
Rect()sdl::Rectinline
Rect(int x, int y, int w, int h)sdl::Rectinline
Rect(Vec2i const &corner, Vec2i const &size)sdl::Rectinline
Rect(SDL_Rect const &r)sdl::Rectinline
Rect(Rect const &) noexcept=defaultsdl::Rect
Rect(Rect &&) noexcept=defaultsdl::Rect
size() constsdl::Rectinline
topleft() constsdl::Rectinline
topright() constsdl::Rectinline
x1() constsdl::Rectinline
x2() constsdl::Rectinline
y1() constsdl::Rectinline
y2() constsdl::Rectinline