- if(get_amount() && importer && importer->is_animated())importer->get_frame(surface,time+time_offset);
- //else surface.clear();
+ if(get_amount() && importer &&
+ importer->is_animated())
+ importer->get_frame(surface,time+time_offset,trimmed,width,height,top,left);
+