realbasic-nug
[Top] [All Lists]

Re: [ANN] PDF Classes 2.0

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: [ANN] PDF Classes 2.0
From: Asher Dunn <asher at fireyesoftware dot com>
Date: Wed, 30 Nov 2005 15:36:50 -0500
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <BFB28333 dot 5B60%Roph at kc dot rr dot com>

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>

<Prev in Thread] Current Thread [Next in Thread>