java.lang.Object
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 class QPicture
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.qt.gui.QPaintDevice
QPaintDevice.PaintDeviceMetric
-
Constructor Summary
ConstructorDescriptionQPicture()
Overloaded constructor forQPicture(int)
withformatVersion = -1
.QPicture
(int formatVersion) -
Method Summary
Modifier and TypeMethodDescriptionfinal void
final QRect
clone()
Creates and returns a copy of this object.final int
final byte[]
data()
final int
depth()
final void
detach()
SeeQPicture::
detach() final double
final double
static double
SeeQPaintDevice::
devicePixelRatioFScale() static int
encodeMetricF
(QPaintDevice.PaintDeviceMetric metric, double value) SeeQPaintDevice::
encodeMetricF(QPaintDevice::PaintDeviceMetric, double) final int
height()
final int
heightMM()
protected void
initPainter
(QPainter painter) SeeQPaintDevice::
initPainter(QPainter*)const final boolean
SeeQPicture::
isDetached()const final boolean
isNull()
final boolean
final boolean
final int
final int
protected int
final boolean
final int
final int
final boolean
void
readFrom
(QDataStream in) protected QPaintDevice
redirected
(QPoint offset) SeeQPaintDevice::
redirected(QPoint*)const final boolean
final boolean
final void
final void
setData
(byte[] data) Overloaded function forsetData(java.nio.ByteBuffer)
.final void
setData
(byte[] data, int offsetOfData, int size) Overloaded function forsetData(java.nio.ByteBuffer)
.void
setData
(ByteBuffer data) protected QPainter
SeeQPaintDevice::
sharedPainter()const final int
size()
final void
final int
width()
final int
widthMM()
void
writeTo
(QDataStream in) 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
- Parameters:
arg__1
-
-
QPicture
public QPicture(int formatVersion) - Parameters:
formatVersion
-
-
QPicture
public QPicture()Overloaded constructor for
QPicture(int)
withformatVersion = -1
.
-
-
Method Details
-
boundingRect
- Returns:
-
colorCount
- Specified by:
colorCount
in interfaceQPaintDevice
- Returns:
-
data
- Returns:
-
depth
- Specified by:
depth
in interfaceQPaintDevice
- Returns:
-
detach
See
QPicture::
detach() -
devicePixelRatio
- Specified by:
devicePixelRatio
in interfaceQPaintDevice
- Returns:
-
devicePixelRatioF
- Specified by:
devicePixelRatioF
in interfaceQPaintDevice
- Returns:
-
height
- Specified by:
height
in interfaceQPaintDevice
- Returns:
-
heightMM
- Specified by:
heightMM
in interfaceQPaintDevice
- Returns:
-
isDetached
See
QPicture::
isDetached()const - Returns:
-
isNull
- Returns:
-
load
- Parameters:
dev
-- Returns:
-
load
- Parameters:
fileName
-- Returns:
-
logicalDpiX
- Specified by:
logicalDpiX
in interfaceQPaintDevice
- Returns:
-
logicalDpiY
- Specified by:
logicalDpiY
in interfaceQPaintDevice
- Returns:
-
writeTo
- Parameters:
in
-
-
assign
- Parameters:
p
-
-
readFrom
- Parameters:
in
-
-
paintingActive
- Specified by:
paintingActive
in interfaceQPaintDevice
- Returns:
-
physicalDpiX
- Specified by:
physicalDpiX
in interfaceQPaintDevice
- Returns:
-
physicalDpiY
- Specified by:
physicalDpiY
in interfaceQPaintDevice
- Returns:
-
play
- Parameters:
p
-- Returns:
-
save
- Parameters:
dev
-- Returns:
-
save
- Parameters:
fileName
-- Returns:
-
setBoundingRect
- Parameters:
r
-
-
size
- Returns:
-
swap
- Parameters:
other
-
-
width
- Specified by:
width
in interfaceQPaintDevice
- Returns:
-
widthMM
- Specified by:
widthMM
in interfaceQPaintDevice
- Returns:
-
initPainter
See
QPaintDevice::
initPainter(QPainter*)const - Parameters:
painter
-
-
metric
- Parameters:
m
-- Returns:
-
paintEngine
- Specified by:
paintEngine
in interfaceQPaintDevice
- Returns:
-
redirected
See
QPaintDevice::
redirected(QPoint*)const - Parameters:
offset
-- Returns:
-
setData
- Parameters:
data
-
-
devicePixelRatioFScale
public static double devicePixelRatioFScale()See
QPaintDevice::
devicePixelRatioFScale() - Returns:
-
encodeMetricF
See
QPaintDevice::
encodeMetricF(QPaintDevice::PaintDeviceMetric, double) - Parameters:
metric
-value
-- Returns:
-
clone
Creates and returns a copy of this object.
-
setData
Overloaded function for
setData(java.nio.ByteBuffer)
. -
setData
Overloaded function for
setData(java.nio.ByteBuffer)
.
-