![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qoutlinemapper_p.h>
Public Member Functions | |
QOutlineMapper () | |
void | setMatrix (const QTransform &m) |
Sets up the matrix to be used for conversion. | |
void | setClipRect (QRect clipRect) |
void | beginOutline (Qt::FillRule fillRule) |
void | endOutline () |
void | clipElements (const QPointF *points, const QPainterPath::ElementType *types, int count) |
void | convertElements (const QPointF *points, const QPainterPath::ElementType *types, int count) |
void | moveTo (const QPointF &pt) |
void | lineTo (const QPointF &pt) |
void | curveTo (const QPointF &cp1, const QPointF &cp2, const QPointF &ep) |
void | closeSubpath () |
QT_FT_Outline * | outline () |
QT_FT_Outline * | convertPath (const QPainterPath &path) |
QT_FT_Outline * | convertPath (const QVectorPath &path) |
QPainterPath::ElementType * | elementTypes () const |
Public Attributes | |
QDataBuffer< QPainterPath::ElementType > | m_element_types |
QDataBuffer< QPointF > | m_elements |
QDataBuffer< QT_FT_Vector > | m_points |
QDataBuffer< char > | m_tags |
QDataBuffer< int > | m_contours |
QRect | m_clip_rect |
QRectF | m_clip_trigger_rect |
QRectF | controlPointRect |
QT_FT_Outline | m_outline |
int | m_subpath_start |
QTransform | m_transform |
qreal | m_curve_threshold |
bool | m_valid |
bool | m_in_clip_elements |
Definition at line 55 of file qoutlinemapper_p.h.
|
inline |
Definition at line 58 of file qoutlinemapper_p.h.
References QOutlineMapper(), and m_in_clip_elements.
Referenced by QOutlineMapper().
|
inline |
Definition at line 84 of file qoutlinemapper_p.h.
References m_subpath_start, and m_valid.
void QOutlineMapper::clipElements | ( | const QPointF * | points, |
const QPainterPath::ElementType * | types, | ||
int | count ) |
Definition at line 326 of file qoutlinemapper.cpp.
References m_valid.
|
inline |
Definition at line 127 of file qoutlinemapper_p.h.
Referenced by endOutline(), and moveTo().
void QOutlineMapper::convertElements | ( | const QPointF * | points, |
const QPainterPath::ElementType * | types, | ||
int | count ) |
Definition at line 229 of file qoutlinemapper.cpp.
QT_FT_Outline * QOutlineMapper::convertPath | ( | const QPainterPath & | path | ) |
Definition at line 87 of file qoutlinemapper.cpp.
References endOutline().
QT_FT_Outline * QOutlineMapper::convertPath | ( | const QVectorPath & | path | ) |
Definition at line 125 of file qoutlinemapper.cpp.
References endOutline().
Definition at line 58 of file qoutlinemapper.cpp.
|
inline |
Definition at line 158 of file qoutlinemapper_p.h.
void QOutlineMapper::endOutline | ( | ) |
Definition at line 177 of file qoutlinemapper.cpp.
References closeSubpath(), and m_valid.
Referenced by convertPath(), and convertPath().
Definition at line 117 of file qoutlinemapper_p.h.
Definition at line 107 of file qoutlinemapper_p.h.
References closeSubpath().
|
inline |
Definition at line 149 of file qoutlinemapper_p.h.
Definition at line 40 of file qoutlinemapper.cpp.
References QT_RASTER_COORD_LIMIT.
|
inline |
Sets up the matrix to be used for conversion.
This also sets up the qt_path_iterator function that is used as a callback to get points.
Definition at line 73 of file qoutlinemapper_p.h.
QRectF QOutlineMapper::controlPointRect |
Definition at line 169 of file qoutlinemapper_p.h.
QRect QOutlineMapper::m_clip_rect |
Definition at line 167 of file qoutlinemapper_p.h.
QRectF QOutlineMapper::m_clip_trigger_rect |
Definition at line 168 of file qoutlinemapper_p.h.
QDataBuffer<int> QOutlineMapper::m_contours |
Definition at line 165 of file qoutlinemapper_p.h.
qreal QOutlineMapper::m_curve_threshold |
Definition at line 177 of file qoutlinemapper_p.h.
QDataBuffer<QPainterPath::ElementType> QOutlineMapper::m_element_types |
Definition at line 161 of file qoutlinemapper_p.h.
QDataBuffer<QPointF> QOutlineMapper::m_elements |
Definition at line 162 of file qoutlinemapper_p.h.
bool QOutlineMapper::m_in_clip_elements |
Definition at line 180 of file qoutlinemapper_p.h.
Referenced by QOutlineMapper().
QT_FT_Outline QOutlineMapper::m_outline |
Definition at line 171 of file qoutlinemapper_p.h.
QDataBuffer<QT_FT_Vector> QOutlineMapper::m_points |
Definition at line 163 of file qoutlinemapper_p.h.
int QOutlineMapper::m_subpath_start |
Definition at line 173 of file qoutlinemapper_p.h.
Referenced by beginOutline().
QDataBuffer<char> QOutlineMapper::m_tags |
Definition at line 164 of file qoutlinemapper_p.h.
QTransform QOutlineMapper::m_transform |
Definition at line 175 of file qoutlinemapper_p.h.
bool QOutlineMapper::m_valid |
Definition at line 179 of file qoutlinemapper_p.h.
Referenced by beginOutline(), clipElements(), and endOutline().