java.lang.Object
io.qt.internal.NativeUtility.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's class QSvgGenerator
-
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
ModifierConstructorDescriptionprotected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal int
final int
depth()
final String
final double
final double
static double
final String
fileName()
final int
height()
final int
heightMM()
protected void
initPainter
(QPainter painter) final int
final int
protected int
metric
(QPaintDevice.PaintDeviceMetric metric) final QIODevice
final boolean
final int
final int
protected QPaintDevice
redirected
(QPoint offset) 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
final QSize
size()
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
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
colorCount
- Specified by:
colorCount
in interfaceQPaintDevice
-
depth
- Specified by:
depth
in interfaceQPaintDevice
-
description
-
devicePixelRatio
- Specified by:
devicePixelRatio
in interfaceQPaintDevice
-
devicePixelRatioF
- Specified by:
devicePixelRatioF
in interfaceQPaintDevice
-
fileName
-
height
- Specified by:
height
in interfaceQPaintDevice
-
heightMM
- Specified by:
heightMM
in interfaceQPaintDevice
-
logicalDpiX
- Specified by:
logicalDpiX
in interfaceQPaintDevice
-
logicalDpiY
- Specified by:
logicalDpiY
in interfaceQPaintDevice
-
outputDevice
-
paintingActive
- Specified by:
paintingActive
in interfaceQPaintDevice
-
physicalDpiX
- Specified by:
physicalDpiX
in interfaceQPaintDevice
-
physicalDpiY
- Specified by:
physicalDpiY
in interfaceQPaintDevice
-
resolution
-
setDescription
-
setFileName
-
setOutputDevice
-
setResolution
-
setSize
-
setTitle
-
setViewBox
-
setViewBox
-
size
-
title
-
viewBox
-
viewBoxF
-
width
- Specified by:
width
in interfaceQPaintDevice
-
widthMM
- Specified by:
widthMM
in interfaceQPaintDevice
-
initPainter
-
metric
-
paintEngine
- Specified by:
paintEngine
in interfaceQPaintDevice
-
redirected
-
devicePixelRatioFScale
public static double devicePixelRatioFScale()
-