java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.svg.QSvgGenerator
- All Implemented Interfaces:
QPaintDevice
,QtObjectInterface
public class QSvgGenerator extends QtObject implements QPaintDevice
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.Impl, QPaintDevice.MemberAccess, QPaintDevice.PaintDeviceMetric
-
Constructor Summary
Constructors Modifier Constructor Description QSvgGenerator()
protected
QSvgGenerator(QtObject.QPrivateConstructor p)
Constructor for internal use only. -
Method Summary
Modifier and Type Method Description int
colorCount()
int
depth()
String
description()
double
devicePixelRatio()
double
devicePixelRatioF()
static double
devicePixelRatioFScale()
String
fileName()
int
height()
int
heightMM()
protected void
initPainter(QPainter painter)
int
logicalDpiX()
int
logicalDpiY()
protected int
metric(QPaintDevice.PaintDeviceMetric metric)
QIODevice
outputDevice()
QPaintEngine
paintEngine()
boolean
paintingActive()
int
physicalDpiX()
int
physicalDpiY()
protected QPaintDevice
redirected(QPoint offset)
int
resolution()
void
setDescription(String description)
void
setFileName(String fileName)
void
setOutputDevice(QIODevice outputDevice)
void
setResolution(int dpi)
void
setSize(QSize size)
void
setTitle(String title)
void
setViewBox(QRect viewBox)
void
setViewBox(QRectF viewBox)
protected QPainter
sharedPainter()
QSize
size()
String
title()
QRect
viewBox()
QRectF
viewBoxF()
int
width()
int
widthMM()
-
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
-
sharedPainter
-
devicePixelRatioFScale
public static double devicePixelRatioFScale()
-