* [9fans] draw: bezsplinepts - howto?
@ 2025-04-23 19:06 Anthony Sorace
2025-04-23 19:11 ` [9fans] " Anthony Sorace
0 siblings, 1 reply; 4+ messages in thread
From: Anthony Sorace @ 2025-04-23 19:06 UTC (permalink / raw)
To: 9fans
Anyone have a working example of using draw’s bezsplinepts? I assume I’m doing something wrong here, but evenings are a just iterating over the pointer it sets and trying to print the points with %P is giving me nonsense values.
------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T018025ebedc5a7e8-M9073fc0ae6acacfa71021f1c
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription
^ permalink raw reply [flat|nested] 4+ messages in thread
* [9fans] Re: draw: bezsplinepts - howto?
2025-04-23 19:06 [9fans] draw: bezsplinepts - howto? Anthony Sorace
@ 2025-04-23 19:11 ` Anthony Sorace
2025-04-23 19:36 ` Noam Preil
2025-04-23 22:23 ` [9fans] " Anthony Sorace
0 siblings, 2 replies; 4+ messages in thread
From: Anthony Sorace @ 2025-04-23 19:11 UTC (permalink / raw)
To: 9fans
On Apr 23, 2025, at 12:08, Anthony Sorace <a@9srv.net> wrote:
>
> …but evenings are a just iterating…
<sigh>
…but even just iterating…
Anyway, it’s in the middle of a slightly messy program at the moment; i’m writing a simpler test. But still, an example would be appreciated.
------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T018025ebedc5a7e8-M41d0ba2a3b460649f9e200ac
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [9fans] Re: draw: bezsplinepts - howto?
2025-04-23 19:11 ` [9fans] " Anthony Sorace
@ 2025-04-23 19:36 ` Noam Preil
2025-04-23 22:23 ` [9fans] " Anthony Sorace
1 sibling, 0 replies; 4+ messages in thread
From: Noam Preil @ 2025-04-23 19:36 UTC (permalink / raw)
To: 9fans
[-- Attachment #1: Type: text/plain, Size: 469 bytes --]
Check out the pdffs code on my exp branch on sr.ht (under ~pixelherodev). I'm using bezierpts to generate polygons for all rendering; bezsplinepts should be equivalent.
(Pdffs can render shapes now btw. Implemented that two weeks ago ;)
------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T018025ebedc5a7e8-Me655bf90c3f965789db8a828
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription
[-- Attachment #2: Type: text/html, Size: 1154 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [9fans] draw: bezsplinepts - howto?
2025-04-23 19:11 ` [9fans] " Anthony Sorace
2025-04-23 19:36 ` Noam Preil
@ 2025-04-23 22:23 ` Anthony Sorace
1 sibling, 0 replies; 4+ messages in thread
From: Anthony Sorace @ 2025-04-23 22:23 UTC (permalink / raw)
To: 9fans
Well, my minimal reproducer failed to reproduce my problem. Turns out the typos aren't just limited to email. Did you know "p" and "q" are different letters? Sorry for the noise.
In case anyone's curious, here's the "reproducer", which takes the points from two b-splines and uses them as a polygon to fill the shape out.
http://a.9srv.net/src/splinetest.c
> On Apr 23, 2025, at 12:11, Anthony Sorace <a@9srv.net> wrote:
>
> On Apr 23, 2025, at 12:08, Anthony Sorace <a@9srv.net> wrote:
>>
>> …but evenings are a just iterating…
>
> <sigh>
> …but even just iterating…
>
> Anyway, it’s in the middle of a slightly messy program at the moment; i’m writing a simpler test. But still, an example would be appreciated.
>
------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T018025ebedc5a7e8-Ma34e63a9d443c557b0bcdeef
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2025-04-23 23:41 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-04-23 19:06 [9fans] draw: bezsplinepts - howto? Anthony Sorace
2025-04-23 19:11 ` [9fans] " Anthony Sorace
2025-04-23 19:36 ` Noam Preil
2025-04-23 22:23 ` [9fans] " Anthony Sorace
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).