Previous Next Up Title Contents Index Functions Index Top Library

INQUIRE DEFAULT LOCATOR DEVICE DATA

PINQ_DEF_LOC_DATA


CALL SEQUENCE

void pinq_def_loc_data(
)

TYPES

typedef void * Pstore;

typedef struct {
	Pfloat 	x;	/* x coordinate	*/
	Pfloat 	y;	/* y coordinate	*/
} Ppoint;

typedef struct {
	Pint	num_ints;	/* number of Pints in list 	*/
	Pint	*ints;	/* list of integers	*/
} Pint_list;

typedef struct {
	Pfloat	x_min;	/* minimum x 	*/
	Pfloat	x_max;	/* maximum x 	*/
	Pfloat	y_min;	/* minimum y 	*/
	Pfloat	y_max;	/* maximum y 	*/
} Plimit;

typedef struct {
	union Ploc_pets {
		struct Ploc_pet_r1 {
			Pint	impl_dep;
		} pet_r1;
		struct Ploc_pet_r2 {
			Pint	impl_dep;
		} pet_r2;
		struct Ploc_pet_r3 {
			Pint	impl_dep;
		} pet_r3;
		struct Ploc_pet_r4 {
			Pline_attrs		line_attrs;	/* polyline attributes	*/
		} pet_r4;
		struct Ploc_pet_r5 {
			Pline_fill_ctrl_flag	line_fill_ctrl_flag;	/* control flag	*/
			union Ploc_attrs {
				Pline_attrs	line_attrs;	/* polyline attributes	*/
				Pint_attrs	int_attrs;	/* interior attributes	*/
				struct Ploc_fill_set {
					Pint_attrs	int_attrs;	/* interior attributes	*/
					Pedge_attrs	edge_attrs;	/* edge attributes	*/
				} fill_set;
			} attrs;
		} pet_r5;
		struct Ploc_pet_r6 {
			Pint	impl_dep;
		} pet_r6;
		Pint	impl_dep;
	} pets;
} Ploc_data;

PHIGS STATE

(PHOP, *, *, *).

EFFECT

Returns the predefined 2D values associated with LOCATOR input device number device. If the data is available, error indicator is returned as 0.

The data is read from the workstation description table of type ws_type.

The memory referenced by *loc_data_rec is managed by store.

ERRORS

2
Ignoring function, function requires state (PHOP, *,*,*)
52
Ignoring function, workstation type not recognized by the implementation
51
Ignoring function, this information is not yet available for this generic workstation type: open a workstation of this type and use the specific workstation type
61
Ignoring function, specified workstation is neither of category INPUT nor of category OUTIN
250
Ignoring function, the specified device is not available on the specified workstation

SEE ALSO

initialize locator, set locator mode, inquire locator device state, create store.


Previous Next Up Title Contents Index Functions Index Top Library