From: <kar...@ya...> - 2002-04-23 19:50:12
|
Hi again, I've just tried it out and your right - print_psfile crashes! But only when there is no image tableau under your easy2D. I'll fix it, but in the mean time you have to: - Use a vgui_image_tableau in the constructor of the vgui_easy2D. eg. vgui_image_tableau_new img("d:/kym/image.tif"); vgui_easy2D_new easy(img); - If you have made your own image tableau derived from vgui_image_tableau (like in xcv) make sure you cast it to an image_tableau when making an easy2D my_image_tableau_new img("d:/kym/image.tif"); vgui_easy2D_new easy((vgui_image_tableau_sptr)img); Let me know if this doesn't work, Karen McGaul VGG, Oxford University __________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com |