Would it kill you to add a right, center, and bottom attributes/methods to the rect object? I shouldn't have to calculate them manually 50 times.
https://www.sfml-dev.org/documentation/2.5.1/classsf_1_1Rect.php
Framework reveal new laptop with modular graphics, plus an AMD Ryzen model https://www.gamingonlinux.com/2023/03/framework-reveal-new-laptop-with-modular-graphics-plus-an-amd-ryzen-model/