saverdsfig.3alc - Man Page
save a physical figure on disk.
Synopsis
#include "rtlnnn.h" void saverdsfig( Figure ) rdsfig_list ∗Figure;
Parameter
- Figure
Pointer to the RDS Figure to save.
Description
The saverdsfig function writes on disk the contents of the figure pointer to by rdsfig_list. The savephfig function in fact performs a call to a driver, chosen by the RDS_OUT environment variable.
Return Value
none
Errors
"Rtl103.h: Unknown rds output format"
The output format defined by the unix environment variable RDS_OUT is not supported by the driver (supported formats are "cif" and "gds").
Other errors can appear because the saverdsfig function calls cif and gds drivers.
Example
#include "mutnnn.h"
#include "rdsnnn.h"
#include "rtlnnn.h"
main()
{
rdsfig_list ∗RdsFigure;
mbkenv();
rdsenv();
loadrdsparam();
loadrdsfig( RdsFigure, "core", 'A');
RdsFigure->NAME = namealloc ( "core_2" );
/∗ ∗/ saverdsfig ( RdsFigure );
}
See Also
librtl, loadrdsfig, rdsenv, getrdsfig, RDS_OUT