You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
QPoint vertex[4]; // vertex[0]--left(upleft) , vertex[1]--right(bottomright), vertex[2]--bottom(bottomleft), vertex[3]--up(upright)..the description inside the brakect is for rectangle.
QPainterPath path;
ScribbleShape();
ScribbleShape(int type, QPoint v[4], QPainterPath p):shapetype(type), path(p){for(int i = 0; i < 4; i ++) vertex[i] = v[i];}