development GUI-server v.0.96

Started by Lutz, July 02, 2007, 02:38:09 PM

Previous topic - Next topic

Lutz

- new functions



- new demo cursor-demo.lsp



Changes: http://newlisp.org/downloads/development/CHANGES-GUI-0.96.txt">http://newlisp.org/downloads/developmen ... I-0.96.txt">http://newlisp.org/downloads/development/CHANGES-GUI-0.96.txt



File: File: http://newlisp.org/downloads/development/guiserver-0.96.tgz">http://newlisp.org/downloads/developmen ... r-0.96.tgz">http://newlisp.org/downloads/development/guiserver-0.96.tgz





Lutz

didi

#1
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 :-)

Lutz

#2
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">http://newlisp.org/index.cgi?Postscript



Lutz



ps: somebody could cadd a Postscript output module to GUI-server ;-), shouldn't be too hard.

didi

#3
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  !

HPW

#4
Maybe something like this can be added:



http://www.exampledepot.com/egs/javax.imageio/Graphic2File.html">http://www.exampledepot.com/egs/javax.i ... 2File.html">http://www.exampledepot.com/egs/javax.imageio/Graphic2File.html



or:



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



or:



http://schmidt.devlib.org/java/image-faq/save-component-as-file.html">http://schmidt.devlib.org/java/image-fa ... -file.html">http://schmidt.devlib.org/java/image-faq/save-component-as-file.html
Hans-Peter