Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QOutlineMapper Class Reference

#include <qoutlinemapper_p.h>

Collaboration diagram for QOutlineMapper:

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_Outlineoutline ()
QT_FT_OutlineconvertPath (const QPainterPath &path)
QT_FT_OutlineconvertPath (const QVectorPath &path)
QPainterPath::ElementTypeelementTypes () const

Public Attributes

QDataBuffer< QPainterPath::ElementTypem_element_types
QDataBuffer< QPointFm_elements
QDataBuffer< QT_FT_Vectorm_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

Detailed Description

Definition at line 55 of file qoutlinemapper_p.h.

Constructor & Destructor Documentation

◆ QOutlineMapper()

QOutlineMapper::QOutlineMapper ( )
inline

Definition at line 58 of file qoutlinemapper_p.h.

References QOutlineMapper(), and m_in_clip_elements.

Referenced by QOutlineMapper().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Function Documentation

◆ beginOutline()

void QOutlineMapper::beginOutline ( Qt::FillRule fillRule)
inline

Definition at line 84 of file qoutlinemapper_p.h.

References m_subpath_start, and m_valid.

◆ clipElements()

void QOutlineMapper::clipElements ( const QPointF * points,
const QPainterPath::ElementType * types,
int count )

Definition at line 326 of file qoutlinemapper.cpp.

References m_valid.

◆ closeSubpath()

void QOutlineMapper::closeSubpath ( )
inline

Definition at line 127 of file qoutlinemapper_p.h.

Referenced by endOutline(), and moveTo().

Here is the caller graph for this function:

◆ convertElements()

void QOutlineMapper::convertElements ( const QPointF * points,
const QPainterPath::ElementType * types,
int count )

Definition at line 229 of file qoutlinemapper.cpp.

◆ convertPath() [1/2]

QT_FT_Outline * QOutlineMapper::convertPath ( const QPainterPath & path)

Definition at line 87 of file qoutlinemapper.cpp.

References endOutline().

Here is the call graph for this function:

◆ convertPath() [2/2]

QT_FT_Outline * QOutlineMapper::convertPath ( const QVectorPath & path)

Definition at line 125 of file qoutlinemapper.cpp.

References endOutline().

Here is the call graph for this function:

◆ curveTo()

void QOutlineMapper::curveTo ( const QPointF & cp1,
const QPointF & cp2,
const QPointF & ep )

Definition at line 58 of file qoutlinemapper.cpp.

◆ elementTypes()

QPainterPath::ElementType * QOutlineMapper::elementTypes ( ) const
inline

Definition at line 158 of file qoutlinemapper_p.h.

◆ endOutline()

void QOutlineMapper::endOutline ( )

Definition at line 177 of file qoutlinemapper.cpp.

References closeSubpath(), and m_valid.

Referenced by convertPath(), and convertPath().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ lineTo()

void QOutlineMapper::lineTo ( const QPointF & pt)
inline

Definition at line 117 of file qoutlinemapper_p.h.

◆ moveTo()

void QOutlineMapper::moveTo ( const QPointF & pt)
inline

Definition at line 107 of file qoutlinemapper_p.h.

References closeSubpath().

Here is the call graph for this function:

◆ outline()

QT_FT_Outline * QOutlineMapper::outline ( )
inline

Definition at line 149 of file qoutlinemapper_p.h.

◆ setClipRect()

void QOutlineMapper::setClipRect ( QRect clipRect)

Definition at line 40 of file qoutlinemapper.cpp.

References QT_RASTER_COORD_LIMIT.

◆ setMatrix()

void QOutlineMapper::setMatrix ( const QTransform & m)
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.

Member Data Documentation

◆ controlPointRect

QRectF QOutlineMapper::controlPointRect

Definition at line 169 of file qoutlinemapper_p.h.

◆ m_clip_rect

QRect QOutlineMapper::m_clip_rect

Definition at line 167 of file qoutlinemapper_p.h.

◆ m_clip_trigger_rect

QRectF QOutlineMapper::m_clip_trigger_rect

Definition at line 168 of file qoutlinemapper_p.h.

◆ m_contours

QDataBuffer<int> QOutlineMapper::m_contours

Definition at line 165 of file qoutlinemapper_p.h.

◆ m_curve_threshold

qreal QOutlineMapper::m_curve_threshold

Definition at line 177 of file qoutlinemapper_p.h.

◆ m_element_types

QDataBuffer<QPainterPath::ElementType> QOutlineMapper::m_element_types

Definition at line 161 of file qoutlinemapper_p.h.

◆ m_elements

QDataBuffer<QPointF> QOutlineMapper::m_elements

Definition at line 162 of file qoutlinemapper_p.h.

◆ m_in_clip_elements

bool QOutlineMapper::m_in_clip_elements

Definition at line 180 of file qoutlinemapper_p.h.

Referenced by QOutlineMapper().

◆ m_outline

QT_FT_Outline QOutlineMapper::m_outline

Definition at line 171 of file qoutlinemapper_p.h.

◆ m_points

QDataBuffer<QT_FT_Vector> QOutlineMapper::m_points

Definition at line 163 of file qoutlinemapper_p.h.

◆ m_subpath_start

int QOutlineMapper::m_subpath_start

Definition at line 173 of file qoutlinemapper_p.h.

Referenced by beginOutline().

◆ m_tags

QDataBuffer<char> QOutlineMapper::m_tags

Definition at line 164 of file qoutlinemapper_p.h.

◆ m_transform

QTransform QOutlineMapper::m_transform

Definition at line 175 of file qoutlinemapper_p.h.

◆ m_valid

bool QOutlineMapper::m_valid

Definition at line 179 of file qoutlinemapper_p.h.

Referenced by beginOutline(), clipElements(), and endOutline().


The documentation for this class was generated from the following files: