cpp-sdl2
C++ header-only SDL2 wrapper
|
This is the complete list of members for sdl::Rect, including all inherited members.
botleft() const | sdl::Rect | inline |
botright() const | sdl::Rect | inline |
center() const | sdl::Rect | inline |
contains(int px, int py) const | sdl::Rect | inline |
contains(Vec2i const &point) const | sdl::Rect | inline |
from_center(int cx, int cy, int w, int h) | sdl::Rect | inlinestatic |
from_center(Vec2i const ¢er, Vec2i const &size) | sdl::Rect | inlinestatic |
from_corners(int x1, int y1, int x2, int y2) | sdl::Rect | inlinestatic |
from_corners(Vec2i const &corner1, Vec2i const &corner2) | sdl::Rect | inlinestatic |
get_union(Rect const &r) const | sdl::Rect | inline |
inter(Rect const &r) const | sdl::Rect | inline |
intersects(Rect const &r) const | sdl::Rect | inline |
intersects(Vec2i const &p1, Vec2i const &p2) const | sdl::Rect | inline |
is_empty() const | sdl::Rect | inline |
operator=(Rect const &) noexcept=default | sdl::Rect | |
operator=(Rect &&) noexcept=default | sdl::Rect | |
operator==(Rect const &other) const | sdl::Rect | inline |
Rect() | sdl::Rect | inline |
Rect(int x, int y, int w, int h) | sdl::Rect | inline |
Rect(Vec2i const &corner, Vec2i const &size) | sdl::Rect | inline |
Rect(SDL_Rect const &r) | sdl::Rect | inline |
Rect(Rect const &) noexcept=default | sdl::Rect | |
Rect(Rect &&) noexcept=default | sdl::Rect | |
size() const | sdl::Rect | inline |
topleft() const | sdl::Rect | inline |
topright() const | sdl::Rect | inline |
x1() const | sdl::Rect | inline |
x2() const | sdl::Rect | inline |
y1() const | sdl::Rect | inline |
y2() const | sdl::Rect | inline |