Top > GetLine

GetLine     User Interactive Edit

Declaration:
 PROCEDURE GetLine ( VAR p1X :REAL;
             VAR p1Y :REAL;
             VAR p2X :REAL;
             VAR p2Y :REAL
             ) ;

Description:

Procedure GetLine returns two user selected points, 
and draws a temporary "rubberband" line when prompting for the second point.
This cannot be used if there is a function anywhere in the calling chain.

説明
 マウスで2点を指示されるまで待機し、始点と終点の座標を返します。

Parameters:

p1Returns coordinates of first user click.始点の座標
p2Returns coordinates of second user click.終点の座標

リロード   新規 下位ページ作成 編集 凍結 差分 添付 コピー 名前変更   ホーム 一覧 検索 最終更新 バックアップ リンク元   ヘルプ   最終更新のRSS
Last-modified: Fri, 09 Dec 2011 16:42:47 JST (4525d)