Sha256: a1871a1364b2b78f78f569e60787442236d39bd29fb08ae6dc71313b1276c2cb

Contents?: true

Size: 332 Bytes

Versions: 5

Compression:

Stored size: 332 Bytes

Contents

# 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

5 entries across 5 versions & 1 rubygems

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