Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Draw a single curve.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
GraphicsMagick | 4.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Parameter | Description | Example |
---|---|---|
ImageRef | The image reference number. | 1 |
x1 | The first control point. | |
y1 | The first control point. | |
x2 | The second control point. | |
y2 | The second control point. | |
x | Destination point coordinate. | |
y | Destination point coordinate. |
Returns OK or error.
Draws a bezier curve:
$r = MBS("GMImage.AddPathMovetoAbs"; $img; 100; 100 )
$r = MBS("GMImage.AddPathCurvetoAbs"; $img; 100; 300; 300; 100; 300; 300 )
$r = MBS("GMImage.DrawPath"; $img )
This function checks for a license.
Created 18th August 2014, last changed 18th August 2014