74 qreal top = rect.top();
75 qreal left = rect.left();
76 qreal bottom = rect.bottom();
77 qreal right = rect.right();
79 vertexArray << QOpenGLPoint(left, top)
80 << QOpenGLPoint(right, top)
81 << QOpenGLPoint(right, bottom)
82 << QOpenGLPoint(right, bottom)
83 << QOpenGLPoint(left, bottom)
84 << QOpenGLPoint(left, top);
89 qreal top = rect.top();
90 qreal left = rect.left();
91 qreal bottom = rect.bottom();
92 qreal right = rect.right();
94 vertexArray << QOpenGLPoint(left, top)
95 << QOpenGLPoint(right, top)
96 << QOpenGLPoint(left, bottom)
97 << QOpenGLPoint(right, bottom);