|
From: Edward K. C. <ek...@lg...> - 2005-07-20 02:31:16
|
Maybe someone can answer this one for me? I just added some printing support taking what I believed to be the path of least resistance. I use the same view object for printing as I do for window updates. Maybe that's a bad idea. I temporarily replace the Mac draw context with a pixmap context and fiddle with some of the camera settings (to take into account the dimensions of the printed page). Then I run through my rendering loop and shoot the off-screen image off to the printer. Much to my delight, the printing itself actually worked perfectly on the first try. The only strange symptom is that the window blanks out the moment I call Q3View_StartRendering. I would have thought that since I am no longer targeting the window, nothing much would happen to it, so this sort of caught me by surprise. I guess I'll just tell it to redraw itself, but I'm curious about what is causing this... -Ted |