# ArcB- Draws an arc through three points

Draws an arc passing through three points using a Bezier curve.

- ArcB(X1,Y1,X2,Y2,X3,Y3[,R])

Parameters:

- (int) X1: horizontal coordinate of the starting point;

- (int) Y1: Vertical coordinate of the starting point;

- (int) X2: horizontal coordinate of the point of curvature;

- (int) Y2: vertical coordinate of the point of curvature;

- (int) X3: horizontal coordinate of the ending point;

- (int) Y3: Vertical coordinate of the ending point;

- (int) R: rotation expressed in degrees (optional).

Description:

Use ArcB to draw a curved line through three points. The arc is drawn using a quadratic curve of Bezier defined by points X1 Y1 (start), X2 Y2 (curvature) and X3 Y3 (end).

The arc is drawn using the current pen and color (Pen, ColorPen).

The optional parameter R defines arc rotation around its hypothetical center or around the origin point defined with the GraphicOrigin instruction. The value is expressed in degrees. If omitted the rotation is 0 degrees.

Drawing with the mouse:

From the drawing context menu choose Arch. Move your pointer over a coordinate in the graph and press the left button to set the starting point for the arc. Move your pointer to the end point of the arc - a line of sight is drawn from the first point to the pointer - and press the left button. Move the pointer to choose the curvature of the arc - a curve is drawn that starts from the starting point, curve near the pointer and ends at the ending point - and press the left button.

Once you have defined the coordinates of the arc, use the mouse wheel to rotate it around its hypothetical center or around a point of origin defined with the GraphicOrigin instruction. When using the mouse wheel with the Ctrl key, the arc is enlarged or reduced. To insert the ArcB instruction into the graph, confirm with the left mouse button.