Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNiraj Modi2018-05-07 07:40:31 -0400
committerNiraj Modi2018-05-07 07:40:31 -0400
commit9a393e8677dae90cf87b17188eb1104b7ca70f93 (patch)
treeb9a706f978ed81d29033aa85c03bc50d2a393aeb /bundles/org.eclipse.swt/Eclipse SWT/win32
parentbbddfbcd0d248fde1648eb0171b188704afcfa7e (diff)
downloadeclipse.platform.swt-9a393e8677dae90cf87b17188eb1104b7ca70f93.tar.gz
eclipse.platform.swt-9a393e8677dae90cf87b17188eb1104b7ca70f93.tar.xz
eclipse.platform.swt-9a393e8677dae90cf87b17188eb1104b7ca70f93.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>
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT/win32')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/GC.java6
1 files changed, 4 insertions, 2 deletions
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

Back to the top