75 qreal top = rect.top();
76 qreal left = rect.left();
77 qreal bottom = rect.bottom();
78 qreal right = rect.right();
80 vertexArray << QOpenGLPoint(left, top)
81 << QOpenGLPoint(right, top)
82 << QOpenGLPoint(right, bottom)
83 << QOpenGLPoint(right, bottom)
84 << QOpenGLPoint(left, bottom)
85 << QOpenGLPoint(left, top);
90 qreal top = rect.top();
91 qreal left = rect.left();
92 qreal bottom = rect.bottom();
93 qreal right = rect.right();
95 vertexArray << QOpenGLPoint(left, top)
96 << QOpenGLPoint(right, top)
97 << QOpenGLPoint(left, bottom)
98 << QOpenGLPoint(right, bottom);