ps_lineto

(PECL)

ps_lineto -- Draws a line

说明

bool ps_lineto ( resource psdoc, float x, float y )

Adds a straight line from the current point to the given coordinates to the current path. Use ps_moveto() to set the starting point of the line.

返回值

如果成功则返回 TRUE,失败则返回 FALSE

参见

ps_moveto()