home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.pascal
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!sdd.hp.com!ux1.cso.uiuc.edu!news.iastate.edu!vincent1.iastate.edu!jnpotts
- From: jnpotts@iastate.edu (James N. Potts)
- Subject: Re: Can you overlay graphics without obscuring the lower ones?
- Message-ID: <jnpotts.727658850@vincent1.iastate.edu>
- Sender: news@news.iastate.edu (USENET News System)
- Organization: Iowa State University, Ames IA
- References: <1993Jan21.144229.23421@sun1x.actc.res.utc.com>
- Date: Thu, 21 Jan 1993 23:27:30 GMT
- Lines: 29
-
- In <1993Jan21.144229.23421@sun1x.actc.res.utc.com> pek@logos.res.utc.com (Paul Kirschner) writes:
-
- >Is there a way to overlay graphic figures (circles, rectangles, etc.)
- >so that the underlying figure "bleeds through" the top one?
-
- >I want to make a "business presentation" type bar chart where
- >succeeding years are overlaid. However, the top bar totally obscures
- >the one behind it - even with a stripped pattern. I want to use a
- >stripped pattern so that the lower one shows through.
-
- >I can make the same effect "by hand" by drawing the top rectangle
- >directly and stripping it line by line. Unfortunately this is
- >resolution dependent for the line spacing. It would be MUCH easier to
- >use the built-in fill patterns and have the BGI do the work!
-
- >Anyone solved this?
-
- Here's one thing that you could do. After drawing the first figure, draw
- the one that would go on top off screen, say to a different graphics page.
- Then, do a getimage of the new (offscreen) image, and do an OR putimage to
- the screen. This would let the old figure show through the new.
-
- James.
-
- --
- _____________________________________________________________________
- James N. Potts | "To err is human. To get multiple UAE's
- jnpotts@iastate.edu | requires MS Windows."
- tabp6@isuvax.iastate.edu| - Me
-