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

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