mirror of
https://github.com/ShareX/ShareX.git
synced 2024-07-04 22:21:23 +12:00
In freehand drawing only use high quality when rendering output
This commit is contained in:
parent
a79f44156f
commit
2766db8daf
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue