108
108
void RectNode::setAngle(double angle)
116
116
DPoint pivot = m_Rect.tl+m_Rect.size()/2;
117
117
DPoint rpos = pos.getRotatedPivot(m_Angle, pivot);
118
118
if (rpos.x >= m_Rect.tl.x && rpos.y >= m_Rect.tl.y && rpos.x < m_Rect.br.x &&
119
119
rpos.y < m_Rect.br.y && reactsToMouseEvents())