More work on the conversion

This commit is contained in:
Andy Meneely
2014-07-25 17:38:23 -04:00
parent 246b9df9fc
commit 093b2cf15b
8 changed files with 46 additions and 29 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
module Squib
class Card
def draw_rectangle(x, y, width, height, x_radius, y_radius, fill_color, stroke_color, stroke_width)
def rect(x, y, width, height, x_radius, y_radius, fill_color, stroke_color, stroke_width)
cc = cairo_context
cc.rounded_rectangle(x, y, width, height, x_radius, y_radius)
cc.set_source_color(stroke_color)