lib/rabbit/renderer/base.rb in rabbit-0.6.2 vs lib/rabbit/renderer/base.rb in rabbit-0.6.3
- old
+ new
@@ -33,10 +33,11 @@
attr_accessor :progress_foreground
attr_accessor :progress_background
attr_accessor :adjustment_x, :adjustment_y
attr_accessor :graffiti_color, :graffiti_line_width
attr_accessor :gl_scale, :gl_quaternion
+ attr_accessor :draw_scaled_image
attr_writer :page_margin_left, :page_margin_right
attr_writer :page_margin_top, :page_margin_bottom
def initialize(canvas)
super()
@@ -60,9 +61,10 @@
@adjustment_y = 0
@progress_foreground = nil
@progress_background = nil
@graffiti_color = nil
@graffiti_line_width = nil
+ @draw_scaled_image = true
clean
init_hook_procs
init_dpi
init_gl_parameters
end