From 1ef066af3f4fbfb339264c6095a318564dfee0b9 Mon Sep 17 00:00:00 2001 From: Graeme Geldenhuys Date: Mon, 29 Apr 2013 17:14:03 +0100 Subject: docs: Adds docs for Canvas.DrawArc() and Canvas.FillArc() --- docs/xml/corelib/fpg_base.xml | 66 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) (limited to 'docs') diff --git a/docs/xml/corelib/fpg_base.xml b/docs/xml/corelib/fpg_base.xml index 48c30abb..a124664a 100644 --- a/docs/xml/corelib/fpg_base.xml +++ b/docs/xml/corelib/fpg_base.xml @@ -935,6 +935,7 @@ Right. And the Top is always smaller than the Bottom. This does not do any drawing, in only clips the line coordinates. This method is used internally by . + Paints a rectangle with a gradient . If the gradient direction is @@ -943,6 +944,71 @@ set to gdVertical, then it paints from top to bottom. + +Draws an outline arc shape +

. It uses the TfpgCanvas.Color +value to draw the arc.

+
+
x
+
The left x co-ordinate of the arc drawing position
+
y
+
The top y co-ordinate of the arc drawing position
+
w
+
The width of the whole arc
+
h
+
The height of the whole arc
+
a1
+
This is the starting point of the arc. A value of 0 is the 3 o'clock +position. A value of 270 is the 6 o'clock position. Positive values move +counter-clockwise, and negative values move clockwise.
+
a2
+
This parameter is the length of the arc in degrees. A positive value +goes counter-clockwise, and a negative values goes clockwise.
+
+
+ + TfpgCanvasBase.FillArc + + +
+ + + +This is the starting point of the arc. A value of 0 is the 3 o'clock +position. A value of 270 is the 6 o'clock position. Positive values move +counter-clockwise, and negative values move clockwise. + + + + +Draws a filled arc shape +

. It uses the TfpgCanvas.Color +value to draw and fill the arc.

+
+
x
+
The left x co-ordinate of the arc drawing position
+
y
+
The top y co-ordinate of the arc drawing position
+
w
+
The width of the whole arc
+
h
+
The height of the whole arc
+
a1
+
This is the starting point of the arc. A value of 0 is the 3 o'clock +position. A value of 270 is the 6 o'clock position. Positive values move +counter-clockwise, and negative values move clockwise.
+
a2
+
This parameter is the length of the arc in degrees. A positive value +goes counter-clockwise, and a negative values goes clockwise.
+
+
+ + TfpgCanvasBase.DrawArc + + +
+ + A simple data object representing a file . Some properties are OS dependant. -- cgit v1.2.3-70-g09d2