Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5   7.6    Statistic  

GMImage.AddPathArcAbs

Draw a single arc segment.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
GraphicsMagick 4.1 Yes Yes Yes Yes Yes

MBS( "GMImage.AddPathArcAbs"; ImageRef; radiusX; radiusY; xAxisRotation; largeArcFlag; sweepFlag; x; y )

Parameters

Parameter Description Example value
ImageRef The image reference number. 1
radiusX The radius in x direction. 100
radiusY The radius in y direction. 100
xAxisRotation The rotation value. 0
largeArcFlag Pass 1 or 0 to decide if you want to draw larger arcs. 0
sweepFlag Whether to draw the arc matching a clock-wise rotation. 0
x The x coordinate. 10
y The y coordinate. 10

Result

Returns OK or error.

Description

Draw a single arc segment.
Draws an elliptical arc from the current point to (x, y). The size and orientation of the ellipse are defined by two radii (radiusX, radiusY) and an xAxisRotation, which indicates how the ellipse as a whole is rotated relative to the current coordinate system. The center (cx, cy) of the ellipse is calculated automatically to satisfy the constraints imposed by the other parameters. largeArcFlag and sweepFlag contribute to the automatic calculations and help determine how the arc is drawn. If largeArcFlag is 1 then draw the larger of the available arcs. If sweepFlag is 1, then draw the arc matching a clock-wise rotation.
With absolute coordinate.

See also


GMImage.AddNoiseChannel   -   GMImage.AddPathArcRel

Feedback: Report problem or ask question.




Links
MBS Xojo tutorial videos