Class: Tracksperanto::Tool::Flop
Overview
Flips the comp being exported vertically
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from Base
Methods included from Parameters
Methods included from SimpleExport
Methods included from ConstName
Methods included from BlockInit
Methods included from Casts
#cast_to_bool, #cast_to_float, #cast_to_int, #cast_to_string
Constructor Details
This class inherits a constructor from Tracksperanto::Tool::Base
Class Method Details
.action_description ⇒ Object
4 5 6 |
# File 'lib/tools/flop.rb', line 4 def self.action_description "Mirror all the tracker paths vertically" end |
Instance Method Details
#start_export(w, h) ⇒ Object
8 9 10 11 12 |
# File 'lib/tools/flop.rb', line 8 def start_export(w, h) factor = -1 @exporter = Tracksperanto::Tool::Scaler.new(@exporter, :y_factor => factor) super end |