Link to home
Start Free TrialLog in
Avatar of malrieu
malrieu

asked on

Copy pics to scrap without clipping???

I am using Symantec C++ and the TCL and I wonder how I can copy the contents of a panorama to the scrap as a picture without having this picture being clipped to the visible area of the panorama.
The only solution I have found is to create an offscreen graphic world, and draw into it while recording the picture I will put to the scrap. But to avoid clipping, I have to initialize the offscreen world with a bitmap at least large enough to contain (display) my data. And this may be too much memory.
What is the right solution to this problem?

Thank's for helping me.

Jean Pierre
ASKER CERTIFIED SOLUTION
Avatar of hawkfish
hawkfish

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of malrieu
malrieu

ASKER

My question was silly, but, when when I realized it, I did not know how to remove it from the list. "Hawkfish" did its best to turn it into an intelligent question, and I thank him for that.
In fact, when you draw into an offscreen graffic world, the picture is not clipped to the bounds of the Gworld's bitmap. I got (erroneously) convinced of that because I was passing (without realizing) the same rect to OpenPicture() and to the initialisation of the Gworld. Thus, when I tried to reduce the size of the GWorld's bitmap, I was in fact reducing the bounds of my picture! Sorry for sending such a stupid question. And thanks to expert exchange.