BRect rect(10, 20, 50, 70);
BRect rect(10, 20, 50, 70); BPoint left_top = rect.LeftTop();
BRect rect(10, 20, 50, 70); rect.OffsetTo(30, 40);This moves the BRect object so that its top-left is at (30, 40). The interface kit library contains many other classes and functions for implementing graphical user interfaces in BeOS/Haiku.