home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / fj / maillis / xwindow / 19058 < prev    next >
Encoding:
Internet Message Format  |  1993-01-02  |  2.1 KB

  1. Path: sparky!uunet!spool.mu.edu!sgiblab!nec-gw!nec-tyo!wnoc-tyo-news!scslwide!wsgw!wsservra!onoe
  2. From: vijay@iitb.ernet.in (Vijay J. Talati)
  3. Newsgroups: fj.mail-lists.x-window
  4. Subject: XDrawArc Man Page ( R4 and R5)
  5. Message-ID: <1993Jan2.213359.17467@sm.sony.co.jp>
  6. Date: 2 Jan 93 21:33:59 GMT
  7. Sender: onoe@sm.sony.co.jp (Atsushi Onoe)
  8. Distribution: fj
  9. Organization: Indian Institute of Technology, Bombay
  10. Lines: 48
  11. Approved: michael@sm.sony.co.jp
  12.  
  13. Date: Sat, 2 Jan 1993 06:40:07 GMT
  14. Message-Id: <1993Jan2.064007.14594@iitb.ernet.in>
  15. Newsgroups: comp.windows.x
  16. Sender: xpert-request@expo.lcs.mit.edu
  17.  
  18. Hi,
  19.  
  20. I recently got R5 and going through the XDrawArc man, i found it different
  21. (is it a mistake?) from the R4 manual ( From "The X Window System",
  22. X11R4, Robert Scheifler & James Gettys, Second Edition).
  23.  
  24. Here are the parts of XDrawArc that differ..
  25.  
  26. [The R5 online manpage..]
  27.  For an arc specified as
  28.      [ x, y, width, height, angle1, angle2], the origin of the
  29.      major and minor axes is at [x+width, y+height], and the
  30.      infinitely thin path describing the entire circle or ellipse
  31.      intersects the horizontal axis at [x, y+height] and
  32.      [x+width, y+height] and intersects the vertical axis at
  33.      [x+width, y] and [x+width, y+height].
  34.  
  35. [The description in the Schefler/Gettys book.. X11R4]
  36.  For an arc specified as
  37.      [ x, y, width, height, angle1, angle2], the origin of the
  38.      major and minor axes is at [x+width/2, y+height/2], and the
  39.                                 ^^^^^^^^^^^^^^^^^^^^^^^
  40.      infinitely thin path describing the entire circle or ellipse
  41.      intersects the horizontal axis at [x, y+height/2] and    
  42.                                         ^^^^^^^^^^^^^
  43.      [x+width, y+height/2] and intersects the vertical axis at
  44.     ^^^^^^^^^^^^^^^^^^^^^^
  45.      [x+width/2, y] and [x+width/2, y+height].
  46.     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  47.  
  48.  
  49. Is there a mistake in the R5 man pages?
  50.  
  51.  
  52. Vijay
  53.  
  54.  
  55.  
  56. -- 
  57. -----------------------------------------------------------------------
  58. Vijay Talati                        Email: vijay@iitb.ernet.in
  59. ERNet Lab.                          (X.400):
  60. Computer Centre                      s=Talati ou=gateway o=iitb prmd=ernet c=in
  61.