mirror of
https://github.com/gnustep/libs-back.git
synced 2025-04-22 15:31:14 +00:00
2005-01-20 17:58 Alexander Malmberg <alexander@malmberg.org>
* Source/xlib/XGGState.m (-DPSrectstroke::::): Don't decrease the width/height. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@20586 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
d64abeb81b
commit
bb22782a46
2 changed files with 6 additions and 5 deletions
|
@ -1,4 +1,9 @@
|
|||
2004-11-04 Adrian Robert <arobert@cogsci.ucsd.edu>
|
||||
2005-01-20 17:58 Alexander Malmberg <alexander@malmberg.org>
|
||||
|
||||
* Source/xlib/XGGState.m (-DPSrectstroke::::): Don't decrease
|
||||
the width/height.
|
||||
|
||||
2005-01-15 Adrian Robert <arobert@cogsci.ucsd.edu>
|
||||
|
||||
* Source/x11/XGServerEvent.m (-processEvent:): For XdndPosition
|
||||
event (ClientMessage), convert the point from root coordinates
|
||||
|
|
|
@ -1489,10 +1489,6 @@ static Region emptyRegion;
|
|||
[self setColor: &fillColor state: COLOR_STROKE];
|
||||
|
||||
bounds = XGViewRectToX(self, NSMakeRect(x, y, w, h));
|
||||
if (bounds.width > 0)
|
||||
bounds.width--;
|
||||
if (bounds.height > 0)
|
||||
bounds.height--;
|
||||
// Hack: Only draw when alpha is not zero
|
||||
if (drawingAlpha == NO || strokeColor.field[AINDEX] != 0.0)
|
||||
XDrawRectangle(XDPY, draw, xgcntxt,
|
||||
|
|
Loading…
Reference in a new issue