mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 23:30:46 +00:00
* Source/NSBezierPath.m (-elementAtIndex:associatedPoints:): Fix
handling of close element. Patch by Bluna Ratimonkey <object@gmail.com>. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36304 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
a0616ff819
commit
86b587e9d7
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2013-03-08 Fred Kiefer <FredKiefer@gmx.de>
|
||||||
|
|
||||||
|
* Source/NSBezierPath.m (-elementAtIndex:associatedPoints:): Fix
|
||||||
|
handling of close element.
|
||||||
|
Patch by Bluna Ratimonkey <object@gmail.com>.
|
||||||
|
|
||||||
2013-03-05 Fred Kiefer <FredKiefer@gmx.de>
|
2013-03-05 Fred Kiefer <FredKiefer@gmx.de>
|
||||||
|
|
||||||
* Source/GSHorizontalTypesetter.m: Change floats into CGFloats to
|
* Source/GSHorizontalTypesetter.m: Change floats into CGFloats to
|
||||||
|
|
|
@ -861,8 +861,7 @@ static CGFloat default_miter_limit = 10.0;
|
||||||
for (i = index - 1; i >= 0; i--)
|
for (i = index - 1; i >= 0; i--)
|
||||||
{
|
{
|
||||||
elm = GSIArrayItemAtIndex(_pathElements, i).ext;
|
elm = GSIArrayItemAtIndex(_pathElements, i).ext;
|
||||||
type = elm.type;
|
if (elm.type == NSMoveToBezierPathElement)
|
||||||
if (type == NSMoveToBezierPathElement)
|
|
||||||
{
|
{
|
||||||
points[0] = elm.points[0];
|
points[0] = elm.points[0];
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue