Class: Rabbit::Renderer::PrintLayout1

Inherits:
PrintLayout show all
Defined in:
lib/rabbit/renderer/print-layout.rb

Constant Summary

Constants inherited from PrintLayout

Rabbit::Renderer::PrintLayout::MAPPING

Instance Method Summary collapse

Methods inherited from PrintLayout

create, #initialize

Constructor Details

This class inherits a constructor from Rabbit::Renderer::PrintLayout

Instance Method Details

#normalize_x(x) ⇒ Object


54
55
56
# File 'lib/rabbit/renderer/print-layout.rb', line 54

def normalize_x(x)
  x
end

#normalize_y(y) ⇒ Object


58
59
60
# File 'lib/rabbit/renderer/print-layout.rb', line 58

def normalize_y(y)
  y
end

#slide_heightObject


50
51
52
# File 'lib/rabbit/renderer/print-layout.rb', line 50

def slide_height
  @renderer.page_height
end

#slide_widthObject


46
47
48
# File 'lib/rabbit/renderer/print-layout.rb', line 46

def slide_width
  @renderer.page_width
end