Scale line width

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@13529 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Adam Fedor 2002-04-23 02:26:30 +00:00
parent 381feadd72
commit 41be1bd81c
2 changed files with 9 additions and 1 deletions

View file

@ -1,9 +1,13 @@
2002-04-22 Georg Fleischmann
* back/Source/xlib/XGGState.m
[XGGState DPSsetlinewidth:]: scale line width.
2002-04-23 Fred Kiefer <FredKiefer@gmx.de>
* Source/win32/WIN32Server.m
[window::::] corrected and simplified the last change.
2002-04-22 Adam Fedor <fedor@gnu.org>
* configure.in: Check for gdi32.

View file

@ -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