module Origami::Graphics::Canvas
Attributes
gs[R]
Public Class Methods
new()
click to toggle source
# File lib/origami/graphics/render.rb, line 28 def initialize @gs = Graphics::State.new end
Public Instance Methods
clear()
click to toggle source
# File lib/origami/graphics/render.rb, line 32 def clear @gs.reset end
fill_path()
click to toggle source
# File lib/origami/graphics/render.rb, line 38 def fill_path; end
paint_shading(sh)
click to toggle source
# File lib/origami/graphics/render.rb, line 39 def paint_shading(sh); end
stroke_path()
click to toggle source
# File lib/origami/graphics/render.rb, line 37 def stroke_path; end
write_text(s)
click to toggle source
# File lib/origami/graphics/render.rb, line 36 def write_text(s); end