Re: Dimensions in pixels of a draw Area to obtain a plot on a A4 paper

2018-04-22 Thread Yuri Khan
On Sat, Apr 21, 2018 at 3:17 PM, arkkimede wrote: > Thanks to Nicola and Yuri for the suggestions! > Let me summarize: > > 1. Use pdf instead of png > 2. Define the dimension of pdf in points; > > The last open point is: how to get a "preview" on the screen (this time in >

Re: Dimensions in pixels of a draw Area to obtain a plot on a A4 paper

2018-04-21 Thread Yuri Khan
On Sat, Apr 21, 2018 at 2:19 PM, arkkimede wrote: > Ok! I can use the pdf format but the dimensions of the draw area? The PDF format does not operate in pixels. Instead, it uses points. A point is 1/72 of an inch. An inch is 25.4 millimeters. A standard A4 sheet is 210 mm

Re: Dimensions in pixels of a draw Area to obtain a plot on a A4 paper

2018-04-21 Thread arkkimede
Ok! I can use the pdf format but the dimensions of the draw area? Il Sab 21 Apr 2018, 07:31 Nicola Fontana ha scritto: > Il Sat, 21 Apr 2018 04:01:21 +0200 arkkimede > scrisse: > > > HI! > > I've realized an App with GTK3 and the library CAIRO to plot

Re: Dimensions in pixels of a draw Area to obtain a plot on a A4 paper

2018-04-20 Thread Nicola Fontana
Il Sat, 21 Apr 2018 04:01:21 +0200 arkkimede scrisse: > HI! > I've realized an App with GTK3 and the library CAIRO to plot results of > measurements. > I use the function "cairo_surface_write_to_png" to obtain a png file that I > put on a paper of format A4 (with usual

Dimensions in pixels of a draw Area to obtain a plot on a A4 paper

2018-04-20 Thread arkkimede
HI! I've realized an App with GTK3 and the library CAIRO to plot results of measurements. I use the function "cairo_surface_write_to_png" to obtain a png file that I put on a paper of format A4 (with usual resolution of 300dpi) to generate reports. Consider also that preliminary plot are observed