(-DPSrectclip::::): Make sure -DPSnewpath is called on all paths.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@17777 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Alexander Malmberg 2003-10-04 12:30:33 +00:00
parent 7e660f95a1
commit 46c1f411df
2 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2003-10-04 14:27 Alexander Malmberg <alexander@malmberg.org>
* Source/art/path.m (-DPSrectclip::::): Move the call to -DPSnewpath
so it gets called on all paths through the method.
2003-10-03 Adam Fedor <fedor@gnu.org>
* configure.ac: Use -Wl for netbsd linker options.

View file

@ -807,6 +807,8 @@ static void clip_svp_callback(void *data, int y, int start,
ArtSVP *svp;
int x0, y0, x1, y1;
int axis_aligned;
[self DPSnewpath];
if (all_clipped)
return;
@ -845,8 +847,6 @@ static void clip_svp_callback(void *data, int y, int start,
clip_sx = clip_x1 - clip_x0;
clip_sy = clip_y1 - clip_y0;
[self DPSnewpath];
}
- (void) DPSinitclip;