qt.cfg: Add functions of QPainter class
Reference: https://doc.qt.io/qt-5/qpainter.html Most of the function configurations were found missing by daca@home
This commit is contained in:
parent
8eaa50c050
commit
d880830efc
304
cfg/qt.cfg
304
cfg/qt.cfg
|
@ -1587,6 +1587,310 @@
|
|||
<use-retval/>
|
||||
<const/>
|
||||
</function>
|
||||
<!-- bool QPainter::begin(QPaintDevice *device) -->
|
||||
<function name="QPainter::begin">
|
||||
<noreturn>false</noreturn>
|
||||
<returnValue type="bool"/>
|
||||
<leak-ignore/>
|
||||
<arg nr="1" direction="inout">
|
||||
<not-uninit/>
|
||||
<not-bool/>
|
||||
</arg>
|
||||
</function>
|
||||
<!-- QPaintDevice *QPainter::device() const -->
|
||||
<function name="QPainter::device">
|
||||
<noreturn>false</noreturn>
|
||||
<returnValue type="QPaintDevice *"/>
|
||||
<use-retval/>
|
||||
<const/>
|
||||
</function>
|
||||
<!-- const QTransform &QPainter::deviceTransform() const -->
|
||||
<function name="QPainter::deviceTransform">
|
||||
<noreturn>false</noreturn>
|
||||
<returnValue type="const QTransform &"/>
|
||||
<use-retval/>
|
||||
<const/>
|
||||
</function>
|
||||
<!-- void QPainter::drawEllipse(const QRectF &rectangle) -->
|
||||
<!-- void QPainter::drawEllipse(const QRect &rectangle) -->
|
||||
<!-- void QPainter::drawEllipse(int x, int y, int width, int height) -->
|
||||
<!-- void QPainter::drawEllipse(const QPointF ¢er, qreal rx, qreal ry) -->
|
||||
<!-- void QPainter::drawEllipse(const QPoint ¢er, int rx, int ry) -->
|
||||
<function name="QPainter::drawEllipse">
|
||||
<noreturn>false</noreturn>
|
||||
<returnValue type="void"/>
|
||||
<leak-ignore/>
|
||||
<arg nr="1" direction="in">
|
||||
<not-uninit/>
|
||||
</arg>
|
||||
<arg nr="any" direction="in">
|
||||
<not-uninit/>
|
||||
</arg>
|
||||
</function>
|
||||
<!-- void QPainter::drawImage(const QRectF &target, const QImage &image, const QRectF &source, Qt::ImageConversionFlags flags = Qt::AutoColor) -->
|
||||
<!-- void QPainter::drawImage(const QRect &target, const QImage &image, const QRect &source, Qt::ImageConversionFlags flags = Qt::AutoColor) -->
|
||||
<!-- void QPainter::drawImage(const QPointF &point, const QImage &image, const QRectF &source, Qt::ImageConversionFlags flags = ...) -->
|
||||
<!-- void QPainter::drawImage(const QPoint &point, const QImage &image, const QRect &source, Qt::ImageConversionFlags flags = ...) -->
|
||||
<!-- void QPainter::drawImage(const QRectF &rectangle, const QImage &image) -->
|
||||
<!-- void QPainter::drawImage(const QRect &rectangle, const QImage &image) -->
|
||||
<!-- void QPainter::drawImage(const QPointF &point, const QImage &image) -->
|
||||
<!-- void QPainter::drawImage(const QPoint &point, const QImage &image) -->
|
||||
<!-- void QPainter::drawImage(int x, int y, const QImage &image, int sx = 0, int sy = 0, int sw = -1, int sh = -1, Qt::ImageConversionFlags flags = Qt::AutoColor) -->
|
||||
<function name="QPainter::drawImage">
|
||||
<noreturn>false</noreturn>
|
||||
<returnValue type="void"/>
|
||||
<leak-ignore/>
|
||||
<arg nr="1" direction="in">
|
||||
<not-uninit/>
|
||||
</arg>
|
||||
<arg nr="2" direction="in">
|
||||
<not-uninit/>
|
||||
</arg>
|
||||
<arg nr="any" direction="in">
|
||||
<not-uninit/>
|
||||
</arg>
|
||||
</function>
|
||||
<!-- void QPainter::drawLine(const QLineF &line) -->
|
||||
<!-- void QPainter::drawLine(const QLine &line) -->
|
||||
<!-- void QPainter::drawLine(int x1, int y1, int x2, int y2) -->
|
||||
<!-- void QPainter::drawLine(const QPoint &p1, const QPoint &p2) -->
|
||||
<!-- void QPainter::drawLine(const QPointF &p1, const QPointF &p2) -->
|
||||
<function name="QPainter::drawLine">
|
||||
<noreturn>false</noreturn>
|
||||
<returnValue type="void"/>
|
||||
<leak-ignore/>
|
||||
<arg nr="1" direction="in">
|
||||
<not-uninit/>
|
||||
</arg>
|
||||
<arg nr="any" direction="in">
|
||||
<not-uninit/>
|
||||
</arg>
|
||||
</function>
|
||||
<!-- void QPainter::drawPath(const QPainterPath &path) -->
|
||||
<function name="QPainter::drawPath">
|
||||
<noreturn>false</noreturn>
|
||||
<returnValue type="void"/>
|
||||
<leak-ignore/>
|
||||
<arg nr="1" direction="in">
|
||||
<not-uninit/>
|
||||
<not-bool/>
|
||||
</arg>
|
||||
</function>
|
||||
<!-- void QPainter::drawPixmap(const QRectF &target, const QPixmap &pixmap, const QRectF &source) -->
|
||||
<!-- void QPainter::drawPixmap(const QRect &target, const QPixmap &pixmap, const QRect &source) -->
|
||||
<!-- void QPainter::drawPixmap(int x, int y, int w, int h, const QPixmap &pixmap, int sx, int sy, int sw, int sh) -->
|
||||
<!-- void QPainter::drawPixmap(int x, int y, const QPixmap &pixmap, int sx, int sy, int sw, int sh) -->
|
||||
<!-- void QPainter::drawPixmap(const QPointF &point, const QPixmap &pixmap, const QRectF &source) -->
|
||||
<!-- void QPainter::drawPixmap(const QPoint &point, const QPixmap &pixmap, const QRect &source) -->
|
||||
<!-- void QPainter::drawPixmap(const QPointF &point, const QPixmap &pixmap) -->
|
||||
<!-- void QPainter::drawPixmap(const QPoint &point, const QPixmap &pixmap) -->
|
||||
<!-- void QPainter::drawPixmap(int x, int y, const QPixmap &pixmap) -->
|
||||
<!-- void QPainter::drawPixmap(const QRect &rectangle, const QPixmap &pixmap) -->
|
||||
<!-- void QPainter::drawPixmap(int x, int y, int width, int height, const QPixmap &pixmap) -->
|
||||
<function name="QPainter::drawPixmap">
|
||||
<noreturn>false</noreturn>
|
||||
<returnValue type="void"/>
|
||||
<leak-ignore/>
|
||||
<arg nr="1" direction="in">
|
||||
<not-uninit/>
|
||||
</arg>
|
||||
<arg nr="2" direction="in">
|
||||
<not-uninit/>
|
||||
</arg>
|
||||
<arg nr="any" direction="in">
|
||||
<not-uninit/>
|
||||
</arg>
|
||||
</function>
|
||||
<!-- void QPainter::drawPoint(const QPointF &position) -->
|
||||
<!-- void QPainter::drawPoint(const QPoint &position) -->
|
||||
<!-- void QPainter::drawPoint(int x, int y) -->
|
||||
<function name="QPainter::drawPoint">
|
||||
<noreturn>false</noreturn>
|
||||
<returnValue type="void"/>
|
||||
<leak-ignore/>
|
||||
<arg nr="1" direction="in">
|
||||
<not-uninit/>
|
||||
</arg>
|
||||
<arg nr="2" direction="in" default="">
|
||||
<not-uninit/>
|
||||
</arg>
|
||||
</function>
|
||||
<!-- void QPainter::drawRect(const QRectF &rectangle) -->
|
||||
<!-- void QPainter::drawRect(int x, int y, int width, int height) -->
|
||||
<!-- void QPainter::drawRect(const QRect &rectangle) -->
|
||||
<function name="QPainter::drawRect">
|
||||
<noreturn>false</noreturn>
|
||||
<returnValue type="void"/>
|
||||
<leak-ignore/>
|
||||
<arg nr="1" direction="in">
|
||||
<not-uninit/>
|
||||
</arg>
|
||||
<arg nr="any" direction="in">
|
||||
<not-uninit/>
|
||||
</arg>
|
||||
</function>
|
||||
<!-- void QPainter::drawText(const QRectF &rectangle, int flags, const QString &text, QRectF *boundingRect = nullptr) -->
|
||||
<!-- void QPainter::drawText(const QPointF &position, const QString &text) -->
|
||||
<!-- void QPainter::drawText(const QPoint &position, const QString &text) -->
|
||||
<!-- void QPainter::drawText(int x, int y, const QString &text) -->
|
||||
<!-- void QPainter::drawText(const QRect &rectangle, int flags, const QString &text, QRect *boundingRect = nullptr) -->
|
||||
<!-- void QPainter::drawText(int x, int y, int width, int height, int flags, const QString &text, QRect *boundingRect = nullptr) -->
|
||||
<!-- void QPainter::drawText(const QRectF &rectangle, const QString &text, const QTextOption &option = QTextOption()) -->
|
||||
<function name="QPainter::drawText">
|
||||
<noreturn>false</noreturn>
|
||||
<returnValue type="void"/>
|
||||
<leak-ignore/>
|
||||
<arg nr="1" direction="in">
|
||||
<not-uninit/>
|
||||
</arg>
|
||||
<arg nr="2" direction="in">
|
||||
<not-uninit/>
|
||||
</arg>
|
||||
<arg nr="any" direction="in">
|
||||
<not-uninit/>
|
||||
</arg>
|
||||
</function>
|
||||
<!-- void QPainter::fillRect(const QRectF &rectangle, const QBrush &brush) -->
|
||||
<!-- void QPainter::fillRect(int x, int y, int width, int height, const QBrush &brush) -->
|
||||
<!-- void QPainter::fillRect(const QRect &rectangle, const QBrush &brush) -->
|
||||
<!-- void QPainter::fillRect(const QRectF &rectangle, const QColor &color) -->
|
||||
<!-- void QPainter::fillRect(int x, int y, int width, int height, const QColor &color) -->
|
||||
<!-- void QPainter::fillRect(const QRect &rectangle, const QColor &color) -->
|
||||
<!-- void QPainter::fillRect(int x, int y, int width, int height, Qt::GlobalColor color) -->
|
||||
<!-- void QPainter::fillRect(const QRect &rectangle, Qt::GlobalColor color) -->
|
||||
<!-- void QPainter::fillRect(const QRectF &rectangle, Qt::GlobalColor color) -->
|
||||
<!-- void QPainter::fillRect(int x, int y, int width, int height, Qt::BrushStyle style) -->
|
||||
<!-- void QPainter::fillRect(const QRect &rectangle, Qt::BrushStyle style) -->
|
||||
<!-- void QPainter::fillRect(const QRectF &rectangle, Qt::BrushStyle style) -->
|
||||
<!-- void QPainter::fillRect(int x, int y, int width, int height, QGradient::Preset preset) -->
|
||||
<!-- void QPainter::fillRect(const QRect &rectangle, QGradient::Preset preset) -->
|
||||
<!-- void QPainter::fillRect(const QRectF &rectangle, QGradient::Preset preset) -->
|
||||
<function name="QPainter::fillRect">
|
||||
<noreturn>false</noreturn>
|
||||
<returnValue type="void"/>
|
||||
<leak-ignore/>
|
||||
<arg nr="1" direction="in">
|
||||
<not-uninit/>
|
||||
</arg>
|
||||
<arg nr="2" direction="in">
|
||||
<not-uninit/>
|
||||
</arg>
|
||||
<arg nr="any" direction="in">
|
||||
<not-uninit/>
|
||||
</arg>
|
||||
</function>
|
||||
<!-- void QPainter::setBrush(const QBrush &brush) -->
|
||||
<!-- void QPainter::setBrush(Qt::BrushStyle style) -->
|
||||
<function name="QPainter::setBrush">
|
||||
<noreturn>false</noreturn>
|
||||
<returnValue type="void"/>
|
||||
<leak-ignore/>
|
||||
<arg nr="1" direction="in">
|
||||
<not-uninit/>
|
||||
</arg>
|
||||
</function>
|
||||
<!-- void QPainter::setCompositionMode(QPainter::CompositionMode mode) -->
|
||||
<function name="QPainter::setCompositionMode">
|
||||
<noreturn>false</noreturn>
|
||||
<returnValue type="void"/>
|
||||
<leak-ignore/>
|
||||
<arg nr="1" direction="in">
|
||||
<not-uninit/>
|
||||
</arg>
|
||||
</function>
|
||||
<!-- void QPainter::setFont(const QFont &font) -->
|
||||
<function name="QPainter::setFont">
|
||||
<noreturn>false</noreturn>
|
||||
<returnValue type="void"/>
|
||||
<leak-ignore/>
|
||||
<arg nr="1" direction="in">
|
||||
<not-uninit/>
|
||||
<not-bool/>
|
||||
</arg>
|
||||
</function>
|
||||
<!-- void QPainter::setOpacity(qreal opacity) -->
|
||||
<function name="QPainter::setOpacity">
|
||||
<noreturn>false</noreturn>
|
||||
<returnValue type="void"/>
|
||||
<leak-ignore/>
|
||||
<arg nr="1" direction="in">
|
||||
<not-uninit/>
|
||||
<not-bool/>
|
||||
</arg>
|
||||
</function>
|
||||
<!-- void QPainter::setPen(const QPen &pen) -->
|
||||
<!-- void QPainter::setPen(const QColor &color) -->
|
||||
<!-- void QPainter::setPen(Qt::PenStyle style) -->
|
||||
<function name="QPainter::setPen">
|
||||
<noreturn>false</noreturn>
|
||||
<returnValue type="void"/>
|
||||
<leak-ignore/>
|
||||
<arg nr="1" direction="in">
|
||||
<not-uninit/>
|
||||
<not-bool/>
|
||||
</arg>
|
||||
</function>
|
||||
<!-- void QPainter::setRenderHint(QPainter::RenderHint hint, bool on = true) -->
|
||||
<function name="QPainter::setRenderHint">
|
||||
<noreturn>false</noreturn>
|
||||
<returnValue type="void"/>
|
||||
<leak-ignore/>
|
||||
<arg nr="1" direction="in">
|
||||
<not-uninit/>
|
||||
</arg>
|
||||
<arg nr="2" direction="in" default="true">
|
||||
<not-uninit/>
|
||||
</arg>
|
||||
</function>
|
||||
<!-- void QPainter::translate(const QPointF &offset) -->
|
||||
<!-- void QPainter::translate(const QPoint &offset) -->
|
||||
<!-- void QPainter::translate(qreal dx, qreal dy) -->
|
||||
<function name="QPainter::translate">
|
||||
<noreturn>false</noreturn>
|
||||
<returnValue type="void"/>
|
||||
<leak-ignore/>
|
||||
<arg nr="1" direction="in">
|
||||
<not-uninit/>
|
||||
</arg>
|
||||
<arg nr="2" direction="in" default="">
|
||||
<not-uninit/>
|
||||
</arg>
|
||||
</function>
|
||||
<!-- bool QPainter::viewTransformEnabled() const -->
|
||||
<function name="QPainter::viewTransformEnabled">
|
||||
<noreturn>false</noreturn>
|
||||
<returnValue type="bool"/>
|
||||
<use-retval/>
|
||||
<const/>
|
||||
</function>
|
||||
<!-- QRect QPainter::viewport() const -->
|
||||
<function name="QPainter::viewport">
|
||||
<noreturn>false</noreturn>
|
||||
<returnValue type="QRect"/>
|
||||
<use-retval/>
|
||||
<const/>
|
||||
</function>
|
||||
<!-- QRect QPainter::window() const -->
|
||||
<function name="QPainter::window">
|
||||
<noreturn>false</noreturn>
|
||||
<returnValue type="QRect"/>
|
||||
<use-retval/>
|
||||
<const/>
|
||||
</function>
|
||||
<!-- bool QPainter::worldMatrixEnabled() const -->
|
||||
<function name="QPainter::worldMatrixEnabled">
|
||||
<noreturn>false</noreturn>
|
||||
<returnValue type="bool"/>
|
||||
<use-retval/>
|
||||
<const/>
|
||||
</function>
|
||||
<!-- const QTransform &QPainter::worldTransform() const -->
|
||||
<function name="QPainter::worldTransform">
|
||||
<noreturn>false</noreturn>
|
||||
<returnValue type="const QTransform &"/>
|
||||
<use-retval/>
|
||||
<const/>
|
||||
</function>
|
||||
<container id="qtContainer" opLessAllowed="false">
|
||||
<type templateParameter="0"/>
|
||||
<size>
|
||||
|
|
Loading…
Reference in New Issue