Hi Michael,

Michael Kristensen wrote:
> 
> Thanks Monte
> You have put me on the right track by mentioning "PDF Spec".
> I have solved my problem now.
> Thanks
> 

It would be useful to download the stack:
http://andregarzia.on-rev.com/alejandro/stacks/export_vector_graphics_v04.zip

This stack have experimental scripts to export vector graphics
to Adobe Ilustrator 7, PDF and SVG format.

Just notice that to read compressed PDF streams with vector data,
you should decompress the stream first.

One of the many Deflate filters used by PDF to compress streams
is identical to the deflate compressed data produced in LiveCode
by the function named "compress".
Read this: http://docs.runrev.com/Function/compress

If your Bezier data is uncompressed, then it´s relatively
straightforward to import them into LiveCode.
My advice is to use this extraordinary stack as an example
of importing vector data into LiveCode:
http://revonline2.runrev.com/stack/112/SVGL

In fact, you could save a lot of time if you write code to
convert this Bezier data to the format used by Ian Macphail
in this stack. Just print the handlers and study them
in detail. You will learn a lot from this simple exercise.

Good luck!

Alejandro

--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/PDF-with-Bezier-curve-s-tp3356015p3380872.html
Sent from the Revolution - User mailing list archive at Nabble.com.

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to