java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.gui.QPicture
- All Implemented Interfaces:
QPaintDevice
,QtObjectInterface
,Cloneable
Paint device that records and replays QPainter commands
Java wrapper for Qt's class QPicture
-
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
ModifierConstructorDescriptionQPicture()
Overloaded constructor forQPicture(int)
withformatVersion = -1
.QPicture
(int formatVersion) protected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal QRect
clone()
final int
final byte[]
data()
final int
depth()
final void
detach()
final double
final double
static double
final int
height()
final int
heightMM()
protected void
initPainter
(QPainter painter) static QStringList
Deprecated.static QList<QByteArray>
Deprecated.final boolean
final boolean
isNull()
final boolean
Overloaded function forload(io.qt.core.QIODevice, java.lang.String)
withformat = null
.final boolean
final boolean
Overloaded function forload(java.lang.String, java.lang.String)
withformat = null
.final boolean
final int
final int
protected int
static QStringList
Deprecated.static QList<QByteArray>
Deprecated.final boolean
final int
final int
final boolean
void
readFrom
(QDataStream arg__1) protected QPaintDevice
redirected
(QPoint offset) final boolean
Overloaded function forsave(io.qt.core.QIODevice, java.lang.String)
withformat = null
.final boolean
final boolean
Overloaded function forsave(java.lang.String, java.lang.String)
withformat = null
.final boolean
final void
void
setData
(byte[] data) protected QPainter
final int
size()
final void
final int
width()
final int
widthMM()
void
writeTo
(QDataStream arg__1) Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.qt.QtObjectInterface
dispose, isDisposed
-
Constructor Details
-
QPicture
-
QPicture
public QPicture()Overloaded constructor for
QPicture(int)
withformatVersion = -1
. -
QPicture
public QPicture(int formatVersion) -
QPicture
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
boundingRect
-
colorCount
- Specified by:
colorCount
in interfaceQPaintDevice
-
data
-
depth
- Specified by:
depth
in interfaceQPaintDevice
-
detach
-
devicePixelRatio
- Specified by:
devicePixelRatio
in interfaceQPaintDevice
-
devicePixelRatioF
- Specified by:
devicePixelRatioF
in interfaceQPaintDevice
-
height
- Specified by:
height
in interfaceQPaintDevice
-
heightMM
- Specified by:
heightMM
in interfaceQPaintDevice
-
isDetached
-
isNull
-
load
Overloaded function for
load(io.qt.core.QIODevice, java.lang.String)
withformat = null
. -
load
-
load
Overloaded function for
load(java.lang.String, java.lang.String)
withformat = null
. -
load
-
logicalDpiX
- Specified by:
logicalDpiX
in interfaceQPaintDevice
-
logicalDpiY
- Specified by:
logicalDpiY
in interfaceQPaintDevice
-
writeTo
-
readFrom
-
paintingActive
- Specified by:
paintingActive
in interfaceQPaintDevice
-
physicalDpiX
- Specified by:
physicalDpiX
in interfaceQPaintDevice
-
physicalDpiY
- Specified by:
physicalDpiY
in interfaceQPaintDevice
-
play
-
save
Overloaded function for
save(io.qt.core.QIODevice, java.lang.String)
withformat = null
. -
save
-
save
Overloaded function for
save(java.lang.String, java.lang.String)
withformat = null
. -
save
-
setBoundingRect
-
size
-
swap
-
width
- Specified by:
width
in interfaceQPaintDevice
-
widthMM
- Specified by:
widthMM
in interfaceQPaintDevice
-
initPainter
-
metric
-
paintEngine
- Specified by:
paintEngine
in interfaceQPaintDevice
-
redirected
-
setData
-
devicePixelRatioFScale
public static double devicePixelRatioFScale() -
inputFormatList
Deprecated. -
inputFormats
Deprecated. -
outputFormatList
Deprecated. -
outputFormats
Deprecated. -
clone
-