DiGrande.it

Blind, Braille and Embossing Technologies

This site uses cookies to personalize content and ads, provide social media features and analyze links. By closing this banner or continuing to browse, you consent to their use.
Read the DiGrande.it Cookie Policy

Arc- Draws an arc

Draws an arc along the perimeter of the specified ellipse.

- Arc(X,Y,RX,RY,G1,G2)

Parameters:

- (int) X: horizontal coordinate of the centre of the ellipse;

- (int) Y: vertical coordinate of the centre of the ellipse;

- (int) RX: length of horizontal semi-axis;

- (int) RY: length of vertical semi-axis;

- (int) G1: Degree of the arc starting point;

- (int) G2: degree of the arc ending point.

Description:

Use Arc to draw an elliptical curved line. The arc is drawn on the perimeter of an ellipse defined by the points X Y (centre) and Rx RY (semi-axis length). The arc is drawn by following the perimeter of the ellipse, clockwise, from starting point G1 to ending point G2. The starting point and ending point are values expressed in degrees.

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

Drawing with the mouse:

To draw an arc with the mouse see the ArcB instruction.