
Hi.
I use inkscape to draw icons to web pages. I use the export-dialog to create the final png files.
I would like to export multi area using only ones the export-dialog, It is enough to add two new parameters to sp_export_png_file: repeat_x, repeat_y.
Then in export.cpp make this loop (pseudo-code): for( i=0; i< repeat_x; i++) { for( j=0; j< repeat_y; j++) { if (!sp_export_png_file (sp_desktop_document (SP_ACTIVE_DESKTOP), filename + "_x" + i + "_y" +j, x0+i*width, y0+j*height, x1+i*width, y1+j*height, width, height, xdpi, ydpi, nv->pagecolor, sp_export_progress_callback, base)) } }
Another possibility is to add access to sp_export_png_file from the extension API.
Thanks. Pawel Szklarz.