Solved

Copy pics to scrap without clipping???

Posted on 1997-11-12
2
221 Views
Last Modified: 2013-12-26
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
0
Comment
Question by:malrieu
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 

Accepted Solution

by:
hawkfish earned 100 total points
ID: 1291709
I believe that the problem you are having is that the clipping region of the current grafport is not as large as the picture.  One solution is to save the old region, ClipRect to PicHandle.bounds and then do the copy.
0
 

Author Comment

by:malrieu
ID: 1291710
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.
0

Featured Post

Learn how to optimize MySQL for your business need

With the increasing importance of apps & networks in both business & personal interconnections, perfor. has become one of the key metrics of successful communication. This ebook is a hands-on business-case-driven guide to understanding MySQL query parameter tuning & database perf

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
In this post we will learn different types of Android Layout and some basics of an Android App.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Suggested Courses

626 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question