• Allegro

    Draws a arc.

    Parameters

    • bitmap: undefined | BITMAP

      bitmap to be drawn to

    • x: number

      centre point x coordinates

    • y: number

      centre point y coordinates

    • ang1: number

      angle 1 of arc from 0-256

    • ang2: number

      angle 2 of arc from 0-256

    • r: number

      radius of arc

    • colour: number

      colour of arc

      1.14.23

    Returns void

    Remarks

    Draws a circular arc with centre x, y and radius r, in an anticlockwise direction starting from the angle a1 and ending when it reaches a2. These values are specified in 16.16 fixed point format, with 256 equal to a full circle, 64 a right angle, etc. Zero is to the right of the centre point, and larger values rotate anticlockwise from there.

Generated using TypeDoc