home *** CD-ROM | disk | FTP | other *** search
/ Planet Source Code Jumbo …e CD Visual Basic 1 to 7 / 3_2004-2005.ISO / Data / Zips / AllAPI_API179141992004.psc / API / A / AngleArc.api < prev    next >
Encoding:
INI File  |  2004-08-30  |  1.3 KB  |  39 lines

  1. [NAME]
  2. AngleArc
  3. [DESCRIPTION]
  4. The AngleArc function draws a line segment and an arc. The line segment is drawn from the current position to the beginning of the arc. The arc is drawn along the perimeter of a circle with the given radius and center. The length of the arc is defined by the given start and sweep angles.
  5. [DECLARATION]
  6. Declare Function AngleArc Lib "gdi32" Alias "AngleArc" (ByVal hdc As Long, ByVal x As Long, ByVal y As Long, ByVal dwRadius As Long, ByVal eStartAngle As Double, ByVal eSweepAngle As Double) As Long
  7. [VBNET]
  8. System.Graphics.DrawArc
  9. [OS]
  10. Requires Windows NT 3.1 or later; Win9x/ME: Not supported
  11. [LIBRARY]
  12. Gdi32
  13. [PARAMETERS]
  14. ╖ hdc
  15. Identifies a device context.
  16.  
  17. ╖ X
  18. Specifies the logical x-coordinate of the center of the circle.
  19.  
  20. ╖ Y
  21. Specifies the logical y-coordinate of the center of the circle.
  22.  
  23. ╖ dwRadius
  24. Specifies the radius, in logical units, of the circle. This value must be positive.
  25.  
  26. ╖ eStartAngle
  27. Specifies the start angle, in degrees, relative to the x-axis.
  28.  
  29. ╖ eSweepAngle
  30. Specifies the sweep angle, in degrees, relative to the starting angle.
  31. [RETURNS]
  32. If the function succeeds, the return value is nonzero.
  33.  
  34. If the function fails, the return value is zero. To get extended error information, call GetLastError.
  35. [EXAMPLES]
  36. AngleArc*E8DC46530A1091387CDD20D0808C9FD0.html
  37. [RELATED]
  38. Arc
  39.