ps.c File Reference
#include "common.h"
#include <stdlib.h>
#include <ctype.h>
#include <string.h>
#include "bu/getopt.h"
#include "vmath.h"
#include "bn.h"
#include "./ged_private.h"
Include dependency graph for ps.c:

Go to the source code of this file.


int ged_ps (struct ged *gedp, int argc, const char *argv[])

Detailed Description

The ps command.

Definition in file ps.c.

Function Documentation

int ged_ps ( struct ged gedp,
int  argc,
const char *  argv[] 

Create a postscript file of the view.

Definition at line 45 of file ps.c.

References bu_getopt(), bu_optarg, bu_optind, bu_vls_addr(), bu_vls_free(), BU_VLS_INIT_ZERO, bu_vls_printf(), bu_vls_trunc(), dl_ps(), ged_drawable::gd_headDisplay, GED_CHECK_ARGC_GT_0, GED_CHECK_DATABASE_OPEN, GED_CHECK_DRAWABLE, GED_CHECK_VIEW, GED_ERROR, ged::ged_gdp, ged::ged_gvp, GED_HELP, GED_OK, ged::ged_result_str, bview::gv_eye_pos, bview::gv_model2view, bview::gv_perspective, NEAR_ZERO, PS_COLOR, and usage().

Here is the call graph for this function: