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

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:

主站蜘蛛池模板: 扶沟县| 西安市| 时尚| 马鞍山市| 连云港市| 武平县| 翁牛特旗| 镇远县| 施秉县| 盐亭县| 嘉禾县| 吉林省| 澄城县| 图片| 仲巴县| 荆门市| 株洲市| 嘉鱼县| 如东县| 东乡族自治县| 江都市| 竹溪县| 华蓥市| 五峰| 清远市| 博乐市| 正镶白旗| 江安县| 英吉沙县| 广饶县| 临夏县| 和硕县| 体育| 闽清县| 弋阳县| 枣阳市| 桑日县| 秦皇岛市| 夏邑县| 胶州市| 福安市|