4#ifndef QOUTLINEMAPPER_P_H
5#define QOUTLINEMAPPER_P_H
18#include <QtGui/private/qtguiglobal_p.h>
19#include <QtCore/qrect.h>
21#include <QtGui/qtransform.h>
22#include <QtGui/qpainterpath.h>
24#define QT_FT_BEGIN_HEADER
25#define QT_FT_END_HEADER
27#include <private/qrasterdefs_p.h>
28#include <private/qdatabuffer_p.h>
35#if Q_PROCESSOR_WORDSIZE == 8
86#ifdef QT_DEBUG_CONVERT
87 printf(
"QOutlineMapper::beginOutline rule=%d\n", fillRule);
108#ifdef QT_DEBUG_CONVERT
109 printf(
"QOutlineMapper::moveTo() (%f, %f)\n", pt.
x(), pt.
y());
118#ifdef QT_DEBUG_CONVERT
119 printf(
"QOutlineMapper::lineTo() (%f, %f)\n", pt.
x(), pt.
y());
129 if (element_count > 0) {
131#ifdef QT_DEBUG_CONVERT
132 printf(
" - implicitly closing\n");
QT_FT_Outline * outline()
void clipElements(const QPointF *points, const QPainterPath::ElementType *types, int count)
QDataBuffer< QT_FT_Vector > m_points
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.
void moveTo(const QPointF &pt)
void curveTo(const QPointF &cp1, const QPointF &cp2, const QPointF &ep)
void setClipRect(QRect clipRect)
QDataBuffer< QPointF > m_elements
QPainterPath::ElementType * elementTypes() const
QDataBuffer< char > m_tags
QDataBuffer< int > m_contours
QDataBuffer< QPainterPath::ElementType > m_element_types
QRectF m_clip_trigger_rect
QT_FT_Outline * convertPath(const QPainterPath &path)
void beginOutline(Qt::FillRule fillRule)
void lineTo(const QPointF &pt)
ElementType
This enum describes the types of elements used to connect vertices in subpaths.
\inmodule QtCore\reentrant
constexpr qreal x() const noexcept
Returns the x coordinate of this point.
constexpr qreal y() const noexcept
Returns the y coordinate of this point.
\inmodule QtCore\reentrant
\inmodule QtCore\reentrant
Combined button and popup list for selecting options.
GLsizei GLenum GLenum * types
GLenum GLenum GLsizei count
GLuint GLenum GLenum transform
GLfixed GLfixed GLint GLint GLfixed points
GLsizei const GLchar *const * path
GLenum GLenum GLenum GLenum GLenum scale
Q_GUI_EXPORT bool qt_scaleForTransform(const QTransform &transform, qreal *scale)
QT_BEGIN_NAMESPACE constexpr int QT_RASTER_COORD_LIMIT
#define QT_FT_OUTLINE_EVEN_ODD_FILL
#define QT_FT_OUTLINE_NONE