Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: EPS to NSBezierPath



On 1/1/05 10:39 PM, "Lorenzo" <email@hidden> wrote:

> Hi list,
> I am still trying to extract NSBezierPath from an EPS file created by
> Illustrator.
> It seems to be so complicated. I have downloaded GhostScript just to have an
> idea about that but it's even more complicated. Same thing for the Adobe
> document describing the file format. I can't believe that extracting a list
> of points from a text document is so complicated. Even considering the
> transformation matrix it should be easy. So I ask:
> 
> Is a simple way to get the bezier paths from an EPS file?

No way.
Postscript is a programming language. The task you trying to solve is as
complex as to scan through C/C++ source code which draws something to the
screen and to find the bezier paths in it.

> Any "small" sample code? A tutorial?

No.
The Postscript Language Reference Manual, downloadable from Adobe site, has
1000+ pages.

> At least, how can I get info from the pasterboard containing a bezierPath
> copied from Illustrator?
> 

I think the only "simple" way would be not to analize the EPS file, but to
develop a plug-in for Illustrator.
Plug-ins could access "artworks" in the Illustrator documents and get the
info you need.


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden

References: 
 >EPS to NSBezierPath (From: Lorenzo <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.