home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.lang.pascal:7850 comp.sys.ibm.pc.programmer:736
- Newsgroups: comp.lang.pascal,comp.sys.ibm.pc.programmer
- Path: sparky!uunet!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!ira.uka.de!smurf.sub.org!nadia!delos!sinus!stefan
- From: stefan@sinus.stgt.sub.org (Stefan Bechtold)
- Subject: 2 Questions about Graphic under TurboPascal6
- Message-ID: <1993Jan4.225959.311@sinus.stgt.sub.org>
- Organization: Sinus Stuttgart, Germany
- Date: Mon, 4 Jan 1993 22:59:59 GMT
- Lines: 28
-
- Hi !
-
- I've two questions about the graphic mode under Turbo Pascal 6.0:
-
- 1) What I want to do is to move a rectangle on the screen;
- How can I do this ? If I use, e.g., a
- for i:=1 to 10 do
- rectangle(i,i,4*i,4*i)
- I get 10 rectangles drawn together; but what I want is that
- they only appear for a certain time and then get removed
- (so that is appear as if the rectangle would move from i,i to
- 10*i,10*i).
-
- 2) I'm working on a program which often redraws the screen.
- Is there any possiblity to clear only certain figures/parts
- of the screen so that others remain on the screen ?
- (I've a matrix and something writen on that; what I want is that
- the matrix remains on the screen and only the other stuff will
- be rewritten)
-
- If you have any hints, it would be really great !!
-
- Thank you very much,
- Stefan
- --
- + Stefan Bechtold # stefanb@delos.stgt.sub.org # Voice +49 711 813240 +
- ++++++++sed nemo potuit tangere: merda fuit ! (Martial III 17)+++++++++
-
-