Seamly2D
Code documentation
anonymous_namespace{vtextgraphicsitem.cpp} Namespace Reference

Functions

QRectF GetBoundingRect (QRectF rectBB, qreal rotation)
 GetBoundingRect calculates the bounding box around rectBB rectangle, rotated around its center by rotation degrees. More...
 

Function Documentation

◆ GetBoundingRect()

QRectF anonymous_namespace{vtextgraphicsitem.cpp}::GetBoundingRect ( QRectF  rectBB,
qreal  rotation 
)

GetBoundingRect calculates the bounding box around rectBB rectangle, rotated around its center by rotation degrees.

Parameters
rectBBrectangle of interest
rotationrectangle rotation
Returns
bounding box around rectBB rotated by rotation

Definition at line 66 of file vtextgraphicsitem.cpp.

Referenced by VTextGraphicsItem::isContained().