d-widget-toolkit / org.eclipse.swt.win32.win32.x86

5 stars 6 forks source link

A floating point number initialize with 0. #10

Closed kntroh closed 12 years ago

kntroh commented 12 years ago

At Java, A float or a double variable is initialized by 0. At D, it is initialized by NaN.

I saw GC#drawLine() after setAlpha() doesn't work by this difference. (Pen width should be 0, but it be to NaN.)