From 977298d1db8da2fe491210a940e0ec4f756d2a49 Mon Sep 17 00:00:00 2001 From: Tj Holowaychuk Date: Mon, 15 Nov 2010 10:16:55 -0800 Subject: [PATCH] Expose PixelArray constructor --- lib/canvas.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/canvas.js b/lib/canvas.js index 89fe55a..c329701 100644 --- a/lib/canvas.js +++ b/lib/canvas.js @@ -13,6 +13,7 @@ var canvas = require('../build/default/canvas') , Canvas = canvas.Canvas , Image = canvas.Image , cairoVersion = canvas.cairoVersion + , PixelArray = Canvas.PixelArray , Context2d = require('./context2d') , PNGStream = require('./pngstream') , fs = require('fs'); @@ -41,6 +42,7 @@ exports.cairoVersion = cairoVersion; exports.Context2d = Context2d; exports.PNGStream = PNGStream; +exports.PixelArray = PixelArray; exports.Image = Image; /**