Lines Matching refs:currentPath
227 QPainterPath currentPath;
298 if (!m_data->currentPath.isEmpty() && m_common->state.pathTransform.isInvertible()) {
300 m_data->currentPath = m_data->currentPath * matrix;
535 QPainterPath path = m_data->currentPath;
552 m_data->currentPath = QPainterPath();
562 QPainterPath path = m_data->currentPath;
593 m_data->currentPath = QPainterPath();
655 m_data->currentPath = QPainterPath();
660 QPainterPath newPath = m_data->currentPath;
662 m_data->currentPath = newPath;
670 PlatformPath* GraphicsContext::currentPath()
672 return &m_data->currentPath;
689 QPainterPath newPath = m_data->currentPath;
853 m_data->currentPath = path;
969 if (!m_data->currentPath.isEmpty()) {
971 m_data->currentPath = m_data->currentPath * matrix.translate(-x, -y);
991 if (!m_data->currentPath.isEmpty()) {
993 m_data->currentPath = m_data->currentPath * matrix.rotate(-180/M_PI*radians);
1005 if (!m_data->currentPath.isEmpty()) {
1007 m_data->currentPath = m_data->currentPath * matrix.scale(1 / s.width(), 1 / s.height());
1094 // Transformations to the context shouldn't transform the currentPath.
1095 // We have to undo every change made to the context from the currentPath
1097 if (!m_data->currentPath.isEmpty() && transform.isInvertible()) {
1099 m_data->currentPath = m_data->currentPath * matrix;