From bc73c3cae4969977b017ec379c4e50f1ae9604bf Mon Sep 17 00:00:00 2001 From: wp Date: Mon, 1 Jun 2020 21:32:57 +0000 Subject: [PATCH] Graphics: Fix misleading parameter names in comment headers of TCanvas.Arc and .RadialPie git-svn-id: trunk@63262 - --- lcl/include/canvas.inc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lcl/include/canvas.inc b/lcl/include/canvas.inc index 5dec70357e..1637eafe67 100644 --- a/lcl/include/canvas.inc +++ b/lcl/include/canvas.inc @@ -651,11 +651,11 @@ end; {------------------------------------------------------------------------------ Method: TCanvas.Arc - Params: ALeft, ATop, ARight, ABottom, angle1, angle2 + Params: ALeft, ATop, ARight, ABottom, Angle, AngleLength Returns: Nothing Use Arc to draw an elliptically curved line with the current Pen. - The angles angle1 and angle2 are 1/16th of a degree. For example, a full + The angles Angle and AngleLength 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. @@ -772,11 +772,11 @@ end; {------------------------------------------------------------------------------ Method: TCanvas.RadialPie - Params: x1, y1, x2, y2, StartAngle16Deg, EndAngle16Deg: Integer + Params: x1, y1, x2, y2, StartAngle16Deg, Angle16DegLength: Integer Returns: Nothing Use RadialPie to draw a filled pie-shaped wedge on the canvas. - The angles StartAngle16Deg and EndAngle16Deg are 1/16th of a degree. + The angles StartAngle16Deg and Angle16DegLength 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.