lcPaint_PtbufAddCircle3 Home

Adds a set of points into a points buffer. The points represent a circle shape, defined by 3 points.

 BOOL lcPaint_PtbufAddCircle3 (
   HANDLE hPtbuf,
   double X1,
   double Y1,
   double X2,
   double Y2,
   double X3,
   double Y3,
   BOOL bInside,
   int Resol
 );

Parameters
hPtbuf
  Handle to points buffer.
X1 Y1
  First point coordinates.
X2 Y2
  Second point coordinates.
X3 Y3
  Third point coordinates.
bInside
  FALSE - the circle goes via 3 points,
TRUE - the circle is inscribed into the triangle made by 3 points.
Resol
  A number of created points (8 - 512). Faster generation will be with numbers 8, 16, 32, 64, 128, 256, 512.

Return Value

  If the function succeeds, the return value is nonzero (TRUE).

See Also

  lcPaint_PtbufAddCircle2lcPaint_PtbufAddCircle3