wn_calculate_dialog_coordinates_c

	status.i4.v = wn_calculate_dialog_coordinates_c(x.r8.v, y.r8.v,
							coordinate_type.i4.v,
							screen_x.i4.r,
							screen_y.i4.r)

	This routine calculates the desired coordinates for a graphic screen
	dialog window.

	x		x location of the upper left hand corner of the
			window relative to the parent graphic window
	y		y location of the upper left hand corner of the
			window relative to the parent graphic window
	coordinate_type	type of coordinate values passed
			(WN_WORLD_COORDS -> normal window world coordinates,
			 WN_PIXEL_COORDS -> raw pixel coordinates)
	screen_x	returned pixel x coordinate
	screen_y	returned pixel y coordinate

	This function returns ACNET status values as follows:

	OK			success
	CBS_RANGE		world_coord is not within the limits of
				the active window or it is invalid for
				the scaling of the active window
	CBS_INVALID_DATA	scaling of data resulted in a floating
				point overflow

	This function requires the following include files:

	cbslib_h, acnet_errors_h

	Related functions:

	wn_tv_map_c, wn_tv_unmap, wn_prepare_dialog_window_c,
	wn_decide_multiple_c, wn_acknowledge_c, wn_inptxt_c,
	wn_input_string_dialog_c, wn_switch_create_c,
	wn_select_field_init_c, wn_select_field_delete_c,
	wn_select_field_register_c, wn_select_field_read_c,
	wn_select_field_set_c, wn_select_field_set_by_value_c,
	wn_select_field_enable_c, wn_select_field_disable_c,
	wn_select_field_text_to_id_c, wn_select_field_display_info_c

	C/C++ usage:

	int	status;
	int	coordinate_type = WN_PIXEL_COORDS;
	int	screen_x;
	int	screen_y;
	double	x = X_COORD;
	double	y = Y_COORD;

	status = wn_calculate_dialog_coordinates_c(x,y,coordinate_type,
						   &screen_x,&screen_y);