module Cairo::SpecialEdge

Constants

RAW

Public Class Methods

path(width, height) click to toggle source
# File core/mui/cairo_special_edge.rb, line 7
def path(width, height)
  Cairo::Path.new.tap do |path|
    RAW.each {|x,y|
      path.line_to(x*width, y*height)
    }
    x,y = RAW.first
    path.line_to(x*width, y*height) end
end