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

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:

主站蜘蛛池模板: 安化县| 视频| 闽侯县| 张北县| 郸城县| 五河县| 吉水县| 苏州市| 平顶山市| 三亚市| 化州市| 梁山县| 南昌县| 井研县| 京山县| 泰顺县| 海安县| 大安市| 建平县| 银川市| 湖南省| 上饶县| 商南县| 邵阳县| 元氏县| 班戈县| 桐庐县| 乡城县| 京山县| 宜兰县| 弋阳县| 永胜县| 巴里| 建湖县| 凌源市| 安陆市| 托里县| 洛宁县| 金沙县| 大埔区| 依安县|