Sha256: 3837e854bf9b0846c0ff05a143190107d743ea6b860a890373b8e4436d394280

Contents?: true

Size: 359 Bytes

Versions: 26

Compression:

Stored size: 359 Bytes

Contents

# -*- encoding : utf-8 -*-
# Flips the comp being exported vertically
class Tracksperanto::Tool::Flop < Tracksperanto::Tool::Base
  
  def self.action_description
    "Mirror all the tracker paths vertically"
  end
  
  def start_export(w, h)
    factor = -1
    @exporter = Tracksperanto::Tool::Scaler.new(@exporter, :y_factor => factor)
    super
  end
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
tracksperanto-3.5.9 lib/tools/flop.rb
tracksperanto-3.5.8 lib/tools/flop.rb
tracksperanto-3.5.7 lib/tools/flop.rb
tracksperanto-3.5.6 lib/tools/flop.rb
tracksperanto-3.5.5 lib/tools/flop.rb
tracksperanto-3.5.4 lib/tools/flop.rb
tracksperanto-3.5.2 lib/tools/flop.rb
tracksperanto-3.5.1 lib/tools/flop.rb
tracksperanto-3.5.0 lib/tools/flop.rb
tracksperanto-3.4.1 lib/tools/flop.rb
tracksperanto-3.4.0 lib/tools/flop.rb
tracksperanto-3.3.13 lib/tools/flop.rb
tracksperanto-3.3.12 lib/tools/flop.rb
tracksperanto-3.3.11 lib/tools/flop.rb
tracksperanto-3.3.10 lib/tools/flop.rb
tracksperanto-3.3.9 lib/tools/flop.rb
tracksperanto-3.3.8 lib/tools/flop.rb
tracksperanto-3.3.7 lib/tools/flop.rb
tracksperanto-3.3.6 lib/tools/flop.rb
tracksperanto-3.3.0.pre lib/tools/flop.rb