To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=72216


User regina changed the following:

                What    |Old value                 |New value
================================================================================
          Ever confirmed|                          |1
--------------------------------------------------------------------------------
                  Status|UNCONFIRMED               |NEW
--------------------------------------------------------------------------------
              Issue type|ENHANCEMENT               |PATCH
--------------------------------------------------------------------------------




------- Additional comments from [EMAIL PROTECTED] Mon Jul  9 16:44:33 +0000 
2007 -------
I have rewritten the way how BSplines are calculated, so that it is no longer
needed to order the points. Now you can use BSplines for spirals and ovals for
example.

The main idea is, that you do not traverse the points along their x-coordinates,
but use the index of the points. You have to calculate the x-coordinate of a
BSpline point in the same way as the y-coordinate.

I do not use the tricks in the mentioned text to "optimize" the algorithmn, but
follow close the old way of calculating.

The text contains some if-clauses where I test, ob the given values are valid.
If you can ensure, that the place which calls the method guarantees that the
values are valid, you can erase those parts.

It can happpen, that a user sets a "Data points order" to high, so that there
are not enough points to calculate the polynoms. In this case my solution draws
nothing. It would be nice, if the user can be told what is wrong, but I don't
know how to do.

The patch is based on a SCR680_m218. I use Microsoft Visual C++ 2005 Express on
WinXp.
 

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to