home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!stanford.edu!sun-barr!sh.wide!wnoc-tyo-news!scslwide!wsgw!wsservra!onoe
- From: johns@io.datasys.swri.edu (Stephen Johns)
- Newsgroups: fj.mail-lists.x-window
- Subject: XDrawArc Bug?
- Message-ID: <1992Dec29.050643.27897@sm.sony.co.jp>
- Date: 29 Dec 92 05:06:43 GMT
- Sender: onoe@sm.sony.co.jp (Atsushi Onoe)
- Distribution: fj
- Organization: Southwest Research Institute, San Antonio
- Lines: 24
- Approved: michael@sm.sony.co.jp
-
- Date: 28 Dec 92 22:24:42 GMT
- Message-Id: <237@io.trident.datasys.swri.edu>
- Newsgroups: comp.windows.x
- Sender: xpert-request@expo.lcs.mit.edu
-
- In a program that handles graphic primitives, including circles, I allow
- the user to zoom in.
-
- As I zoom into an area, has to be pretty tight, with a circle(arc) in it
- I start getting [sqrt: DOMAIN error] in my console window. If I get too many
- of the [sqrt: DOMAIN error] errors, the server locks up. I have determined
- that it is the XDrawArc call that is generating the errors. The typical
- x and y values these errors seem to occur are:
- -3,000 < x < 3,000
- 3,000 < y < 3,000
-
- Typical width and height values:
- 0 < width < 15,000
- 0 < height < 15,000
-
- Are these values getting to big/small? The man page says XDrawArc takes
- x and y as ints and width and height as unsigned ints.
-
- Any help greatly appreciated.
-