java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.gui.QPicture
- All Implemented Interfaces:
QPaintDevice
,QtObjectInterface
,Cloneable
public class QPicture extends QtObject implements QPaintDevice, 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.Impl, QPaintDevice.MemberAccess, QPaintDevice.PaintDeviceMetric
-
Constructor Summary
Constructors Modifier Constructor Description QPicture()
Overloaded constructor forQPicture(int)
withformatVersion = -1
.QPicture(int formatVersion)
QPicture(QPicture arg__1)
protected
QPicture(QtObject.QPrivateConstructor p)
Constructor for internal use only. -
Method Summary
Modifier and Type Method Description QRect
boundingRect()
QPicture
clone()
int
colorCount()
byte[]
data()
int
depth()
void
detach()
double
devicePixelRatio()
double
devicePixelRatioF()
static double
devicePixelRatioFScale()
int
height()
int
heightMM()
protected void
initPainter(QPainter painter)
static List<String>
inputFormatList()
Deprecated.static List<QByteArray>
inputFormats()
Deprecated.boolean
isDetached()
boolean
isNull()
boolean
load(QIODevice dev)
Overloaded function forload(io.qt.core.QIODevice, java.lang.String)
withformat = null
.boolean
load(QIODevice dev, String format)
boolean
load(String fileName)
Overloaded function forload(java.lang.String, java.lang.String)
withformat = null
.boolean
load(String fileName, String format)
int
logicalDpiX()
int
logicalDpiY()
protected int
metric(QPaintDevice.PaintDeviceMetric m)
static List<String>
outputFormatList()
Deprecated.static List<QByteArray>
outputFormats()
Deprecated.QPaintEngine
paintEngine()
boolean
paintingActive()
int
physicalDpiX()
int
physicalDpiY()
boolean
play(QPainter p)
void
readFrom(QDataStream arg__1)
protected QPaintDevice
redirected(QPoint offset)
boolean
save(QIODevice dev)
Overloaded function forsave(io.qt.core.QIODevice, java.lang.String)
withformat = null
.boolean
save(QIODevice dev, String format)
boolean
save(String fileName)
Overloaded function forsave(java.lang.String, java.lang.String)
withformat = null
.boolean
save(String fileName, String format)
void
setBoundingRect(QRect r)
void
setData(byte[] data)
protected QPainter
sharedPainter()
int
size()
void
swap(QPicture other)
int
width()
int
widthMM()
void
writeTo(QDataStream arg__1)
-
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
-
sharedPainter
-
devicePixelRatioFScale
public static double devicePixelRatioFScale() -
inputFormatList
Deprecated. -
inputFormats
Deprecated. -
outputFormatList
Deprecated. -
outputFormats
Deprecated. -
clone
-