java.lang.Object
io.qt.QtObject
io.qt.gui.QOpenGLPaintDevice
- All Implemented Interfaces:
QPaintDevice
,QtObjectInterface
Enables painting to an OpenGL context using QPainter
Java wrapper for Qt class QOpenGLPaintDevice
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
Nested classes/interfaces inherited from interface io.qt.gui.QPaintDevice
QPaintDevice.PaintDeviceMetric
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal int
final QOpenGLContext
context()
final int
depth()
final double
final double
static double
SeeQPaintDevice::
devicePixelRatioFScale() final double
final double
void
final int
height()
final int
heightMM()
protected void
initPainter
(QPainter painter) SeeQPaintDevice::
initPainter(QPainter*)const final int
final int
protected int
metric
(QPaintDevice.PaintDeviceMetric metric) final boolean
final boolean
final int
final int
protected QPaintDevice
redirected
(QPoint offset) SeeQPaintDevice::
redirected(QPoint*)const final void
setDevicePixelRatio
(double devicePixelRatio) final void
setDotsPerMeterX
(double arg__1) final void
setDotsPerMeterY
(double arg__1) final void
setPaintFlipped
(boolean flipped) final void
protected QPainter
SeeQPaintDevice::
sharedPainter()const final QSize
size()
final int
width()
final int
widthMM()
Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.qt.QtObjectInterface
dispose, isDisposed
-
Constructor Details
-
QOpenGLPaintDevice
public QOpenGLPaintDevice() -
QOpenGLPaintDevice
-
QOpenGLPaintDevice
public QOpenGLPaintDevice(int width, int height)
-
-
Method Details
-
colorCount
- Specified by:
colorCount
in interfaceQPaintDevice
-
context
-
depth
- Specified by:
depth
in interfaceQPaintDevice
-
devicePixelRatio
- Specified by:
devicePixelRatio
in interfaceQPaintDevice
-
devicePixelRatioF
- Specified by:
devicePixelRatioF
in interfaceQPaintDevice
-
dotsPerMeterX
-
dotsPerMeterY
-
height
- Specified by:
height
in interfaceQPaintDevice
-
heightMM
- Specified by:
heightMM
in interfaceQPaintDevice
-
logicalDpiX
- Specified by:
logicalDpiX
in interfaceQPaintDevice
-
logicalDpiY
- Specified by:
logicalDpiY
in interfaceQPaintDevice
-
paintFlipped
-
paintingActive
- Specified by:
paintingActive
in interfaceQPaintDevice
-
physicalDpiX
- Specified by:
physicalDpiX
in interfaceQPaintDevice
-
physicalDpiY
- Specified by:
physicalDpiY
in interfaceQPaintDevice
-
setDevicePixelRatio
-
setDotsPerMeterX
-
setDotsPerMeterY
-
setPaintFlipped
-
setSize
-
size
-
width
- Specified by:
width
in interfaceQPaintDevice
-
widthMM
- Specified by:
widthMM
in interfaceQPaintDevice
-
ensureActiveTarget
-
initPainter
See
QPaintDevice::
initPainter(QPainter*)const -
metric
-
paintEngine
- Specified by:
paintEngine
in interfaceQPaintDevice
-
redirected
See
QPaintDevice::
redirected(QPoint*)const -
devicePixelRatioFScale
public static double devicePixelRatioFScale()See
QPaintDevice::
devicePixelRatioFScale()
-