Seed7 - The extensible programming language
Seed7 FAQ Manual Screenshots Examples Libraries Algorithms Download Links
Libraries AES ARC4 Array ASN.1 Bigfile Bigint Bigrat Bin32 Bin64 Bitdata Bitmapfont Bitset Bitsetof Boolean Browser Bstring Bytedata Cards Category CC config Cgi Cgi dialog Char Charsets Cipher Clib_file Color CLI Commands Complex Console Crc32 Deflate DES Dialog Dir Draw Duration Echo Editline Enable_input Enable_io Enable_output Encoding Environment External_file File File system Float Font Forloop Ftp Getf Gethttp Gethttps Graph Graph_file Gzip Hash Hashsetof Hmac Html_ent Httpserv Idxarray Image Inflate Inflate file Inifile Integer Keybd Line Listener LZW Make Math Msgdigest Null_file Osfiles Picture utility Pixmap_file Pixmapfont PKCS #1 Poll Process Progs Propertyfile Rational Reference Ref_list Scanfile Scanstri Set Shell Smtp Sockbase Socket SQL base Stdio Strifile String Stritext Subrange Tar Text Time TLS/SSL Triple DES Unicode Utf16 Utf8 Vectorfont 3D Vector Window Wrinum X.509 Xmldom Xml_ent Zip
Libraries
Graph Source Code
 previous   up   next 

Function Summary
integer
pointerXPos (in PRIMITIVE_WINDOW: aWindow)
Determine the actual X position of the mouse pointer.
integer
pointerYPos (in PRIMITIVE_WINDOW: aWindow)
Determine the actual Y position of the mouse pointer.
pointList
genPointList (ref array integer: coordinates)
The function 'genPointList' creates a 'pointList'.

Function Detail

pointerXPos

const func integer: pointerXPos (in PRIMITIVE_WINDOW: aWindow)

Determine the actual X position of the mouse pointer. The functions pointerXPos and pointerYPos can be used to move something with the cursor (e.g.: drag and drop).


pointerYPos

const func integer: pointerYPos (in PRIMITIVE_WINDOW: aWindow)

Determine the actual Y position of the mouse pointer. The functions pointerXPos and pointerYPos can be used to move something with the cursor (e.g.: drag and drop).


genPointList

const func pointList: genPointList (ref array integer: coordinates)

The function 'genPointList' creates a 'pointList'. It converts an array of alternate x and y values to a 'pointList'.

Returns:
a pointList with the points from the array.
Raises:
RANGE_ERROR - when the length of the array is odd.


 previous   up   next