class SwingCanvas implements RSCanvas {

	public void drawPath(RSPath path, RSPaint strokePaint) {
		SwingPaint p = (SwingPaint) strokePaint;
		SwingPath pth = (SwingPath) path;
		g.setColor(p.color);
		g.setStroke(p.stroke);
		g.draw(pth);
	}

	public  SwingCanvas(Component canvas, Graphics g);

}