diff options
| author | Vaxry <43317083+vaxerski@users.noreply.github.com> | 2023-11-24 10:54:21 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-11-24 10:54:21 +0000 |
| commit | 2ebfd0c7456eff7e9c03d379d1dfbc611dc26672 (patch) | |
| tree | 9fa0d65224283e717ef7a06bb60870a5d319e13e /src/helpers/Region.hpp | |
| parent | e40e486f61f2643578b9977b86f408799dbc75fd (diff) | |
renderer: Move to a full Hyprland GL rendering pipeline (#3920)
Also updates wlroots
Diffstat (limited to 'src/helpers/Region.hpp')
| -rw-r--r-- | src/helpers/Region.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/helpers/Region.hpp b/src/helpers/Region.hpp index 1c6923df..7554aa58 100644 --- a/src/helpers/Region.hpp +++ b/src/helpers/Region.hpp @@ -45,12 +45,14 @@ class CRegion { CRegion& intersect(const CRegion& other); CRegion& intersect(double x, double y, double w, double h); CRegion& translate(const Vector2D& vec); + CRegion& transform(const wl_output_transform t, double w, double h); CRegion& invert(pixman_box32_t* box); CRegion& scale(float scale); CBox getExtents(); bool containsPoint(const Vector2D& vec) const; bool empty() const; Vector2D closestPoint(const Vector2D& vec) const; + CRegion copy() const; std::vector<pixman_box32_t> getRects() const; |
