> is there any supported CD file format that allow us to load file into
canvas,
> play with it using CD api, then save it?

  Yes. But It is not very flexible.

  CD has a function called cdCanvasPlay that can "play" primitives from file
to the canvas.

  The CD_CGM, CD_WMF, CD_EMF, and CD_METAFILE does that. I think that the
best option for what you want would be the CD_METAFILE. To avoid loading it
every time you repaint, you can load it to a CD_PICTURE canvas that will
store the primitives in memory. And they play from there to the actual
canvas.

Best,
Scuri



------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Iup-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/iup-users

Reply via email to