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.2.2 lib/tools/flip.rb
tracksperanto-3.2.1 lib/tools/flip.rb
tracksperanto-3.2.0 lib/tools/flip.rb
tracksperanto-3.1.0 lib/tools/flip.rb
tracksperanto-3.0.1 lib/tools/flip.rb
tracksperanto-3.0.0 lib/tools/flip.rb