Project: SWT
Bug 88059 Line Width of 0 is invisible on the Mac
Reported: 2005-03-15 09:59:24 | Status: resolved fixed

The default GC.getLineWidth() is zero on all platforms but the Mac. If the line width is set to 0 on the Mac, it becomes invisible. width==0 should result in a line width of 1 pixel, independent of zoom being applied to the GC.

Files changed in fix:
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/graphics/GC.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/graphics/GCData.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/GC.java bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/graphics/GC.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/GC.java