diff --git a/ChangeLog b/ChangeLog index 28813a1..5b4127d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,9 +1,13 @@ +2002-04-22 Georg Fleischmann + + * back/Source/xlib/XGGState.m + [XGGState DPSsetlinewidth:]: scale line width. + 2002-04-23 Fred Kiefer * Source/win32/WIN32Server.m [window::::] corrected and simplified the last change. - 2002-04-22 Adam Fedor * configure.in: Check for gdi32. diff --git a/Source/xlib/XGGState.m b/Source/xlib/XGGState.m index d16abcc..3287c39 100644 --- a/Source/xlib/XGGState.m +++ b/Source/xlib/XGGState.m @@ -1520,6 +1520,10 @@ typedef enum { - (void)DPSsetlinewidth: (float)width { int w; + NSSize ws; + + ws = [ctm sizeInMatrixSpace: NSMakeSize(width,width)]; + width = (ws.width + ws.height) / 2; /* * Evil hack to get drawing to work - with a line thickness of 1, the