More work on the conversion
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user