Xojo Developer Conference
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.

DynaPDF Manual - Page 294

Previous Page 293   Index   Next Page 295

Function Reference
Page 294 of 750
Return values:
If the function succeeds the return value is 1. If the function fails the return value is 0.
DrawCircle
Syntax:
SI32 pdfDrawCircle(
const PPDF* IPDF,
// Instance pointer
double PosX,
// X-Coordinate of the midpoint of the circle
double PosY,
// X-Coordinate of the midpoint of the circle
double Radius,
// Radius
TPathFillMode FillMode) // Fill mode
This function draws a circle. The draw direction can be changed with the function
SetDrawDirection().
A circle is a closed path that can be filled, stroked or both. It is also possible to draw a circle invisible
to apply the filling rules nonzero winding number or even-odd. The filling rules are described under
ClipPath(). The parameter FillMode is ignored if the circle is drawn inside a clipping path. The fill
modes are described under ClosePath().
Return values:
If the function succeeds the return value is 1. If the function fails the return value is 0.
 

Previous topic: DrawChord

Next topic: DrawPie