Re: [Pharo-users] Copy bitmap to clipboard

2017-08-27 Thread Stephane Ducasse
Hilaire may be you should turn the copied canvas into a png because it is not clear how external tools will be able to do something with an internal representation of the screen. Stef On Sun, Aug 27, 2017 at 6:18 PM, Peter Uhnák wrote: > I don't know about other platforms, but on linux the clip

Re: [Pharo-users] Copy bitmap to clipboard

2017-08-27 Thread Peter Uhnák
I don't know about other platforms, but on linux the clipboard is implemented in this 8kloc C file https://github.com/pharo-project/pharo-vm/blob/e0ce2d9d78c3c7b37bbc12cd8730c6a15f1f057c/opensmalltalk-vm/platforms/unix/vm-display-X11/sqUnixX11.c e.g. getting the selection https://github.com/pharo-

[Pharo-users] Copy bitmap to clipboard

2017-06-15 Thread Hilaire
Hi, A Dr. Geo user asked me about copying a DrGeo canvas view in the system clipboard, to past it in other tools as a text writer or any other editing tool. I looked in Pharo3 and Pharo6, I found text clipboard operation but it is not clear if there is support for other format? What about