Path: utzoo!attcan!uunet!decwrl!ucbvax!bloom-beacon!LARRY.MCRCIM.MCGILL.EDU!mouse From: mouse@LARRY.MCRCIM.MCGILL.EDU Newsgroups: comp.windows.x Subject: Re: circling text in a window Message-ID: <9010201031.AA03137@Larry.McRCIM.McGill.EDU> Date: 20 Oct 90 10:31:46 GMT Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Lines: 34 > I would like to take a stab at making a word search X program (you > know that game you search thru the matrix of letters to find words > and then circle them). Not to rain on your parade, but in the lawsuit-happy world down there this could open you up to a look-and-feel suit from one of the word-game magazine companies. I recall seeing a word-search game in a magazine where the instructions (as if they were needed!) made quite a point of "draw a line through the word, *do not* circle it". What a crazy world we live in. > Well I have to word search part and I would like to get any hints on > how to be able to circle the words after the matrix has been put in a > window. Is it possible to say set the beginning and end points > (beginning and end of the word), check it to see if it is in the > list, and then draw a circle around the beginning and end points? Sure. Just draw two lines and two semicircles...the only even slightly difficult part is placing them, and that is hardly a mindbender. > Or, do I have to draw a line thru the words instead of a circle (is > this easier?). Marginally. It's one line instead of two lines and two semicircles. > Or do I have to create several fonts that have normal letters and > then letters that have lines thru them (potentially a lot of fonts). Oh ick. You don't want to do it that way, trust me. der Mouse old: mcgill-vision!mouse new: mouse@larry.mcrcim.mcgill.edu