mirror of
https://github.com/gnustep/libs-back.git
synced 2025-04-22 07:21:02 +00:00
Version 0.8.3
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@15043 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
b08806a88c
commit
cb81caa7fa
5 changed files with 65 additions and 5 deletions
11
ChangeLog
11
ChangeLog
|
@ -1,3 +1,14 @@
|
|||
2002-11-21 Adam Fedor <fedor@gnu.org>
|
||||
|
||||
* Version: 0.8.3
|
||||
|
||||
* Source/gsc/GSStreamContext.m (-GSSendBezierPath:): Add back and
|
||||
implement.
|
||||
|
||||
* Source/x11/XGServerEvent.m ([XGServer
|
||||
-receivedEvent:type:extra:forMode:] (ClientMessage:TAKE_FOCUS)):
|
||||
minor correction.
|
||||
|
||||
2002-11-21 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/gsc/GSGState.m
|
||||
|
|
|
@ -7,15 +7,19 @@
|
|||
@include version.texi
|
||||
@end ifset
|
||||
|
||||
@section Noteworthy changes in version @samp{0.8.2}
|
||||
@section Noteworthy changes in version @samp{0.8.3}
|
||||
|
||||
Improved font handling in art backend. Improved compositing with
|
||||
transformations and clipping in art backend.
|
||||
See the gnustep-gui NEWS for changes.
|
||||
|
||||
@c ====================================================================
|
||||
@c Keep the next line just below the list of changes in most recent version.
|
||||
@ifclear ANNOUNCE-ONLY
|
||||
|
||||
@section Noteworthy changes in version @samp{0.8.2}
|
||||
|
||||
Improved font handling in art backend. Improved compositing with
|
||||
transformations and clipping in art backend.
|
||||
|
||||
@section Noteworthy changes in version @samp{0.8.1}
|
||||
|
||||
art (libart-based) backend added. Use ./configure --enable-graphics=art
|
||||
|
|
|
@ -28,6 +28,7 @@
|
|||
#include "gsc/GSStreamContext.h"
|
||||
#include "gsc/GSStreamGState.h"
|
||||
#include <AppKit/GSFontInfo.h>
|
||||
#include <AppKit/NSBezierPath.h>
|
||||
#include <Foundation/NSArray.h>
|
||||
#include <Foundation/NSData.h>
|
||||
#include <Foundation/NSDebug.h>
|
||||
|
@ -485,6 +486,50 @@
|
|||
fprintf(gstream, "stroke\n");
|
||||
}
|
||||
|
||||
- (void) GSSendBezierPath: (NSBezierPath *)path
|
||||
{
|
||||
NSBezierPathElement type;
|
||||
NSPoint pts[3];
|
||||
int i, count;
|
||||
float pattern[10];
|
||||
float phase;
|
||||
|
||||
[self DPSnewpath];
|
||||
[self DPSsetlinewidth: [path lineWidth]];
|
||||
[self DPSsetlinejoin: [path lineJoinStyle]];
|
||||
[self DPSsetlinecap: [path lineCapStyle]];
|
||||
[self DPSsetmiterlimit: [path miterLimit]];
|
||||
[self DPSsetflat: [path flatness]];
|
||||
|
||||
[path getLineDash: pattern count: &count phase: &phase];
|
||||
// Always sent the dash pattern. When NULL this will reset to a solid line.
|
||||
[self DPSsetdash: pattern : count : phase];
|
||||
|
||||
count = [path elementCount];
|
||||
for(i = 0; i < count; i++)
|
||||
{
|
||||
type = [path elementAtIndex: i associatedPoints: pts];
|
||||
switch(type)
|
||||
{
|
||||
case NSMoveToBezierPathElement:
|
||||
[self DPSmoveto: pts[0].x : pts[0].y];
|
||||
break;
|
||||
case NSLineToBezierPathElement:
|
||||
[self DPSlineto: pts[0].x : pts[0].y];
|
||||
break;
|
||||
case NSCurveToBezierPathElement:
|
||||
[self DPScurveto: pts[0].x : pts[0].y
|
||||
: pts[1].x : pts[1].y : pts[2].x : pts[2].y];
|
||||
break;
|
||||
case NSClosePathBezierPathElement:
|
||||
[self DPSclosepath];
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
- (void) GSRectClipList: (const NSRect *)rects: (int)count
|
||||
{
|
||||
[self notImplemented: _cmd];
|
||||
|
|
|
@ -524,7 +524,7 @@ static inline int check_modifier (XEvent *xEvent, KeyCode key_code)
|
|||
generic.focusRequestNumber = 0;
|
||||
generic.desiredFocusWindow = 0;
|
||||
if (number == 0)
|
||||
number = cWin->number;
|
||||
number = generic.currentFocusWindow;
|
||||
[self setinputstate: GSTitleBarKey : number];
|
||||
[self setinputfocus: number];
|
||||
}
|
||||
|
|
2
Version
2
Version
|
@ -4,7 +4,7 @@
|
|||
# The version number of this release.
|
||||
GNUSTEP_BACK_MAJOR_VERSION=0
|
||||
GNUSTEP_BACK_MINOR_VERSION=8
|
||||
GNUSTEP_BACK_SUBMINOR_VERSION=2
|
||||
GNUSTEP_BACK_SUBMINOR_VERSION=3
|
||||
GNUSTEP_BACK_VERSION=${GNUSTEP_BACK_MAJOR_VERSION}.${GNUSTEP_BACK_MINOR_VERSION}.${GNUSTEP_BACK_SUBMINOR_VERSION}
|
||||
VERSION=${GNUSTEP_BACK_VERSION}
|
||||
|
||||
|
|
Loading…
Reference in a new issue