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
Identifies the HLU object to draw. Returned from the NhlCreate function.
ierr (Fortran only)
Error code.

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,1988,1989,1991,1993,1994,1995
University Corporation for Atmospheric Research
All Rights Reserved

Reference Manual Control Panel

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


$Revision: 1.10 $ $Date: 1995/07/26 23:27:37 $