{
out_x = 0; out_y = 0;
out_w = 640; out_h = 480;
- dpi = 90;
+ dpi = 96;
strcpy(svg_file, "");
ms_time = 0;
}
FileXML output;
// cause data to be stored directly in text
- output.set_shared_output(keyframe->get_data(), MESSAGESIZE);
+ output.set_shared_output(keyframe->xbuf);
output.tag.set_title("SVG");
output.tag.set_property("OUT_X", config.out_x);
{
FileXML input;
- const char *data = keyframe->get_data();
- input.set_shared_input((char*)data, strlen(data));
+ input.set_shared_input(keyframe->xbuf);
int result = 0;
while( !(result = input.read_tag()) ) {
strcpy(last_svg_file, config.svg_file);
int64_t last_ms_time = config.ms_time;
need_reconfigure = load_configuration();
- if( last_dpi != config.dpi )
+ if( !ofrm || last_dpi != config.dpi )
need_export = 1;
if( strcmp(last_svg_file, config.svg_file) ||
last_ms_time != config.ms_time )