lib/middleware/pad.rb in tracksperanto-2.8.6 vs lib/middleware/pad.rb in tracksperanto-2.9.0
- old
+ new
@@ -1,5 +1,6 @@
+# -*- encoding : utf-8 -*-
# This middleware pads the comp or crops it if given negative values. Use it to say unpad
# some fucked-up telecine transfers. The padding is in fractional units of the total width
# and height
class Tracksperanto::Middleware::Pad < Tracksperanto::Middleware::Base
attr_accessor :left_pad, :right_pad, :top_pad, :bottom_pad
@@ -15,6 +16,6 @@
def export_point(frame, float_x, float_y, float_residual)
super(frame, float_x - @shift_left, float_y - @shift_bottom, float_residual)
end
-end
\ No newline at end of file
+end