Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
DynaPDF.DrawChord
This function draws an elliptical chord (a region bounded by the intersection of an ellipse and a line segment, called a secant).
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| DynaPDF | 3.1 | Yes | Yes | Yes | Yes | Yes |
MBS( "DynaPDF.DrawChord"; PDF; PosX; PosY; Width; Height; StartAngle; EndAngle; FillMode ) More
Parameters
| Parameter | Description | Example |
|---|---|---|
| The PDF reference returned from DynaPDF.New. | ||
| PosX | X-Coordinate of the midpoint of the chord | $x |
| PosY | Y-Coordinate of the midpoint of the chord | $y |
| Width | Width of the bounding rectangle | $w |
| Height | Height of the bounding rectangle | $h |
| StartAngle | Start Angle. | $StartAngle |
| EndAngle | End Angle. | $EndAngle |
| FillMode | Fill mode. Can be FillNoClose, StrokeNoClose, FillStrokeNoClose, Fill, Stroke, FillStroke, FillEvOdd, FillStrokeEvOdd, FillEvOddNoClose, FillStrokeEvOddNoClose, NoFill or Close. | "fill" |
Result
Returns OK or error.
Description
This function draws an elliptical chord (a region bounded by the intersection of an ellipse and a line segment, called a secant).The draw direction can be changed with the function DynaPDF.SetDrawDirection. The start and end angles are always measured counter clockwise independent of the drawing direction.
A chord is a closed path that can be filled, stroked or both. It is also possible to draw a chord invisible to apply the filling rules nonzero winding number or even-odd. The filling rules are described under DynaPDF.ClipPath. The parameter FillMode is ignored if the chord is drawn inside a clipping path. The fill modes are described under DynaPDF.ClosePath.
See also DrawChord function in DynaPDF manual.
See also
- DynaPDF.ClipPath
- DynaPDF.ClosePath
- DynaPDF.DrawArc
- DynaPDF.DrawArcEx
- DynaPDF.DrawCircle
- DynaPDF.DrawNGon
- DynaPDF.New
- DynaPDF.SetDrawDirection
- DynaPDF.SkewCoords
Blog Entries
Created 18th August 2014, last changed 18th August 2014
DynaPDF.DrawArcEx - DynaPDF.DrawCircle
Feedback: Report problem or ask question.
Links
MBS FileMaker blog