All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.qt.gui.QPaintDeviceWindow Maven / Gradle / Ivy

There is a newer version: 6.8.2
Show newest version
package io.qt.gui;


/**
 * 

Convenience subclass of QWindow that is also a QPaintDevice

*

Java wrapper for Qt class QPaintDeviceWindow

*/ public class QPaintDeviceWindow extends io.qt.gui.QWindow implements io.qt.gui.QPaintDevice { /** * This variable stores the meta-object for the class. */ public static final io.qt.core.QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QPaintDeviceWindow.class); /** *

See QPaintDevice::colorCount()const

*/ @io.qt.QtUninvokable public final int colorCount(){ return colorCount_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native static int colorCount_native_constfct(long __this__nativeId); /** *

See QPaintDevice::depth()const

*/ @io.qt.QtUninvokable public final int depth(){ return depth_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native static int depth_native_constfct(long __this__nativeId); /** *

See QPaintDevice::devicePixelRatioF()const

*/ @io.qt.QtUninvokable public final double devicePixelRatioF(){ return devicePixelRatioF_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native static double devicePixelRatioF_native_constfct(long __this__nativeId); /** *

See QPaintDevice::heightMM()const

*/ @io.qt.QtUninvokable public final int heightMM(){ return heightMM_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native static int heightMM_native_constfct(long __this__nativeId); /** *

See QPaintDevice::logicalDpiX()const

*/ @io.qt.QtUninvokable public final int logicalDpiX(){ return logicalDpiX_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native static int logicalDpiX_native_constfct(long __this__nativeId); /** *

See QPaintDevice::logicalDpiY()const

*/ @io.qt.QtUninvokable public final int logicalDpiY(){ return logicalDpiY_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native static int logicalDpiY_native_constfct(long __this__nativeId); /** *

See QPaintDevice::paintEngine()const

*/ @Deprecated @io.qt.QtUninvokable public final io.qt.gui.QPaintEngine paintEngine() throws io.qt.QNoImplementationException { return paintEngine_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @Deprecated private static io.qt.gui.QPaintEngine paintEngine_native_constfct(long __this__nativeId) throws io.qt.QNoImplementationException { throw new io.qt.QNoImplementationException(); } /** *

See QPaintDevice::paintingActive()const

*/ @io.qt.QtUninvokable public final boolean paintingActive(){ return paintingActive_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native static boolean paintingActive_native_constfct(long __this__nativeId); /** *

See QPaintDevice::physicalDpiX()const

*/ @io.qt.QtUninvokable public final int physicalDpiX(){ return physicalDpiX_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native static int physicalDpiX_native_constfct(long __this__nativeId); /** *

See QPaintDevice::physicalDpiY()const

*/ @io.qt.QtUninvokable public final int physicalDpiY(){ return physicalDpiY_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native static int physicalDpiY_native_constfct(long __this__nativeId); /** *

See QPaintDeviceWindow::update()

*/ public final void update(){ update_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native void update_native(long __this__nativeId); /** *

See QPaintDeviceWindow::update(QRect)

*/ @io.qt.QtUninvokable public final void update(io.qt.core.QRect rect){ update_native_cref_QRect(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(rect)); } @io.qt.QtUninvokable private native void update_native_cref_QRect(long __this__nativeId, long rect); /** *

See QPaintDeviceWindow::update(QRegion)

*/ @io.qt.QtUninvokable public final void update(io.qt.gui.QRegion region){ update_native_cref_QRegion(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(region)); } @io.qt.QtUninvokable private native void update_native_cref_QRegion(long __this__nativeId, long region); /** *

See QPaintDevice::widthMM()const

*/ @io.qt.QtUninvokable public final int widthMM(){ return widthMM_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native static int widthMM_native_constfct(long __this__nativeId); /** *

See QWindow::exposeEvent(QExposeEvent*)

*/ @io.qt.QtUninvokable protected void exposeEvent(io.qt.gui.QExposeEvent arg__1){ exposeEvent_native_QExposeEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1)); } @io.qt.QtUninvokable private native void exposeEvent_native_QExposeEvent_ptr(long __this__nativeId, long arg__1); @io.qt.QtUninvokable protected void initPainter(io.qt.gui.QPainter painter){ initPainter_native_QPainter_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(painter)); } private native static void initPainter_native_QPainter_ptr_constfct(long __this__nativeId, long painter); /** *

See QPaintDevice::metric(QPaintDevice::PaintDeviceMetric)const

*/ @io.qt.QtUninvokable protected int metric(io.qt.gui.QPaintDevice.PaintDeviceMetric metric){ return metric_native_QPaintDevice_PaintDeviceMetric_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), metric.value()); } private native static int metric_native_QPaintDevice_PaintDeviceMetric_constfct(long __this__nativeId, int metric); /** *

See QWindow::paintEvent(QPaintEvent*)

*/ @io.qt.QtUninvokable protected void paintEvent(io.qt.gui.QPaintEvent event){ paintEvent_native_QPaintEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event)); } @io.qt.QtUninvokable private native void paintEvent_native_QPaintEvent_ptr(long __this__nativeId, long event); @io.qt.QtUninvokable protected io.qt.gui.QPaintDevice redirected(io.qt.core.QPoint offset){ return redirected_native_QPoint_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), offset); } private native static io.qt.gui.QPaintDevice redirected_native_QPoint_ptr_constfct(long __this__nativeId, io.qt.core.QPoint offset); @io.qt.QtUninvokable protected io.qt.gui.QPainter sharedPainter(){ return sharedPainter_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native static io.qt.gui.QPainter sharedPainter_native_constfct(long __this__nativeId); public native static double devicePixelRatioFScale(); /** * Constructor for internal use only. * @param p expected to be null. */ @io.qt.NativeAccess protected QPaintDeviceWindow(QPrivateConstructor p) { super(p); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy