diff options
author | Niraj Modi | 2018-05-07 11:40:31 +0000 |
---|---|---|
committer | Niraj Modi | 2018-05-07 11:40:31 +0000 |
commit | 9a393e8677dae90cf87b17188eb1104b7ca70f93 (patch) | |
tree | b9a706f978ed81d29033aa85c03bc50d2a393aeb | |
parent | bbddfbcd0d248fde1648eb0171b188704afcfa7e (diff) | |
download | eclipse.platform.swt-I20180507-0800.tar.gz eclipse.platform.swt-I20180507-0800.tar.xz eclipse.platform.swt-I20180507-0800.zip |
Bug 521887 - [HiDPI][Win32] GC draw line with width 0 is not affected byI20180507-0800
OS scaling
Change-Id: I1efc0223aab63a25c4d83392d3723ec73bd66629
Signed-off-by: Niraj Modi <niraj.modi@in.ibm.com>
3 files changed, 11 insertions, 5 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/graphics/GC.java b/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/graphics/GC.java index 3bf08c3495..60c0e383cd 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/graphics/GC.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/graphics/GC.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2000, 2017 IBM Corporation and others. + * Copyright (c) 2000, 2018 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -3767,7 +3767,9 @@ public void setLineStyle(int lineStyle) { * Note that line width of zero is used as a hint to * indicate that the fastest possible line drawing * algorithms should be used. This means that the - * output may be different from line width one. + * output may be different from line width one and + * specially at high DPI it's not recommended to mix + * line width zero with other line widths. * </p> * * @param lineWidth the width of a line diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/GC.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/GC.java index e6c7bff4b1..61894e9490 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/GC.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/GC.java @@ -3573,7 +3573,9 @@ public void setLineStyle(int lineStyle) { * Note that line width of zero is used as a hint to * indicate that the fastest possible line drawing * algorithms should be used. This means that the - * output may be different from line width one. + * output may be different from line width one and + * specially at high DPI it's not recommended to mix + * line width zero with other line widths. * </p> * * @param lineWidth the width of a line diff --git a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/GC.java b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/GC.java index f48eff78fe..57aaae85e4 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/GC.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/GC.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2000, 2016 IBM Corporation and others. + * Copyright (c) 2000, 2018 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -4717,7 +4717,9 @@ public void setLineStyle(int lineStyle) { * Note that line width of zero is used as a hint to * indicate that the fastest possible line drawing * algorithms should be used. This means that the - * output may be different from line width one. + * output may be different from line width one and + * specially at high DPI it's not recommended to mix + * line width zero with other line widths. * </p> * * @param lineWidth the width of a line |