home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / windows / x / 20698 < prev    next >
Encoding:
Text File  |  1993-01-02  |  1.8 KB  |  53 lines

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