Right Joe.  I remember you telling me about vectors-to-file.  There is
no obvious way to copy an RB vector pic to the clipboard AFAIK, unless
you save to a file, readback the data as a raw binary string then put
on the clipboard?  Clunky.  Even then, do you not end up with 72dpi
resolution PICT objects (ie the objects themselves can be rendered at
infinite resolution, but their placement on the coordinate space is
limited to 72dpi, that's why copy/pasted graphs from Excel look
crappy)?

The modern way is to place PDF graphics data on the clipboard, but, 4
years (?) after introduction of OS X, not a single app I use supports
this.  Why not?  Too much to ask to have the Mac clipboard to transfer
full-res graphics among apps????  This has been bugging me ever since
the introduction of Quickdraw.

Peter.

On 9/4/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
On Sep 04, 2006, at 14:59 UTC, Peter K. Stys wrote:

> I too am a neuroscientist and use Canvas for my manuscript figures.
> I'd be interested to learn how you create vector graphics in RB that
> are exportable to other apps via the clipboard.

For a file, you just make a picture containing vector objects in its
Objects property, then use FolderItem.SaveAsPicture passing an
appropriate Format value that specifies a vector file.

For the clipboard, this may be harder to achieve -- I vaguely recall
some discussion concluding that this required more serious
hoop-jumping, but I no longer recall the details.

> I believe I had an exchange with Joe Strout a while back where he
> explained that RB vectors are proprietary and not understood by other
> Mac apps (which only understand PICTs AFAIK, tho the more modern
> format is PDF but I don't think any/many apps have  been updated to
> recognizes PDF data on the clipboard [too bad as PICTs are really a
> low-resolution pain to use]).

Hmm, that's true, but doesn't seem relevant.  The way RB stores strings
is proprietary and not shared by non-RB apps either, yet you can
exchange text with other apps just fine.  In the case of vector
pictures, RB knows how to read and write vector PICT on MacOS and WMF
(or whatever it is) on Windows (Linux has no standard vector format,
alas), so should be able to exchange vector data with other apps just
fine.

Cheeers,
- Joe

--
Joe Strout -- [EMAIL PROTECTED]
Verified Express, LLC     "Making the Internet a Better Place"
http://www.verex.com/

_______________________________________________
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>



--
-------------------------------------------------------------------------------
Peter K. Stys, MD
Professor of Medicine(Neurology), Senior Scientist
Ottawa Health Research Institute, Div. of Neuroscience
Ottawa Hospital / University of Ottawa
Ontario, CANADA
tel:    (613)761-5444
fax:    (613)761-5330
http://www.ohri.ca/profiles/stys.asp
-------------------------------------------------------------------------------
_______________________________________________
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>

Reply via email to