Fred Kiefer
961e797c53
Corrected [GSBezierPath appendBezierPath:] to check the class of
...
the parameter and to keep the isFlat flag in sync.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15065 72102866-910b-0410-8b05-ffd578937521
2002-11-24 01:05:20 +00:00
Fred Kiefer
15e791f6a5
Replaces [_doPath] with calls to [NSGraphicsContext
...
GSSendBezierPath:].
Added optimisation methods [appendBezierPath:] and
[transformUsingAffineTransform:] on GSBezierPath.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15038 72102866-910b-0410-8b05-ffd578937521
2002-11-21 20:28:42 +00:00
Fred Kiefer
7a9a8d54a6
Corrected includes to speed up compilation.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14972 72102866-910b-0410-8b05-ffd578937521
2002-11-11 00:15:29 +00:00
Fred Kiefer
480b90b2b8
Handle seting of an empty dash in [setLineDash:count:phase:].
...
[_doPath] now always sends the dash pattern, even when empty.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14699 72102866-910b-0410-8b05-ffd578937521
2002-10-10 09:47:48 +00:00
Alexander Malmberg
b52d785f08
Handle curves correctly when appending a path. Fix numerical stability issue in appendBezierPathWithArcFromPoint:toPoint:radius:.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14369 72102866-910b-0410-8b05-ffd578937521
2002-08-29 22:14:48 +00:00
Fred Kiefer
8e9fb492a7
Implemented [appendBezierPathWithArcFromPoint:toPoint:radius:]
...
with code from Alexander Malmberg <alexander@malmberg.org>.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14363 72102866-910b-0410-8b05-ffd578937521
2002-08-28 22:02:42 +00:00
Nicola Pero
50d0d924aa
Autorelease the path returned by +bezierPath; indentation changes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12708 72102866-910b-0410-8b05-ffd578937521
2002-02-23 21:56:48 +00:00
Richard Frith-Macdonald
25010783ce
Fix missed file for GIS api change
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12374 72102866-910b-0410-8b05-ffd578937521
2002-02-01 18:19:04 +00:00
Adam Fedor
d47e202fbe
Markup for autogsdoc
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11788 72102866-910b-0410-8b05-ffd578937521
2001-12-17 16:51:51 +00:00
Nicola Pero
93bcc21cfa
When appending an arc to a bezier path, draw the line from the current
...
point to the arc start point - unless this is the first element of the path
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10693 72102866-910b-0410-8b05-ffd578937521
2001-08-13 13:08:22 +00:00
Fred Kiefer
799b99fa0a
Added implementation for dashes.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9967 72102866-910b-0410-8b05-ffd578937521
2001-05-18 20:58:27 +00:00
Fred Kiefer
1e529a1d34
[containsPoint:] corrected and simplified a bit, but this still
...
needs a complete rework.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9464 72102866-910b-0410-8b05-ffd578937521
2001-03-21 00:09:29 +00:00
Nicola Pero
f7bc69d85c
Fixed how angles are managed when drawing arcs: do it postscript-like
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9308 72102866-910b-0410-8b05-ffd578937521
2001-03-07 13:09:22 +00:00
Nicola Pero
c76c32bc0f
Fixes to appending an arc
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9252 72102866-910b-0410-8b05-ffd578937521
2001-03-01 01:47:32 +00:00
Fred Kiefer
ffdddc1887
Corrected some bugs. Opimized the concret subclass to use a GSIArray.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8731 72102866-910b-0410-8b05-ffd578937521
2001-01-21 22:32:35 +00:00
Fred Kiefer
5ff870120f
Almost complete rewrite. The abstract class implements now most of
...
the methods leaving only 9 methods to the concrete class. (And
the hit test should also go into the abstract class) Simplified
and corrected most methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8718 72102866-910b-0410-8b05-ffd578937521
2001-01-20 17:41:22 +00:00
Adam Fedor
8298410a10
Merge 0.6.6 branch into main.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7188 72102866-910b-0410-8b05-ffd578937521
2000-08-07 22:06:04 +00:00
Adam Fedor
b33bb418f4
Merge from 0.6.5
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6040 72102866-910b-0410-8b05-ffd578937521
2000-02-19 00:40:47 +00:00
Enrico Sersale
1b97488859
*** empty log message ***
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5970 72102866-910b-0410-8b05-ffd578937521
2000-02-09 17:48:00 +00:00
Enrico Sersale
3ba115b589
*** empty log message ***
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5796 72102866-910b-0410-8b05-ffd578937521
2000-01-17 20:01:16 +00:00
Enrico Sersale
819ffd1314
* Added Source/NSBezierPath.m and Headers/AppKit/NSBezierPath.h
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5601 72102866-910b-0410-8b05-ffd578937521
1999-12-21 23:39:32 +00:00