12.04.2019, 18:11, "Jason H" <[email protected]>:
> 1. Area of concern
> I find myself wanting to know the area of rectangular things a lot. For Sizes 
> and Rects: it's abs(width()*height()), but Rects might also have a offset 
> from the origin.
> Either way, I was wondering why this was not added to Qt already? When 
> working with images, it gives things like pixel counts and

I guess reason is the same as why Qt doesn't have classes like QTriangle or 
QEllipse. QRect's primary concern is GUI-related programming, not properties of 
particular geometric shape.

-- 
Regards,
Konstantin

_______________________________________________
Interest mailing list
[email protected]
https://lists.qt-project.org/listinfo/interest

Reply via email to