Sha256: 6590eeeefdd654771ca43813bc17dd546ab532e737fb9e2b1d544dced143804a

Contents?: true

Size: 337 Bytes

Versions: 5

Compression:

Stored size: 337 Bytes

Contents

# 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

5 entries across 5 versions & 1 rubygems

Version Path
tracksperanto-4.2.0 lib/tools/flip.rb
tracksperanto-4.1.3 lib/tools/flip.rb
tracksperanto-4.1.2 lib/tools/flip.rb
tracksperanto-4.1.0 lib/tools/flip.rb
tracksperanto-4.0.0 lib/tools/flip.rb