bool Draw_Line::isClickedOnHandleOrShape(QPointF point) { if(getPolyLineDrawn()) { if(isMouseClickedOnHandle(point)) return true; else if(isMouseClickedOnShape(point)) return true; else if(isMouseClickedOnRotateHandle(point)) return true; } return false; }
bool Draw_Arrow::isClickedOnHandleOrShape(QPointF point) { if(getMode()) { if(isMouseClickedOnHandle(point)) return true; else if(isMouseClickedOnShape(point)) return true; else if(isMouseClickedOnRotateHandle(point)) return true; } return false; }
bool Draw_Triangle::isClickedOnHandleOrShape(QPointF point) { int k=0; if(getMode()) { qDebug()<<"entered the condition \n"; if(isMouseClickedOnHandle(point)) return true; else if(isMouseClickedOnShape(point)) return true; else if(isMouseClickedOnRotateHandle(point)) return true; } return false; }