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



So, I have no choise. I have to learn all of that. I go (sigh).
Thank you for your detailed support.


Best Regards
-- 
Lorenzo
email: email@hidden

> From: Robert Clair <email@hidden>
> Date: Sun, 02 Jan 2005 20:53:47 -0500
> To: Cocoa List <email@hidden>
> Cc: Lorenzo <email@hidden>
> Subject: Re:  EPS to NSBezierPath
> 
>> I am still trying to extract NSBezierPath from an EPS file created by
>> Illustrator.
>> It seems to be so complicated.
> 
> It is.
> 
>> 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.
> 
> Believe it. As was pointed out, it's not a "text document".
> 
>>  Even considering the
>> transformation matrix it should be easy.
> 
> What basis do you have for thinking this ?
> 
>> So I ask:
>> 
>> Is a simple way to get the bezier paths from an EPS file?
> 
> No. At least not with any of the commonly understood definitions
> of the word "simple".
> 
>> Any "small" sample code? A tutorial?
> 
> No. This is like asking for "small" sample code for a compiler.
> 
> There is a subtle point here. EPS and pdf files are designed as *page
> descriptions*,
> NOT (despite sort of being used as such by Illustrator, etc) geometric
> databases. As you are discovering, page descriptions make lousy
> geometric databases.
> 
>> At least, how can I get info from the pasterboard containing a
>> bezierPath
>> copied from Illustrator?
>> 
>> 
> 
> Illustrator puts the selection on the clipboard in two forms: PICT and
> pdf. I don't
> know anything about PICT, especially whether this is a vector PICT or a
> bitmap.
> If it is a vector PICT and you know how to read them - there you go.
> The pdf on the
> clipboard doesn't help you at all - it is a regular pdf just like
> saving a file from Illustrator.
> 
> Again I would suggest looking at pstoedit and at whichever open source
> drawing
> program was trying to read Illustrator files. (Sketch or whatever it is
> called now ?).
> 
> But, unfortunately, it's still not going to be simple.
> 
> .......Bob Clair
> 
> 

 _______________________________________________
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: 
 >Re: EPS to NSBezierPath (From: Robert Clair <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.