You can just post in the list.
This way it won't be lost and everybody interested will have a chance to review it.
> Previously, I submitted a patch to the bug tracker (Id 0000029, for
> HPDF_Page_Arc(), submitted 6 months ago), but that does not seem to be
> the best way: it has been totally ignored so far.
Would be nice to have an example or two demonstrating what exactly you're trying to achieve with it.
--
Wbr,
Antony Dovgal
---
http://pinba.org - realtime statistics for PHP
you wrote:
>> Previously, I submitted a patch
> Would be nice to have an example or two demonstrating what exactly you're
> trying to achieve with it.
Did you get any examples when you commited
"Greatly improved U3D support (Nikhil Soman)"
to 2.2.0? Can you share them?
Sincerely, Michail
On Wed, Jan 19, 2011 at 1:22 PM, Antony Dovgal <to...@daylessday.org> wrote:
> On 01/19/2011 01:14 AM, ko...@emweb.be wrote:
>> If there is any interest in this patch, how can we contribute it?
>
> You can just post in the list.
> This way it won't be lost and everybody interested will have a chance to review it.
Please find both patches in attachment.
>> Previously, I submitted a patch to the bug tracker (Id 0000029, for
>> HPDF_Page_Arc(), submitted 6 months ago), but that does not seem to be
>> the best way: it has been totally ignored so far.
>
> Would be nice to have an example or two demonstrating what exactly you're trying to achieve with it.
It solves two limitations in libharu w.r.t. paths which contains arcs:
1) Currently, when you add an arc to a path, the current path is
broken: a 'm' instruction is rendered to move to the begin position of
the arc. This means that you cannot have an arc in the middle of a
path without breaking the path (and this affects filling behaviour).
This is solved by the 3rd hunk in the patch.
2) Secondly, currently you cannot add arcs with arbitrary spans in a
path: when you need a path which contains first a clock-wise arc (of
e.g. 90 degrees), then a line, and then the same arc
counter-clockwise, you cannot define this with libharu. Libharu always
assumes that ang2 was larger than ang1. This patch fixes this by
simply removing this restriction and also allows drawing arcs with
negative spans.
The two parts of the patch together make it that now you can render
and fill the SVG path in attachment. Previously this was impossible
(ASFAIK).
I hope this clarifies what we try to do.
Regards,
koen