mirror of
https://github.com/gnustep/libs-back.git
synced 2025-02-23 20:01:22 +00:00
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:
parent
381feadd72
commit
41be1bd81c
2 changed files with 9 additions and 1 deletions
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue