Commit c56be8c9 authored by Halla Rempt's avatar Halla Rempt
Browse files

Apply thickness parameter to hatching brush

Patch by Salil Kapur
CCMAIL: salilkapur93@gmail.com
BUG: 313298
parent 7494b9f3
......@@ -199,7 +199,7 @@ void HatchingBrush::iterateLines(bool forward, int lineindex, bool oneline)
if (m_settings->antialias)
m_painter.drawThickLine(A, B, thickness, thickness);
else
m_painter.drawDDALine(A, B); //testing no subpixel;
m_painter.drawLine(A, B, thickness, false); //testing no subpixel;
if (oneline)
break;
......@@ -260,7 +260,7 @@ void HatchingBrush::iterateVerticalLines(bool forward, int lineindex, bool oneli
if (m_settings->antialias)
m_painter.drawThickLine(A, B, thickness, thickness);
else
m_painter.drawDDALine(A, B); //testing no subpixel;
m_painter.drawLine(A, B, thickness, false); //testing no subpixel;
if (oneline)
break;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment