On Nov 29, 2005, at 11:14 PM, Roph wrote:
Very cool indeed.
Question: If you wanted to render to a window on the screen while
drawing,
but save to a PDF file for printing, would you:
Abstract the drawing interface to render to screen or PDF based on a
variable?
I would say the easiest way would be to draw to either a Graphics
object (screen) or PDFGraphics object (PDF). Unfortunately, you would
have to duplicate code to accept either Graphics or PDFGraphics, as I
cannot effectively subclass Graphics.
Or is there a way to easily view PDF content inside a RB window on the
Mac?
I think you can open a PDF as a vector picture, but I am not sure.
HTH!
Asher
-------------------------
Asher Dunn
Head Developer, Fireye Software (http://www.fireyesoftware.com/)
AIM, Yahoo, MSN: crazedglkid
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|