SilverScreen Solid Modeler

pointer_position

pointer_position

Previous topic Next topic  

pointer_position

Previous topic Next topic JavaScript is required for the print function  

SilverScreenAPI

 

void pointer_position ( int *x, int *y )

 

int *x;           // address of int to receive x coordinate

int *y;           // address of int to receive y coordinate

 

 




Synopsis

#include "silver.h"

 

The pointer_position function sets the integers at x and y to the values of the x and y screen coordinates of the arrow cursor "hot dot", such that 1 <= *y <= spixel_height , and 1 <= *x <= spixel_width .

 

 

Parameters

x and y are addresses of integers that are to receive the coordinate values.

 

 

Return Value

none.

 

 

See Also

pointer_locate , pointer_char_position