In freehand drawing only use high quality when rendering output

This commit is contained in:
Jaex 2017-05-26 09:10:37 +03:00
parent a79f44156f
commit 2766db8daf

View file

@ -126,7 +126,14 @@ protected void DrawFreehand(Graphics g, Color borderColor, int borderSize, Point
{ {
if (points.Length > 0 && borderSize > 0 && borderColor.A > 0) if (points.Length > 0 && borderSize > 0 && borderColor.A > 0)
{ {
g.SmoothingMode = SmoothingMode.HighQuality; if (Manager.IsRenderingOutput)
{
g.SmoothingMode = SmoothingMode.HighQuality;
}
else
{
g.SmoothingMode = SmoothingMode.HighSpeed;
}
if (points.Length == 1) if (points.Length == 1)
{ {