home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!sunquest!alpha.sunquest.com!djp
- From: djp@alpha.sunquest.com (Dan Parslow, ext. 2556)
- Newsgroups: comp.windows.x
- Subject: X standard for CopyArea
- Message-ID: <10NOV199210563988@alpha.sunquest.com>
- Date: 10 Nov 92 17:56:00 GMT
- Sender: news@sunquest.UUCP
- Organization: Sunquest Information Systems, Tucson AZ
- Lines: 22
- News-Software: VAX/VMS VNEWS 1.4-b1
-
-
- Greetings,
-
- I have a question about the X standard for CopyArea:
-
- If the source and destination of a call to CopyArea are on the
- same drawable, and they overlap, is it in the spec that CopyArea
- behave as though an intermediate buffer was used? I. e., will
- the copy be performed "safely" so that the destination rectangle,
- after CopyArea returns, is exactly what the source rectangle was
- before the copy?
-
- I have found experimentally that CopyArea performs overlapping
- copies within a single drawable safely, but I don't dare code to
- that assumption unless I know that it can be relied upon as a
- standard.
-
- Any info appreciated,
-
- Dan Parslow
- Sunquest Information Systems, Inc.
- parslow@sunquest.com
-