You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not sure where I am doing something wrong, but I tried to change the example at to one where the image would be spitted out as pdf by changing line 42 from
Hi. Sorry for the late reply. I did some debugging and it's indeed impossible to do using only quil API, you'll have to use java interop. So the code will look like this:
Note the (.dispose gr) call at the end. This call closes pdf writer and flushes all content to file on disk. Actually I think there is a more idiomatic Processing way to do it using beginRecord() and endRecord() methods, but quil currently doesn't expose them. I'll add do-record macro:
Not sure where I am doing something wrong, but I tried to change the example at
to one where the image would be spitted out as pdf by changing line 42 from
to
and changing line 48-49
to
Not sure why it doesn't spit out a pdf. Maybe some trivial misunderstanding on my side.
The text was updated successfully, but these errors were encountered: