java.lang.Object
io.qt.QtObject
io.qt.opengl.QOpenGLPaintDevice
- All Implemented Interfaces:
QPaintDevice,QtObjectInterface
Enables painting to an OpenGL context using QPainter
Java wrapper for Qt's 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 intfinal QOpenGLContextcontext()final intdepth()final doublefinal doublestatic doublefinal doublefinal doublevoidfinal intheight()final intheightMM()protected voidinitPainter(QPainter painter) final intfinal intprotected intmetric(QPaintDevice.PaintDeviceMetric metric) final booleanfinal booleanfinal intfinal intprotected 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()final intwidthMM()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
- Specified by:
colorCountin interfaceQPaintDevice
-
context
-
depth
- Specified by:
depthin interfaceQPaintDevice
-
devicePixelRatio
- Specified by:
devicePixelRatioin interfaceQPaintDevice
-
devicePixelRatioF
- Specified by:
devicePixelRatioFin interfaceQPaintDevice
-
dotsPerMeterX
-
dotsPerMeterY
-
height
- Specified by:
heightin interfaceQPaintDevice
-
heightMM
- Specified by:
heightMMin interfaceQPaintDevice
-
logicalDpiX
- Specified by:
logicalDpiXin interfaceQPaintDevice
-
logicalDpiY
- Specified by:
logicalDpiYin interfaceQPaintDevice
-
paintFlipped
-
paintingActive
- Specified by:
paintingActivein interfaceQPaintDevice
-
physicalDpiX
- Specified by:
physicalDpiXin interfaceQPaintDevice
-
physicalDpiY
- Specified by:
physicalDpiYin interfaceQPaintDevice
-
setDevicePixelRatio
-
setDotsPerMeterX
-
setDotsPerMeterY
-
setPaintFlipped
-
setSize
-
size
-
width
- Specified by:
widthin interfaceQPaintDevice
-
widthMM
- Specified by:
widthMMin interfaceQPaintDevice
-
ensureActiveTarget
-
initPainter
-
metric
-
paintEngine
- Specified by:
paintEnginein interfaceQPaintDevice
-
redirected
-
devicePixelRatioFScale
public static double devicePixelRatioFScale()
-