From: Mats B. <ma...@pr...> - 2002-09-30 16:30:43
|
robert karen wrote: > > Michael Schwartz has a gdi extension for windows. I'm > not sure if he used tk drawing model but I think so. He > discusses it in one of the faq files in the download. > You may be able to port this. See http://www.du.edu/~mschwart . > He uses windows native stuff I think. There is nothing to build on there if I remember it correctly. Made a first succesful attempt to print a rectangle using a hack solution (still using X drawing code). Not much, but I learned how to create a fake MacDrawable and swap in the printing graphics port. Digged into the canvas code, and I think it is possible to make some kind of "mini canvas". Lot of code to write, but can steal a lot from the canvas stuff. It should also be favourable if it was possible to keep the "print canvas" code clean from platform specific stuff. /Mats |