lib/export/base.rb in tracksperanto-3.5.9 vs lib/export/base.rb in tracksperanto-4.0.0

- old
+ new

@@ -1,6 +1,5 @@ -# -*- encoding : utf-8 -*- # Base exporter. Inherit from this class to automatically register another export format. # The exporters in Tracksperanto are event-driven and follow the same conventions - your # exporter will be notified when a tracker will be exported and when a tracker has been passed # (the last keyframe has been sent). Here's how you can operate any exporter module # separately (this also demonstrates the calling convention and sequence): @@ -49,10 +48,10 @@ # By convention, the caller owns the IO handle and will close it when you are done, so don't close t yourself def initialize(write_to_io) @io = write_to_io end - # Called on export start. Will receive the width and height of the comp being exported as Fixnums + # Called on export start. Will receive the width and height of the comp being exported as Integers def start_export( img_width, img_height) end # Called on export end. By convention, the caller will close the main IO when you are done so don't do it here. # However if you've allocated anything during export (like some Tempfiles) here will be the place to get rid