![]() |
raylib-cpp
C++ object-oriented wrapper library for raylib.
|
Public Member Functions | |
| Rectangle (::Rectangle vec) | |
| Rectangle (float X=0, float Y=0, float Width=0, float Height=0) | |
| bool | CheckCollision (::Rectangle rec2) |
| bool | CheckCollision (::Vector2 point) |
| Rectangle & | Draw (::Color color) |
| Rectangle & | Draw (::Vector2 origin, float rotation, ::Color color) |
| Rectangle & | DrawGradient (::Color col1, ::Color col2, ::Color col3, ::Color col4) |
| Rectangle & | DrawGradientH (::Color color1, ::Color color2) |
| Rectangle & | DrawGradientV (::Color color1, ::Color color2) |
| Rectangle & | DrawLines (::Color color) |
| Rectangle & | DrawLinesEx (int lineThick, ::Color color) |
| Rectangle & | DrawRounded (float roundness, int segments, ::Color color) |
| Rectangle & | DrawRoundedLines (float roundness, int segments, int lineThick, ::Color color) |
| Rectangle | GetCollision (::Rectangle rec2) |
| float | GetHeight () |
| float | GetWidth () |
| float | GetX () |
| float | GetY () |
| Rectangle & | operator= (const ::Rectangle &rect) |
| Rectangle & | operator= (const Rectangle &rect) |
| void | set (::Rectangle rect) |
| void | SetHeight (float value) |
| void | SetWidth (float value) |
| void | SetX (float value) |
| void | SetY (float value) |
Definition at line 16 of file Rectangle.hpp.
|
inline |
Definition at line 18 of file Rectangle.hpp.
References set().
|
inline |
Definition at line 21 of file Rectangle.hpp.
|
inline |
Definition at line 88 of file Rectangle.hpp.
|
inline |
Definition at line 94 of file Rectangle.hpp.
Definition at line 50 of file Rectangle.hpp.
Definition at line 54 of file Rectangle.hpp.
|
inline |
Definition at line 67 of file Rectangle.hpp.
Definition at line 63 of file Rectangle.hpp.
Definition at line 59 of file Rectangle.hpp.
Definition at line 71 of file Rectangle.hpp.
Definition at line 75 of file Rectangle.hpp.
Definition at line 79 of file Rectangle.hpp.
|
inline |
Definition at line 83 of file Rectangle.hpp.
Definition at line 91 of file Rectangle.hpp.
|
inline |
Definition at line 38 of file Rectangle.hpp.
|
inline |
Definition at line 37 of file Rectangle.hpp.
|
inline |
Definition at line 35 of file Rectangle.hpp.
|
inline |
Definition at line 36 of file Rectangle.hpp.
Definition at line 40 of file Rectangle.hpp.
References set().
Definition at line 45 of file Rectangle.hpp.
References set().
|
inline |
Definition at line 28 of file Rectangle.hpp.
Referenced by operator=(), and Rectangle().
|
inline |
Definition at line 38 of file Rectangle.hpp.
|
inline |
Definition at line 37 of file Rectangle.hpp.
|
inline |
Definition at line 35 of file Rectangle.hpp.
|
inline |
Definition at line 36 of file Rectangle.hpp.
1.8.17