Tv GhostLine

From TVPaintWiki
Jump to: navigation, search

<<<George<<<Command Reference<<<<Drawing Functions


  tv_GhostLine draw x1 y1 x2 y2

Draws or erases a temporary line on the screen. The draw argument may be equal to 0 or 1. If it is equal to 1 the line will be drawn, and if it is equal to 0 the line will be erased and the part of the original image under the line will be restored. The x1 y1 and x2 y2 arguments are the line start and end coordinates. You can also use the tv_ResetDisplay command to refresh the entire screen.

WARNING : If tv_ghostline is used while a MetaFunction is active (in a plugin), be sure to call it AFTER the Refresh() function from PIKeys.