GMImage.AddPathQuadraticCurvetoAbs
----------------------------------

Draw a single curve.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [GraphicsMagick](component_GraphicsMagick.md) | [4.1](newinversion41.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "GMImage.AddPathQuadraticCurvetoAbs"; ImageRef; x1; y1; X; Y ) 

**MBS**( **"GMImage.AddPathQuadraticCurvetoAbs";** /\* Draw a single curve. \*/  
**$ImageRef**; /\* The image reference number.e.g. 1 \*/   
**$x1**; /\* The first control point. \*/   
**$y1**; /\* The first control point. \*/   
**$X**; /\* The target point. \*/   
**$Y**) /\* The target point. \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| ImageRef | The image reference number. | 1 |
| x1 | The first control point. |  |
| y1 | The first control point. |  |
| X | The target point. |  |
| Y | The target point. |  |

### Result

Returns OK or error.

### Description

Draw a single curve.  
The quadratic Bézier commands depend on the argument x1/y1 and x/y.  
### See also

- [GMImage.AddPathQuadraticCurvetoRel](GMImageAddPathQuadraticCurvetoRel.md)
- [GMImage.AddPathSmoothCurvetoAbs](GMImageAddPathSmoothCurvetoAbs.md)
- [GMImage.AddPathSmoothQuadraticCurvetoAbs](GMImageAddPathSmoothQuadraticCurvetoAbs.md)
- [GMImage.AddPathSmoothQuadraticCurvetoRel](GMImageAddPathSmoothQuadraticCurvetoRel.md)

This function checks for a license.

Created 18th August 2014 , last changed 18th August 2014

  
[GMImage.AddPathMovetoRel](GMImageAddPathMovetoRel.md) - [GMImage.AddPathQuadraticCurvetoRel](GMImageAddPathQuadraticCurvetoRel.md)

[HTML Version](GMImageAddPathQuadraticCurvetoAbs.shtml)