<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><BR><DIV><DIV>On Mar 1, 2007, at 6:08, Stephen Sinclair wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">I'm not a Mac expert either, but I had a quick look at the</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">NSGraphicsContext stuff.</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">I know that OS X does a lot more buffering and off-screen compositing</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">stuff than Windows XP.</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">I noticed, for example, that NSGraphicsContext has a function called</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">flushGraphics:</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">"Forces any buffered operations or data to be sent to the receiver's</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">destination."</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Have you tried that?</DIV></BLOCKQUOTE><BR></DIV><DIV>I have now. :) Thank you.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>So a flushGraphics on the NSGC realizes the changes. Shouldn't Cairo being doing this though? At *least* as part of it's own flush() function. Though I'd like to not have to litter my drawing sequences with well intentioned flushes, since I was shooting for xplatform here, and I don't have to do that for Win/Xlib.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>For now, this gives me something I can use to do prototyping.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV> <SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 18px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><DIV>--</DIV><DIV>Travis Griggs</DIV><DIV>Objologist</DIV><DIV>10 2 letter words: "If it is to be, it is up to me"</DIV><BR class="Apple-interchange-newline"></SPAN> </DIV><BR></BODY></HTML>