java.lang.Object
io.qt.QtObject
io.qt.svg.QSvgGenerator
- All Implemented Interfaces:
QPaintDevice
,QtObjectInterface
Paint device that is used to create SVG drawings
Java wrapper for Qt class QSvgGenerator
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.qt.gui.QPaintDevice
QPaintDevice.PaintDeviceMetric
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal int
final int
depth()
final String
final double
final double
static double
SeeQPaintDevice::
devicePixelRatioFScale() static int
encodeMetricF
(QPaintDevice.PaintDeviceMetric metric, double value) SeeQPaintDevice::
encodeMetricF(QPaintDevice::PaintDeviceMetric, double) final String
fileName()
final int
height()
final int
heightMM()
protected void
initPainter
(QPainter painter) SeeQPaintDevice::
initPainter(QPainter*)const final int
final int
protected int
metric
(QPaintDevice.PaintDeviceMetric metric) final QIODevice
final boolean
final int
final int
protected QPaintDevice
redirected
(QPoint offset) SeeQPaintDevice::
redirected(QPoint*)const final int
final void
setDescription
(String description) final void
setFileName
(String fileName) final void
setOutputDevice
(QIODevice outputDevice) final void
setResolution
(int dpi) final void
final void
final void
setViewBox
(QRect viewBox) final void
setViewBox
(QRectF viewBox) protected QPainter
SeeQPaintDevice::
sharedPainter()const final QSize
size()
final QSvgGenerator.SvgVersion
final String
title()
final QRect
viewBox()
final QRectF
viewBoxF()
final int
width()
final int
widthMM()
Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.qt.QtObjectInterface
dispose, isDisposed
-
Constructor Details
-
QSvgGenerator
public QSvgGenerator() -
QSvgGenerator
- Parameters:
version
-- Since:
- This function was introduced in Qt 6.5.
-
-
Method Details
-
colorCount
- Specified by:
colorCount
in interfaceQPaintDevice
- Returns:
-
depth
- Specified by:
depth
in interfaceQPaintDevice
- Returns:
-
description
- Returns:
-
devicePixelRatio
- Specified by:
devicePixelRatio
in interfaceQPaintDevice
- Returns:
-
devicePixelRatioF
- Specified by:
devicePixelRatioF
in interfaceQPaintDevice
- Returns:
-
fileName
- Returns:
-
height
- Specified by:
height
in interfaceQPaintDevice
- Returns:
-
heightMM
- Specified by:
heightMM
in interfaceQPaintDevice
- Returns:
-
logicalDpiX
- Specified by:
logicalDpiX
in interfaceQPaintDevice
- Returns:
-
logicalDpiY
- Specified by:
logicalDpiY
in interfaceQPaintDevice
- Returns:
-
outputDevice
- Returns:
-
paintingActive
- Specified by:
paintingActive
in interfaceQPaintDevice
- Returns:
-
physicalDpiX
- Specified by:
physicalDpiX
in interfaceQPaintDevice
- Returns:
-
physicalDpiY
- Specified by:
physicalDpiY
in interfaceQPaintDevice
- Returns:
-
resolution
- Returns:
-
setDescription
- Parameters:
description
-
-
setFileName
- Parameters:
fileName
-
-
setOutputDevice
- Parameters:
outputDevice
-
-
setResolution
- Parameters:
dpi
-
-
setSize
- Parameters:
size
-
-
setTitle
- Parameters:
title
-
-
setViewBox
- Parameters:
viewBox
-
-
setViewBox
- Parameters:
viewBox
-
-
size
- Returns:
-
svgVersion
- Returns:
- Since:
- This function was introduced in Qt 6.5.
-
title
- Returns:
-
viewBox
- Returns:
-
viewBoxF
- Returns:
-
width
- Specified by:
width
in interfaceQPaintDevice
- Returns:
-
widthMM
- Specified by:
widthMM
in interfaceQPaintDevice
- Returns:
-
initPainter
See
QPaintDevice::
initPainter(QPainter*)const - Parameters:
painter
-
-
metric
- Parameters:
metric
-- Returns:
-
paintEngine
- Specified by:
paintEngine
in interfaceQPaintDevice
- Returns:
-
redirected
See
QPaintDevice::
redirected(QPoint*)const - Parameters:
offset
-- Returns:
-
devicePixelRatioFScale
public static double devicePixelRatioFScale()See
QPaintDevice::
devicePixelRatioFScale() - Returns:
-
encodeMetricF
See
QPaintDevice::
encodeMetricF(QPaintDevice::PaintDeviceMetric, double) - Parameters:
metric
-value
-- Returns:
-