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.QPrivateConstructorNested classes/interfaces inherited from interface io.qt.gui.QPaintDevice
QPaintDevice.Impl, QPaintDevice.MemberAccess, QPaintDevice.PaintDeviceMetric -
Constructor Summary
ConstructorsModifierConstructorDescriptionQOpenGLPaintDevice(int width, int height) QOpenGLPaintDevice(QSize size) protectedConstructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal intSee QPaintDevice::final QOpenGLContextcontext()final intdepth()See QPaintDevice::final doubleSee QPaintDevice::final doubleSee QPaintDevice::static doublefinal doublefinal doublevoidfinal intheight()See QPaintDevice::final intheightMM()See QPaintDevice::protected voidinitPainter(QPainter painter) final intSee QPaintDevice::final intSee QPaintDevice::protected intmetric(QPaintDevice.PaintDeviceMetric metric) final booleanfinal booleanSee QPaintDevice::final intSee QPaintDevice::final intSee QPaintDevice::protected QPaintDeviceredirected(QPoint offset) final voidsetDevicePixelRatio(double devicePixelRatio) final voidsetDotsPerMeterX(double arg__1) final voidsetDotsPerMeterY(double arg__1) final voidsetPaintFlipped(boolean flipped) final voidprotected QPainterfinal QSizesize()final intwidth()See QPaintDevice::final intwidthMM()See QPaintDevice::Methods inherited from class io.qt.QtObject
dispose, equals, isDisposedMethods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
colorCountin interfaceQPaintDevice
-
context
-
depth
See QPaintDevice::
- Specified by:
depthin interfaceQPaintDevice
-
devicePixelRatio
See QPaintDevice::
- Specified by:
devicePixelRatioin interfaceQPaintDevice
-
devicePixelRatioF
See QPaintDevice::
- Specified by:
devicePixelRatioFin interfaceQPaintDevice
-
dotsPerMeterX
-
dotsPerMeterY
-
height
See QPaintDevice::
- Specified by:
heightin interfaceQPaintDevice
-
heightMM
See QPaintDevice::
- Specified by:
heightMMin interfaceQPaintDevice
-
logicalDpiX
See QPaintDevice::
- Specified by:
logicalDpiXin interfaceQPaintDevice
-
logicalDpiY
See QPaintDevice::
- Specified by:
logicalDpiYin interfaceQPaintDevice
-
paintFlipped
-
paintingActive
See QPaintDevice::
- Specified by:
paintingActivein interfaceQPaintDevice
-
physicalDpiX
See QPaintDevice::
- Specified by:
physicalDpiXin interfaceQPaintDevice
-
physicalDpiY
See QPaintDevice::
- Specified by:
physicalDpiYin interfaceQPaintDevice
-
setDevicePixelRatio
-
setDotsPerMeterX
-
setDotsPerMeterY
-
setPaintFlipped
-
setSize
-
size
-
width
See QPaintDevice::
- Specified by:
widthin interfaceQPaintDevice
-
widthMM
See QPaintDevice::
- Specified by:
widthMMin interfaceQPaintDevice
-
ensureActiveTarget
-
initPainter
-
metric
-
paintEngine
- Specified by:
paintEnginein interfaceQPaintDevice
-
redirected
-
devicePixelRatioFScale
public static double devicePixelRatioFScale()
-