From 76205f461ac011d85dca8a08f7bcf96dfd44cff1 Mon Sep 17 00:00:00 2001 From: Tj Holowaychuk Date: Wed, 29 Sep 2010 15:25:10 -0700 Subject: [PATCH] Default lineWidth to 1 --- src/context2d.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/context2d.cc b/src/context2d.cc index f64f201..7df29d6 100644 --- a/src/context2d.cc +++ b/src/context2d.cc @@ -130,6 +130,7 @@ Context2d::New(const Arguments &args) { Context2d::Context2d(Canvas *canvas): ObjectWrap() { _canvas = canvas; _context = cairo_create(canvas->getSurface()); + cairo_set_line_width(_context, 1); RGBA(fill,0,0,0,1); RGBA(stroke,0,0,0,1); }