TWidgetSet.AngleChord function
Use AngleChord to draw a filled Chord shape on a canvas.
Declaration
function AngleChord(DC: HDC; x1: Integer; y1: Integer; x2: Integer;
y2: Integer; angle1: Integer; angle2: Integer)
: Boolean; virtualArguments
DC | |
x1 | |
y1 | |
x2 | |
y2 | |
angle1 | Base angle. |
angle2 | Angle length. |
Function result
False on failure.Description
The chord is outlined with the current pen, and filled with the current brush.
The angles angle1 and angle2 are 1/16th of a degree. For example, a full circle equals 5760 16*360). Positive values of Angle and AngleLength mean counter-clockwise while negative values mean clockwise direction. Zero degrees is at the 3 o'clock position.
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
