Qt 4.8
|
#include <qoutlinemapper_p.h>
Public Functions | |
void | beginOutline (Qt::FillRule fillRule) |
void | clipElements (const QPointF *points, const QPainterPath::ElementType *types, int count) |
void | closeSubpath () |
void | convertElements (const QPointF *points, const QPainterPath::ElementType *types, int count) |
QT_FT_Outline * | convertPath (const QPainterPath &path) |
QT_FT_Outline * | convertPath (const QVectorPath &path) |
void | curveTo (const QPointF &cp1, const QPointF &cp2, const QPointF &ep) |
QPainterPath::ElementType * | elementTypes () const |
void | endOutline () |
void | lineTo (const QPointF &pt) |
void | moveTo (const QPointF &pt) |
QT_FT_Outline * | outline () |
QOutlineMapper () | |
void | setMatrix (const QTransform &m) |
Sets up the matrix to be used for conversion. More... | |
Public Variables | |
QRectF | controlPointRect |
QRect | m_clip_rect |
QDataBuffer< int > | m_contours |
qreal | m_dx |
qreal | m_dy |
QDataBuffer< QPainterPath::ElementType > | m_element_types |
QDataBuffer< QPointF > | m_elements |
QDataBuffer< QPointF > | m_elements_dev |
bool | m_in_clip_elements |
qreal | m_m11 |
qreal | m_m12 |
qreal | m_m13 |
qreal | m_m21 |
qreal | m_m22 |
qreal | m_m23 |
qreal | m_m33 |
QT_FT_Outline | m_outline |
QDataBuffer< QT_FT_Vector > | m_points |
QDataBuffer< QPointF > | m_polygon_dev |
int | m_subpath_start |
QDataBuffer< char > | m_tags |
uint | m_txop |
bool | m_valid |
Definition at line 87 of file qoutlinemapper_p.h.
|
inline |
Definition at line 90 of file qoutlinemapper_p.h.
|
inline |
Definition at line 121 of file qoutlinemapper_p.h.
Referenced by convertPath(), and QRasterPaintEngine::drawPolygon().
void QOutlineMapper::clipElements | ( | const QPointF * | points, |
const QPainterPath::ElementType * | types, | ||
int | count | ||
) |
Definition at line 341 of file qoutlinemapper.cpp.
Referenced by beginOutline(), and endOutline().
|
inline |
Definition at line 173 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 244 of file qoutlinemapper.cpp.
Referenced by beginOutline(), and endOutline().
QT_FT_Outline * QOutlineMapper::convertPath | ( | const QPainterPath & | path | ) |
Definition at line 78 of file qoutlinemapper.cpp.
Referenced by QRasterPaintEngine::clip(), clipElements(), endOutline(), QRasterPaintEngine::fill(), QRasterPaintEngine::fillPath(), QRasterPaintEngine::fillPolygon(), and outline().
QT_FT_Outline * QOutlineMapper::convertPath | ( | const QVectorPath & | path | ) |
Definition at line 116 of file qoutlinemapper.cpp.
|
inline |
Definition at line 163 of file qoutlinemapper_p.h.
Referenced by convertPath().
|
inline |
Definition at line 204 of file qoutlinemapper_p.h.
Referenced by endOutline().
void QOutlineMapper::endOutline | ( | ) |
Definition at line 168 of file qoutlinemapper.cpp.
Referenced by beginOutline(), convertPath(), and QRasterPaintEngine::drawPolygon().
|
inline |
Definition at line 155 of file qoutlinemapper_p.h.
Referenced by closeSubpath(), convertPath(), and QRasterPaintEngine::drawPolygon().
|
inline |
Definition at line 145 of file qoutlinemapper_p.h.
Referenced by convertPath(), and QRasterPaintEngine::drawPolygon().
|
inline |
Definition at line 195 of file qoutlinemapper_p.h.
Referenced by convertPath(), and QRasterPaintEngine::drawPolygon().
|
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 107 of file qoutlinemapper_p.h.
QRectF QOutlineMapper::controlPointRect |
Definition at line 217 of file qoutlinemapper_p.h.
Referenced by QRasterPaintEngine::drawPolygon(), endOutline(), and QRasterPaintEngine::fillPolygon().
QRect QOutlineMapper::m_clip_rect |
Definition at line 214 of file qoutlinemapper_p.h.
Referenced by clipElements(), and endOutline().
QDataBuffer<int> QOutlineMapper::m_contours |
Definition at line 212 of file qoutlinemapper_p.h.
Referenced by beginOutline(), and convertElements().
qreal QOutlineMapper::m_dx |
Definition at line 232 of file qoutlinemapper_p.h.
Referenced by endOutline(), and setMatrix().
qreal QOutlineMapper::m_dy |
Definition at line 233 of file qoutlinemapper_p.h.
Referenced by endOutline(), and setMatrix().
QDataBuffer<QPainterPath::ElementType> QOutlineMapper::m_element_types |
Definition at line 207 of file qoutlinemapper_p.h.
Referenced by beginOutline(), closeSubpath(), convertPath(), curveTo(), elementTypes(), endOutline(), lineTo(), and moveTo().
QDataBuffer<QPointF> QOutlineMapper::m_elements |
Definition at line 208 of file qoutlinemapper_p.h.
Referenced by beginOutline(), closeSubpath(), convertPath(), curveTo(), endOutline(), lineTo(), and moveTo().
QDataBuffer<QPointF> QOutlineMapper::m_elements_dev |
Definition at line 209 of file qoutlinemapper_p.h.
Referenced by beginOutline(), and endOutline().
bool QOutlineMapper::m_in_clip_elements |
Definition at line 236 of file qoutlinemapper_p.h.
Referenced by clipElements(), and endOutline().
qreal QOutlineMapper::m_m11 |
Definition at line 225 of file qoutlinemapper_p.h.
Referenced by endOutline(), and setMatrix().
qreal QOutlineMapper::m_m12 |
Definition at line 226 of file qoutlinemapper_p.h.
Referenced by endOutline(), and setMatrix().
qreal QOutlineMapper::m_m13 |
Definition at line 227 of file qoutlinemapper_p.h.
Referenced by endOutline(), and setMatrix().
qreal QOutlineMapper::m_m21 |
Definition at line 228 of file qoutlinemapper_p.h.
Referenced by endOutline(), and setMatrix().
qreal QOutlineMapper::m_m22 |
Definition at line 229 of file qoutlinemapper_p.h.
Referenced by endOutline(), and setMatrix().
qreal QOutlineMapper::m_m23 |
Definition at line 230 of file qoutlinemapper_p.h.
Referenced by endOutline(), and setMatrix().
qreal QOutlineMapper::m_m33 |
Definition at line 231 of file qoutlinemapper_p.h.
Referenced by endOutline(), and setMatrix().
QT_FT_Outline QOutlineMapper::m_outline |
Definition at line 219 of file qoutlinemapper_p.h.
Referenced by beginOutline(), clipElements(), convertElements(), endOutline(), and outline().
QDataBuffer<QT_FT_Vector> QOutlineMapper::m_points |
Definition at line 210 of file qoutlinemapper_p.h.
Referenced by beginOutline(), and convertElements().
QDataBuffer<QPointF> QOutlineMapper::m_polygon_dev |
Definition at line 215 of file qoutlinemapper_p.h.
int QOutlineMapper::m_subpath_start |
Definition at line 222 of file qoutlinemapper_p.h.
Referenced by beginOutline(), closeSubpath(), and moveTo().
QDataBuffer<char> QOutlineMapper::m_tags |
Definition at line 211 of file qoutlinemapper_p.h.
Referenced by beginOutline(), and convertElements().
uint QOutlineMapper::m_txop |
Definition at line 220 of file qoutlinemapper_p.h.
Referenced by clipElements(), endOutline(), and setMatrix().
bool QOutlineMapper::m_valid |
Definition at line 235 of file qoutlinemapper_p.h.
Referenced by beginOutline(), clipElements(), endOutline(), and outline().