4#ifndef QOPENGLPAINTDEVICE_H
5#define QOPENGLPAINTDEVICE_H
7#include <QtOpenGL/qtopenglglobal.h>
11#include <QtGui/qpaintdevice.h>
12#include <QtGui/qopengl.h>
13#include <QtGui/qopenglcontext.h>
34 void setDevicePixelRatio(
qreal devicePixelRatio);
36 qreal dotsPerMeterX()
const;
37 qreal dotsPerMeterY()
const;
39 void setDotsPerMeterX(
qreal);
40 void setDotsPerMeterY(
qreal);
42 void setPaintFlipped(
bool flipped);
43 bool paintFlipped()
const;
45 virtual void ensureActiveTarget();
The QOpenGLPaintDevice class enables painting to an OpenGL context using QPainter.
int devType() const override
Combined button and popup list for selecting options.
GLint GLsizei GLsizei height
GLenum GLuint GLintptr GLsizeiptr size
[1]