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()