#include <qsvggraphics_p.h>
|
enum | DisplayMode {
InlineMode,
BlockMode,
ListItemMode,
RunInMode,
CompactMode,
MarkerMode,
TableMode,
InlineTableMode,
TableRowGroupMode,
TableHeaderGroupMode,
TableFooterGroupMode,
TableRowMode,
TableColumnGroupMode,
TableColumnMode,
TableCellMode,
TableCaptionMode,
NoneMode,
InheritMode
} |
|
enum | Type {
DOC,
G,
DEFS,
SWITCH,
ANIMATION,
ARC,
CIRCLE,
ELLIPSE,
IMAGE,
LINE,
PATH,
POLYGON,
POLYLINE,
RECT,
TEXT,
TEXTAREA,
TSPAN,
USE,
VIDEO
} |
|
static qreal | strokeWidth (QPainter *p) |
|
QSvgStyle | m_style |
|
Definition at line 156 of file qsvggraphics_p.h.
◆ QSvgPolyline()
◆ bounds()
Reimplemented from QSvgNode.
Definition at line 570 of file qsvggraphics.cpp.
const QTransform & transform() const
Returns the world transformation matrix.
The QPainterPath class provides a container for painting operations, enabling graphical shapes to be ...
void addPolygon(const QPolygonF &polygon)
Adds the given polygon to the path as an (unclosed) subpath.
static qreal strokeWidth(QPainter *p)
static QRectF boundsOnStroke(QPainter *p, const QPainterPath &path, qreal width)
static Q_DECL_CONSTEXPR bool qFuzzyIsNull(double d)
◆ draw()
Implements QSvgNode.
Definition at line 215 of file qsvggraphics.cpp.
qreal opacity() const
Returns the opacity of the painter.
void applyStyle(QPainter *p, QSvgExtraStates &states) const
The QPen class defines how a QPainter should draw lines and outlines of shapes.
const QPen & pen() const
Returns the painter's current pen.
void drawPolygon(const QPointF *points, int pointCount, Qt::FillRule fillRule=Qt::OddEvenFill)
Draws the polygon defined by the first pointCount points in the array points using the current pen an...
Qt::BrushStyle style() const
Returns the brush style.
const QBrush & brush() const
Returns the painter's current brush.
void setPen(const QColor &color)
Sets the painter's pen to have style Qt::SolidLine, width 0 and the specified color.
qreal widthF() const
Returns the pen width with floating point precision.
void setOpacity(qreal opacity)
Sets the opacity of the painter to opacity.
void revertStyle(QPainter *p, QSvgExtraStates &states) const
void drawPolyline(const QPointF *points, int pointCount)
Draws the polyline defined by the first pointCount points in points using the current pen...
◆ type()
◆ m_poly
The documentation for this class was generated from the following files: