Re: [JPP-Devel] RenderingManager modes in skyjump

2013-06-12 Thread Michaël Michaud
Hi Geoffrey, I suspect the issues raised by Larry are central to the issues I have had with printing. In my printer plugin I have three options for printing and they each give slightly different results depending on what is being printed (scale of map, size of text and patterns etc). It is

Re: [JPP-Devel] RenderingManager modes in skyjump

2013-06-12 Thread Larry Becker
@Michaël, A few hints: com.isa.jump.plugin.PrintPlugIn is the UI class that uses PrinterDriver and PDFDriver to do the work. You can use PrintPlugin as is with some localization work, or you can use as an example to build your own UI class. @Geoffrey, In order to use the new print

Re: [JPP-Devel] RenderingManager modes in skyjump

2013-06-11 Thread Geoffrey Roy
Dear Michael I suspect the issues raised by Larry are central to the issues I have had with printing. In my printer plugin I have three options for printing and they each give slightly different results depending on what is being printed (scale of map, size of text and patterns etc). It is

Re: [JPP-Devel] RenderingManager modes in skyjump

2013-06-09 Thread Michaël Michaud
Hi Larry (Becker), I'm slowly progressing on this topic. I added different rendering modes in RenderingManager, Except the printing stuff, there are only a few classes where new modes are used. I tested the change on AbstractZoomTool : In OpenJUMP, MouseWheel zoom is done on an INTERACTIVE

Re: [JPP-Devel] RenderingManager modes in skyjump

2013-06-09 Thread Larry Becker
Hi Michaël, I recall it is pretty subjective, but I think I used EXECUTE_ON_EVENT_THREAD to avoid over-use of threads which can spawn out of control with the mouse wheel. regards, Laarry On Sun, Jun 9, 2013 at 3:28 PM, Michaël Michaud michael.mich...@free.frwrote: Hi Larry (Becker), I'm

Re: [JPP-Devel] RenderingManager modes in skyjump

2013-03-15 Thread Rahkonen Jukka
Hi, If you have your hands dirty already I would suggest to make some preparations for making it easier to write geospatial PDF files in the future. The essential thing to do is to capture the envelope of a map as polygon WKT and store is somewhere. For example it could be saved into a

[JPP-Devel] RenderingManager modes in skyjump

2013-03-14 Thread Michaël Michaud
Hi Larry (Becker), I've started pdf printer integration in openjump and the main change that I face is one in RenderingManager where you introduced 3 rendering mode public final static int INTERACTIVE = 0; public final static int SINGLE_THREAD_QUEUE = 1; public final static int

Re: [JPP-Devel] RenderingManager modes in skyjump

2013-03-14 Thread Larry Becker
Hi Michaël, Thanks for starting this effort. I'll try to answer your questions as best I can. When I wrote this code four years ago, I was immersed in printer lore that I have mostly forgotten. Here are a few things that I can recall: (excuse my lecture tone, I know you are very

Re: [JPP-Devel] RenderingManager modes in skyjump

2013-03-14 Thread Michaël Michaud
Hi Larry, All that makes sense. Thanks for the detailed answers to my last question and to the few next ones ;-) I'll keep them preciously as diving in the rendering pipeline is always a challenge for me. By the way, I already could print to pdf with your printer + openjump, but I'd to