- //doc.AddBezier(Bezier(0,0, 1,0.5, 0.5,1, 1,1));
- doc.AddText("The quick brown\nfox jumps over\nthe lazy dog",0.1,0,0.5);
- //doc.AddBezier(Bezier(0,0,0,0.1,0,0.1,0,0.1));
+ doc.Add(RECT_OUTLINE, Rect(0,0,0,0),0); // hack to stop segfault if document is empty (:S)