官术网_书友最值得收藏!

RotatedRect object type

The last useful class is a particular rectangle called RotatedRect. This class represents a rotated rectangle specified by a center point, the width and height of a rectangle, and the rotation angle in degrees:

RotatedRect(const Point2f& center, const Size2f& size, float angle); 

An interesting function of this class is boundingBox. This function returns Rect, which contains the rotated rectangle:

主站蜘蛛池模板: 浠水县| 紫阳县| 黄平县| 广汉市| 乐至县| 连城县| 新晃| 天等县| 长乐市| 喀喇沁旗| 大石桥市| 吐鲁番市| 湘潭县| 乌拉特后旗| 启东市| 崇文区| 黄冈市| 专栏| 伊吾县| 卫辉市| 深水埗区| 苍山县| 阿克陶县| 嫩江县| 潜江市| 靖西县| 深水埗区| 北川| 天长市| 壤塘县| 永兴县| 姚安县| 北辰区| 丁青县| 红原县| 宁陵县| 夏邑县| 本溪市| 肃北| 姚安县| 平阳县|