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