Class representing a rectangle.
More...
#include "include/internal/cef_types_wrappers.h"
Class representing a rectangle.
◆ CefRect() [1/3]
◆ CefRect() [2/3]
◆ CefRect() [3/3]
CefRect::CefRect |
( |
int |
x, |
|
|
int |
y, |
|
|
int |
width, |
|
|
int |
height |
|
) |
| |
|
inline |
◆ Contains() [1/2]
bool CefRect::Contains |
( |
const CefPoint & |
point | ) |
const |
|
inline |
◆ Contains() [2/2]
bool CefRect::Contains |
( |
int |
point_x, |
|
|
int |
point_y |
|
) |
| const |
|
inline |
Returns true if the point identified by point_x and point_y falls inside this rectangle.
The point (x, y) is inside the rectangle, but the point (x + width, y + height) is not.
◆ IsEmpty()
bool CefRect::IsEmpty |
( |
| ) |
const |
|
inline |
◆ Set()
void CefRect::Set |
( |
int |
x_val, |
|
|
int |
y_val, |
|
|
int |
width_val, |
|
|
int |
height_val |
|
) |
| |
|
inline |
The documentation for this class was generated from the following file: