newLISP Fan Club

Forum => newLISP newS => Topic started by: Lutz on July 02, 2007, 02:38:09 PM

Title: development GUI-server v.0.96
Post by: Lutz on July 02, 2007, 02:38:09 PM
- new functions



- new demo cursor-demo.lsp



Changes: http://newlisp.org/downloads/development/CHANGES-GUI-0.96.txt



File: File: http://newlisp.org/downloads/development/guiserver-0.96.tgz





Lutz
Title:
Post by: didi on July 02, 2007, 09:54:50 PM
It's hard to follow Lutz speed  :-)  I haven't tried all new commands, yet . Only a short comment :



cursor-demo.lsp works fine -  rotation-demo and image-demo seems nearly the same  , the rotation-demo shows "imag" in the header .



Thinking loud :   Would it be possible to have a polyline-command ? ( not bad for the xy-graph )  

How will we be able to export our art-work ? :-)  , will there be a possibility to print or to export it as a png-file ?



ok - now i'll be quiet and try to finish my first real gui-application :-)
Title:
Post by: Lutz on July 03, 2007, 04:52:03 AM
QuoteHow will we be able to export our art-work


allthough there will be printing, for anything art you are much better off using the newLISP Postsrcipt module, as it lets you generate output, which doesn't rasterize your art but leaves GUI-server's vector graphics resolution independent. Postscript can also easily be formatted into PDF and rasterized to any .png, .jpg or .gif size you want. On the Mac all this is already built into the OS. On Windows you can use Ghostscript for conversion.



http://newlisp.org/index.cgi?Postscript



Lutz



ps: somebody could cadd a Postscript output module to GUI-server ;-), shouldn't be too hard.
Title:
Post by: didi on July 03, 2007, 09:53:05 AM
Please excuse my bad english . For me everything we do in newLISP is ART-WORK  :-)



I just  want to print out my xy-graph later . I hope the experts here understood the slight hint to the postscriptmodule for  the gui-server.



Thankyou :-)



BTW: Your  link leads to nice graphics  !
Title:
Post by: HPW on July 03, 2007, 10:00:22 AM
Maybe something like this can be added:



http://www.exampledepot.com/egs/javax.imageio/Graphic2File.html



or:



http://www.java2s.com/Code/Java/2D-Graphics-GUI/DrawanImageandsavetopng.htm



or:



http://schmidt.devlib.org/java/image-faq/save-component-as-file.html