[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  Arc( hDC, nLeft, nTop, nRight, nBottom, nXB, nYB, nXE, nYE) -> <lOk>
------------------------------------------------------------------------------


 PARAMETER:

  <hDC>        handle that identifies a device context

  <nLeft>      left col of the bounding rectangle
  <nTop>       top row of the bounding rectangle
  <nRight>     right col of the bounding rectangle
  <nBottom>    bottom row of the bounding rectangle
  <nXB>        column that defines the arc's starting point. This point 
               need not lie exactly on the arc
  <nYB>        row that defines the arc's starting point. This point need
               not lie exactly on the arc
  <nXE>        column that defines the arc's endpoint. This point need not
               lie exactly on the arc
  <nYE>        row that defines the arc's endpoint. This point need not lie
               exactly on the arc. 


 RETURNS:

  The return value is nonzero if the function is successful. Otherwise, it
  is zero


 DESCRIPTION:

  The arc drawn by using Arc() is a segment of the ellipse defined by the
  specified bounding rectangle. The starting point of the arc is the point
  at which a ray drawn from the center of the bounding rectangle through
  the specified starting point intersects the ellipse.
  The end point of the arc is the point at which a ray drawn from the
  center of the bounding rectangle through the specified end point
  intersects the ellipse.
  The arc is drawn in a counterclockwise direction. Since an arc is not a
  closed figure, it is not filled. 
  Both the width and the height of a rectangle must be greater than 2 units
  and less than 32,767 units. 



 SOURCE:  

  SOURCE\WINAPI\DRAWING.C 




See Also: Ellipse FloodFill Rectangle hDC
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson