manolo gouy wrote: > In Mac OS and MSWindows, the clipboard can be routinely used to > transfer graphical data between applications, in addition to > transferring text data. These OSes have a standard format for that. > In MSWindows, it's metafile; in Mac OS it used to be PICT > and is now PDF.
I see, that means that you propose to put vector graphics to the clipboard. That wasn't clear to me before. This would indeed need another approach than copying an Fl_Offscreen to the clipboard. > The objective is to allow the user of an FLTK application to > draw a graphics, to copy it and to paste it to applications > such as PowerPoint, Word, Illustrator, OpenOffice that can read > any graphics-loaded clipboard. > With Mac OS, the clipboard is best loaded with the same graphics data > in two forms, PDF, used by those applications that know how to > handle vector graphics, and jpeg, for those, more numerous > applications, that can only receive an image. I had a quick look at the Windows clipboard format docs. I can see that the different (2) metafile formats are convertible, but we'd also need an additional bitmap format to be complete, right? What does your existing code do, and/or what exactly would be your intentions? Albrecht _______________________________________________ fltk-dev mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-dev
