- All Superinterfaces:
QPaintDevice
,QtObjectInterface
- All Known Implementing Classes:
QPagedPaintDevice.Impl
,QPdfWriter
,QPrinter
public interface QPagedPaintDevice extends QtObjectInterface, QPaintDevice
Represents a paint device that supports multiple pages
Java wrapper for Qt class QPagedPaintDevice
Following functions are protected in the Qt interface, all implementations of this interface may implement these function:
@Deprecated
@io.qt.QtUninvokable
protected final io.qt.gui.QPageLayout devicePageLayout(){
return QPagedPaintDevice.MemberAccess.of(this).devicePageLayout();
}
@io.qt.QtUninvokable
protected void initPainter(io.qt.gui.QPainter painter){
QPagedPaintDevice.MemberAccess.of(this).initPainter(painter);
}
@io.qt.QtUninvokable
protected int metric(io.qt.gui.QPaintDevice.PaintDeviceMetric metric){
return QPagedPaintDevice.MemberAccess.of(this).metric(metric);
}
@io.qt.QtUninvokable
protected io.qt.gui.QPaintDevice redirected(io.qt.core.QPoint offset){
return QPagedPaintDevice.MemberAccess.of(this).redirected(offset);
}
@io.qt.QtUninvokable
protected io.qt.gui.QPainter sharedPainter(){
return QPagedPaintDevice.MemberAccess.of(this).sharedPainter();
}
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
QPagedPaintDevice.Impl
Implementor class for interfaceQPagedPaintDevice
static class
QPagedPaintDevice.Margins
Java wrapper for Qt class QPagedPaintDevice::Marginsstatic class
QPagedPaintDevice.MemberAccess
static class
QPagedPaintDevice.PageSize
Java wrapper for Qt enum QPagedPaintDevice::PageSizestatic class
QPagedPaintDevice.PdfVersion
Java wrapper for Qt enum QPagedPaintDevice::PdfVersionNested classes/interfaces inherited from interface io.qt.gui.QPaintDevice
QPaintDevice.PaintDeviceMetric
-
Method Summary
Modifier and Type Method Description default int
colorCount()
default int
depth()
default double
devicePixelRatio()
default double
devicePixelRatioF()
static double
devicePixelRatioFScale()
default int
height()
default int
heightMM()
default int
logicalDpiX()
default int
logicalDpiY()
default QPagedPaintDevice.Margins
margins()
boolean
newPage()
default QPageLayout
pageLayout()
default QPagedPaintDevice.PageSize
pageSize()
default QSizeF
pageSizeMM()
QPaintEngine
paintEngine()
default boolean
paintingActive()
default int
physicalDpiX()
default int
physicalDpiY()
default void
setMargins(QPagedPaintDevice.Margins margins)
default boolean
setPageLayout(QPageLayout pageLayout)
default boolean
setPageMargins(QMarginsF margins)
default boolean
setPageMargins(QMarginsF margins, QPageLayout.Unit units)
default boolean
setPageOrientation(QPageLayout.Orientation orientation)
default void
setPageSize(QPagedPaintDevice.PageSize size)
default boolean
setPageSize(QPageSize pageSize)
default void
setPageSizeMM(QSizeF size)
default int
width()
default int
widthMM()
-
Method Details
-
colorCount
- Specified by:
colorCount
in interfaceQPaintDevice
-
depth
- Specified by:
depth
in interfaceQPaintDevice
-
devicePixelRatio
- Specified by:
devicePixelRatio
in interfaceQPaintDevice
-
devicePixelRatioF
- Specified by:
devicePixelRatioF
in interfaceQPaintDevice
-
height
- Specified by:
height
in interfaceQPaintDevice
-
heightMM
- Specified by:
heightMM
in interfaceQPaintDevice
-
logicalDpiX
- Specified by:
logicalDpiX
in interfaceQPaintDevice
-
logicalDpiY
- Specified by:
logicalDpiY
in interfaceQPaintDevice
-
margins
-
pageLayout
-
pageSize
-
pageSizeMM
-
paintingActive
- Specified by:
paintingActive
in interfaceQPaintDevice
-
physicalDpiX
- Specified by:
physicalDpiX
in interfaceQPaintDevice
-
physicalDpiY
- Specified by:
physicalDpiY
in interfaceQPaintDevice
-
setPageLayout
-
setPageMargins
-
setPageMargins
-
setPageOrientation
-
setPageSize
-
width
- Specified by:
width
in interfaceQPaintDevice
-
widthMM
- Specified by:
widthMM
in interfaceQPaintDevice
-
newPage
-
paintEngine
- Specified by:
paintEngine
in interfaceQPaintDevice
-
setMargins
-
setPageSize
-
setPageSizeMM
-
devicePixelRatioFScale
static double devicePixelRatioFScale()
-