Sha256: 85d1f1fe4b734968c886a0d6042cbb07acf1794337e5ebd9f8446a2a61f57114

Contents?: true

Size: 364 Bytes

Versions: 26

Compression:

Stored size: 364 Bytes

Contents

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

Version data entries

26 entries across 26 versions & 1 rubygems

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