Q2D, Q3D and QRectangle inline functions