Mercurial > projects > qtd
diff demos/deform/pathdeform.d @ 165:0f23cdea249a
-
author | mwarning |
---|---|
date | Wed, 17 Jun 2009 23:48:09 +0000 |
parents | ab01453c9d56 |
children | 5bcfe9e7db7f |
line wrap: on
line diff
--- a/demos/deform/pathdeform.d Wed Jun 17 23:33:13 2009 +0000 +++ b/demos/deform/pathdeform.d Wed Jun 17 23:48:09 2009 +0000 @@ -428,7 +428,7 @@ m_paths = null; m_pathBounds = QRectF(); - QPointF advance(0, 0); + QPointF advance; bool do_quick = true; for (int i = 0; i < text.length; ++i) { @@ -454,7 +454,7 @@ } for (int i = 0; i < m_paths.length; ++i) - m_paths[i] = m_paths[i] * (new QMatrix(1, 0, 0, 1, -m_pathBounds.x(), -m_pathBounds.y()); + m_paths[i] = m_paths[i] * (new QMatrix(1, 0, 0, 1, -m_pathBounds.x(), -m_pathBounds.y())); update(); }