NhlDraw

The Fortran name of this function is NhlFDraw.

This function is used to make an HLU graphical object draw.


C synopsis

#include <ncarg/hlu/hlu.h>

NhlErrorTypes NhlDraw(
		int		obj_id
		)

Fortran synopsis

      subroutine NhlFDraw(obj_id, ierr)
      integer obj_id, ierr

Arguments

obj_id (input)
Identifies the HLU object to draw. Returned from the NhlCreate function.
ierr (output, Fortran only)
Error code.

Types

Type name:		NhlTErrorTypes
Definition:
typedef enum _NhlErrType{
	NhlFATAL	= -4,	/* "FATAL"	*/
	NhlWARNING	= -3,	/* "WARNING"	*/
	NhlINFO		= -2,	/* "INFO"	*/
	NhlNOERROR	= -1	/* "NOERROR"	*/
} NhlErrorTypes;

Description

The NhlDraw function simply draws the object specified by the obj_id argument. The object draws to the device that is managed by its Workstation parent. If the object is a Workstation class object, then all the Workstation's child objects are drawn on the device managed by the Workstation object.

Return values

The NhlDraw C function returns a value of type NhlErrorTypes, and the NhlFDraw Fortran subroutine returns the error in ierr. The following table indicates what the return error values mean:
Value	|			Meaning
--------+-------------------------------------------------
NOERROR	|	Object was drawn with no errors.
--------+-------------------------------------------------
INFO	|	Object was drawn, but there was some
	|	recoverable error.
--------+-------------------------------------------------
WARNING	|	Object was drawn, but the output may not
	|	be correct.
--------+-------------------------------------------------
FATAL	|	The function was unable to draw the
	|	object. Either the object is not in a
	|	drawable state, or the object is not
	|	a graphical object.

See also


Copyright

Copyright 1987-1999 University Corporation for Atmospheric Research
The use of this Software is governed by a License Agreement.

NCAR Graphics is a registered trademark of the University Corporation for Atmospheric Research.

Reference Manual Control Panel

NG4.1 Home, Index, Examples, Glossary, Feedback, Ref Contents, Ref WhereAmI?


$Revision: 1.13 $ $Date: 1998/06/15 21:26:10 $