Community
Participate
Working Groups
Created attachment 142792 [details] patch committed for 2.2.1 and 2.3 As it follows from draw 2d ShapeStyleExample SWT treats line width = 0 as a special case. If it SWT GC has lineWidth == 0 it draws as if line width == 1. This needs to be synced up with AWT image export, namely GraphicsToGraphics2DAdaptor. Aside that, the stroke in drawRoundRectangle(...) method is not set, which is a typo. Attached patch has a trivial fix for this.
Committed for 2.2.1 and 2.3 Patch also has setStroke(...) call removed from drawPolyline(...), since drawPolyline(...) delegates to drawLine(...) which sets the stroke. Also committed patch has a comment.
[GMF Restructure] Bug 319140 : product GMF and component Runtime Diagram was the original product and component for this bug