[kde-edu]: Re: Kig exporters: support linewidth in asymptote exporter
Raoul
raoulb at bluewin.ch
Mon Apr 25 15:01:21 CEST 2011
Hi Maurizio,
> > Further I enabled the export of cubics and used the generic curve
> > sampling function for that. In principle it works but we get
> > strange artefacts at the points where there is a vertical tangent
> > for some branch of the curve. (I hope that I can fix that with a
> > new curve sampling algorithm, but this will take some time.)
>
> The problem with cubics is more general, and it lies in the somewhat
> crude way a cubic is parametrized; I am responsible for that :-)
Hmm, ok. I hoped the problem would be not that severe because the
cubics are drawn correctly on screen.
> There is a persone here in Brescia that perhaps could look into
> the problem, in search of a manner to parametrize a cubic in a more
> smooth way.
> As soon as I get the name an email of this person I will make you
> in contact...
Ok, thanks. Let's see what we can do about this issue.
> I commited your last patch. Could you check if everything is
> allright?
Thanks for commiting. The only problem I found is related to
my own coding faults when dealing with default linewidts.
The current version gives to thick lines by default.
So I attach you a new small patch with more correct defaults.
Do you think we nee more tunig of the linewidth parameters?
The values seem to be reasonable except maybe the thickest ones.
Btw: we do not have different styles for dots. Should we support
that or just stick to the round dots?
> I noted a few stilistic modifications also. It would be best to
> separate stilistic commits from real code modification. I did not
> do that myself in this case, because most modifications were mixed
> together.
Ah, these were some small corrections done when I came along the
code anyway. I hope this does not introduce major problems.
-- Raoul
-------------- next part --------------
A non-text attachment was scrubbed...
Name: styles.diff
Type: text/x-patch
Size: 7426 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-edu/attachments/20110425/b6b4ac22/attachment-0001.diff
-------------- next part --------------
A non-text attachment was scrubbed...
Name: linewidth_circles.tar.gz
Type: application/x-gzip
Size: 62227 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-edu/attachments/20110425/b6b4ac22/attachment-0001.gz
More information about the kde-edu
mailing list