mirror of
https://github.com/gnustep/libs-back.git
synced 2025-05-30 00:40:55 +00:00
* Headers/x11/XGServer.h: Add #include of config.h.
* Source/art/path.m (-DPSrectfill::::), * Source/xlib/XGGState.m (-DPSrectfill::::): Change name of local variable to avoid compiler warning. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@33365 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
26e096a1b5
commit
590eedf3c0
4 changed files with 18 additions and 12 deletions
|
@ -984,13 +984,13 @@ static void clip_svp_callback(void *data, int y, int start,
|
|||
|
||||
if (pattern != nil)
|
||||
{
|
||||
NSBezierPath *path;
|
||||
NSBezierPath *rpath;
|
||||
|
||||
path = [[NSBezierPath alloc] init];
|
||||
[path appendBezierPathWithRect: NSMakeRect(x, y, w, h)];
|
||||
[path transformUsingAffineTransform: ctm];
|
||||
[self fillPath: path withPattern: pattern];
|
||||
RELEASE(path);
|
||||
rpath = [[NSBezierPath alloc] init];
|
||||
[rpath appendBezierPathWithRect: NSMakeRect(x, y, w, h)];
|
||||
[rpath transformUsingAffineTransform: ctm];
|
||||
[self fillPath: rpath withPattern: pattern];
|
||||
RELEASE(rpath);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
@ -1543,13 +1543,13 @@ static Region emptyRegion;
|
|||
|
||||
if (pattern != nil)
|
||||
{
|
||||
NSBezierPath *path;
|
||||
NSBezierPath *rpath;
|
||||
|
||||
path = [[NSBezierPath alloc] init];
|
||||
[path appendBezierPathWithRect: NSMakeRect(x, y, w, h)];
|
||||
[path transformUsingAffineTransform: ctm];
|
||||
[self fillPath: path withPattern: pattern];
|
||||
RELEASE(path);
|
||||
rpath = [[NSBezierPath alloc] init];
|
||||
[rpath appendBezierPathWithRect: NSMakeRect(x, y, w, h)];
|
||||
[rpath transformUsingAffineTransform: ctm];
|
||||
[self fillPath: rpath withPattern: pattern];
|
||||
RELEASE(rpath);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue