ejp@bohra.cpg.oz (Esmond Pitt) (07/10/90)
I am doing some XDrawLine()'s in an expose callback of a Motif Drawing Area widget. Nobody but me knows these lines are on the screen. [Good reasons exist for all this.] My question is, what is the approved way to erase the lines again? I'd rather not just blast away with XClearArea(). -- Esmond Pitt, Computer Power Group ejp@bohra.cpg.oz D
razdan@chanakya.oakhill.uucp (Anshuman Razdan) (07/12/90)
-----On 10 Jul 90 09:05:13 GMT, ejp@bohra.cpg.oz (Esmond Pitt) said: Esmond> Article-I.D.: bohra.390 Esmond> Posted: Tue Jul 10 04:05:13 1990 Esmond> I am doing some XDrawLine()'s in an expose callback of a Motif Esmond> Drawing Area widget. Nobody but me knows these lines are on Esmond> the screen. [Good reasons exist for all this.] Esmond> My question is, what is the approved way to erase the lines Esmond> again? I'd rather not just blast away with XClearArea(). Esmond> -- Esmond> Esmond Pitt, Computer Power Group Esmond> ejp@bohra.cpg.oz Esmond> D Use XDrawLines with GXxor mode in the GC. Now if you draw the lines again they will erase themselves. -- Anshuman Razdan Motorola Sector CAD Internal: razdan@chanakya Austin Tx Internet: razdan@chanakya.sps.mot.com ****************************************************************** * * * PS: All opinions are my own and my employers have their own * * which of course, most probably, in all honesty, as far * * as I know, which sure is a guess, do not coincide with mine. * * * ******************************************************************