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.AddPathLinetoHorizontalRel

Draws a horizontal line from the current point (cpx, cpy) to (x, cpy).

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

MBS( "GMImage.AddPathLinetoHorizontalRel"; ImageRef; x )

Parameters

Parameter Description Example value
ImageRef The image reference number. 1
x The new relative x coordinate. 100

Result

Returns OK or error.

Description

Draws a horizontal line from the current point (cpx, cpy) to (x, cpy).
GMImage.AddPathLinetoHorizontalRel indicates that relative coordinates are supplied. At the end of the command, the new current point becomes (x, cpy) for the final value of x.

See also


GMImage.AddPathLinetoHorizontalAbs   -   GMImage.AddPathLinetoRel

Feedback: Report problem or ask question.




Links
MBS Xojo Chart Plugins