This should be the correct fix for the crashes that occured with resized images.
The code that determines the region to draw in
-[XGGState _compositeGState:fromRect:toPoint:op:fraction]
is rewritten. This incidentally fixes a bug when drawing
an image in a window which is partially outside the screen.
This patch contains three parts:
* Patch to NSImage.m
* Patch to xgps
* new file in xgps
-------[ ChangeLog entry for gui ]-------------------------
2002-02-18 Willem Rein Oudshoorn <[EMAIL PROTECTED]>
* gui/Source/NSImage.m ([NSImage -initWithSize:]): removed the
round size down temporary fix.
([NSImage -setSize:]): removed the round size down temporary fix.
-------[ ChangeLog entry for xgps ]------------------------
2002-02-18 Willem Rein Oudshoorn <[EMAIL PROTECTED]>
* xgps/Source/XGGeometry.m: new file
* xgps/Source/XGGState.m ([XGGState
-_compositeGState:sourcefromRect:fromRecttoPoint:toPointop:opfraction:]):
rewritten rectangle clipping.
([XGGState visibleRectForWindow:]): method removed (functionality replaced
by functions in XGGeometry.[hm]
* xgps/Source/GNUmakefile (libgnustep-xgps_OBJC_FILES): added new .m file
* xgps/Headers/gnustep/xgps/XGGeometry.h: added prototypes and
XGContextWindow.h include directive.
* xgps/Headers/gnustep/xgps/XGContextWindow.h (GET_XDRAWABLE): new macro
nsi-diff.gz
Description: Patch for NSImage.m
xgps-diff.gz
Description: Patch for xgps
XGGeometry.m.gz
Description: new file: xgps/Source/XGGeometry.m
