java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.opengl.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.Impl, QPaintDevice.MemberAccess, QPaintDevice.PaintDeviceMetric
-
Constructor Summary
ModifierConstructorDescriptionQOpenGLPaintDevice
(int width, int height) QOpenGLPaintDevice
(QSize size) protected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal int
See QPaintDevice::final QOpenGLContext
context()
final int
depth()
See QPaintDevice::final double
See QPaintDevice::final double
See QPaintDevice::static double
final double
final double
void
final int
height()
See QPaintDevice::final int
heightMM()
See QPaintDevice::protected void
initPainter
(QPainter painter) final int
See QPaintDevice::final int
See QPaintDevice::protected int
metric
(QPaintDevice.PaintDeviceMetric metric) final boolean
final boolean
See QPaintDevice::final int
See QPaintDevice::final int
See QPaintDevice::protected QPaintDevice
redirected
(QPoint offset) 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
final QSize
size()
final int
width()
See QPaintDevice::final int
widthMM()
See QPaintDevice::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) -
QOpenGLPaintDevice
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
colorCount
See QPaintDevice::
- Specified by:
colorCount
in interfaceQPaintDevice
-
context
-
depth
See QPaintDevice::
- Specified by:
depth
in interfaceQPaintDevice
-
devicePixelRatio
See QPaintDevice::
- Specified by:
devicePixelRatio
in interfaceQPaintDevice
-
devicePixelRatioF
See QPaintDevice::
- Specified by:
devicePixelRatioF
in interfaceQPaintDevice
-
dotsPerMeterX
-
dotsPerMeterY
-
height
See QPaintDevice::
- Specified by:
height
in interfaceQPaintDevice
-
heightMM
See QPaintDevice::
- Specified by:
heightMM
in interfaceQPaintDevice
-
logicalDpiX
See QPaintDevice::
- Specified by:
logicalDpiX
in interfaceQPaintDevice
-
logicalDpiY
See QPaintDevice::
- Specified by:
logicalDpiY
in interfaceQPaintDevice
-
paintFlipped
-
paintingActive
See QPaintDevice::
- Specified by:
paintingActive
in interfaceQPaintDevice
-
physicalDpiX
See QPaintDevice::
- Specified by:
physicalDpiX
in interfaceQPaintDevice
-
physicalDpiY
See QPaintDevice::
- Specified by:
physicalDpiY
in interfaceQPaintDevice
-
setDevicePixelRatio
-
setDotsPerMeterX
-
setDotsPerMeterY
-
setPaintFlipped
-
setSize
-
size
-
width
See QPaintDevice::
- Specified by:
width
in interfaceQPaintDevice
-
widthMM
See QPaintDevice::
- Specified by:
widthMM
in interfaceQPaintDevice
-
ensureActiveTarget
-
initPainter
-
metric
-
paintEngine
- Specified by:
paintEngine
in interfaceQPaintDevice
-
redirected
-
devicePixelRatioFScale
public static double devicePixelRatioFScale()
-