42 #ifndef QOUTLINEMAPPER_P_H 43 #define QOUTLINEMAPPER_P_H 56 #include <QtCore/qrect.h> 58 #include <QtGui/qtransform.h> 59 #include <QtGui/qpainterpath.h> 61 #define QT_FT_BEGIN_HEADER 62 #define QT_FT_END_HEADER 64 #include <private/qrasterdefs_p.h> 65 #include <private/qdatabuffer_p.h> 123 #ifdef QT_DEBUG_CONVERT 124 printf(
"QOutlineMapper::beginOutline rule=%d\n", fillRule);
146 #ifdef QT_DEBUG_CONVERT 147 printf(
"QOutlineMapper::moveTo() (%f, %f)\n", pt.
x(), pt.
y());
156 #ifdef QT_DEBUG_CONVERT 157 printf(
"QOutlineMapper::lineTo() (%f, %f)\n", pt.
x(), pt.
y());
164 #ifdef QT_DEBUG_CONVERT 165 printf(
"QOutlineMapper::curveTo() (%f, %f)\n", ep.
x(), ep.
y());
175 if (element_count > 0) {
177 #ifdef QT_DEBUG_CONVERT 178 printf(
" - implicitly closing\n");
241 #endif // QOUTLINEMAPPER_P_H ElementType
This enum describes the types of elements used to connect vertices in subpaths.
void curveTo(const QPointF &cp1, const QPointF &cp2, const QPointF &ep)
#define QT_FT_OUTLINE_EVEN_ODD_FILL
void lineTo(const QPointF &pt)
#define QT_END_NAMESPACE
This macro expands to.
The QPainterPath class provides a container for painting operations, enabling graphical shapes to be ...
void moveTo(const QPointF &pt)
The QPointF class defines a point in the plane using floating point precision.
QDataBuffer< QPointF > m_elements_dev
QDataBuffer< QT_FT_Vector > m_points
QDataBuffer< QPointF > m_polygon_dev
QDataBuffer< char > m_tags
qreal x() const
Returns the x-coordinate of this point.
QT_FT_Outline * outline()
QPainterPath::ElementType * elementTypes() const
#define QT_BEGIN_NAMESPACE
This macro expands to.
The QRectF class defines a rectangle in the plane using floating point precision. ...
const int QT_RASTER_COORD_LIMIT
void convertElements(const QPointF *points, const QPainterPath::ElementType *types, int count)
void setMatrix(const QTransform &m)
Sets up the matrix to be used for conversion.
QDataBuffer< QPointF > m_elements
#define QT_FT_OUTLINE_NONE
void beginOutline(Qt::FillRule fillRule)
QDataBuffer< QPainterPath::ElementType > m_element_types
The QRect class defines a rectangle in the plane using integer precision.
qreal y() const
Returns the y-coordinate of this point.
void clipElements(const QPointF *points, const QPainterPath::ElementType *types, int count)
QT_FT_Outline * convertPath(const QPainterPath &path)
QDataBuffer< int > m_contours