wn_window_world_to_pixel_coordinate_c

	status.i4.v = wn_window_world_to_pixel_coordinate_c(plane.i4.v,
							    world_coord.r4.v,
							    pixel_coord.i4.r
							    [,pixel_coord_max.i4.r]
							    [,window_id.i4.v])

	This routine returns pixel coordinates relative to a window.

	plane		  (WN_HORZ -> horizontal,
			   WN_VERT -> vertical)
	world_coord	  window world coordinate
	pixel_coord	  returned relative pixel coordinate in pixels
	[pixel_coord_max] returned relative pixel coordinate in pixels
			  (relative to the window maximum coordinate)
			  (default is NULL)
	[window_id]	  reference window ID
			  (default is CLIB_DEFAULT_ARG which will result in
			   the active window being used)

	This function returns ACNET status values as follows:

	OK			success
	CBS_NOINIT		active window requested but no active
				window established
	CBS_INVID		requested window does not exist
	CBS_INVARG		invalid plane value passed

	This function requires the following include files:

	cbslib_h, acnet_errors_h

	Related functions:

	wn_active(_c), wn_get_active, wn_getscrn(_c), wn_getworld(_c),
	wn_cursor_pixel_position_c, wn_cursor_update_pixel,
	wn_cursor_init_pixel_c, intro_graphics_windows

	C/C++ usage:

	int	status;
	int	plane = WN_HORZ;
	int	pixel_coord;
	int	pixel_coord_max;
	int	window_id = CLIB_DEFAULT_ARG;
	float	world_coord = WORLD_COORD;

	status = wn_window_world_to_pixel_coordinate_c(plane,world_coord,
						       &pixel_coord,
						       &pixel_coord_max,
						       window_id);