Sha256: dffdcb4488ad8d5807c0575443c69438f318f9cfd9d9323033137d7a0a970c8c

Contents?: true

Size: 377 Bytes

Versions: 10

Compression:

Stored size: 377 Bytes

Contents

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

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
tracksperanto-2.12.0 lib/middleware/flop.rb
tracksperanto-2.11.3 lib/middleware/flop.rb
tracksperanto-2.11.2 lib/middleware/flop.rb
tracksperanto-2.11.1 lib/middleware/flop.rb
tracksperanto-2.11.0 lib/middleware/flop.rb
tracksperanto-2.10.0 lib/middleware/flop.rb
tracksperanto-2.9.9 lib/middleware/flop.rb
tracksperanto-2.9.8 lib/middleware/flop.rb
tracksperanto-2.9.7 lib/middleware/flop.rb
tracksperanto-2.9.6 lib/middleware/flop.rb