BRL-CAD
size.c File Reference
#include "common.h"
#include <stdlib.h>
#include <ctype.h>
#include <string.h>
#include "./ged_private.h"
Include dependency graph for size.c:

Go to the source code of this file.

Functions

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

Detailed Description

The size command.

Definition in file size.c.

Function Documentation

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

Get or set the view size.

Definition at line 36 of file size.c.

References bu_vls_printf(), bu_vls_trunc(), db_i::dbi_base2local, db_i::dbi_local2base, rt_wdb::dbip, GED_CHECK_ARGC_GT_0, GED_CHECK_DATABASE_OPEN, GED_CHECK_VIEW, GED_ERROR, ged::ged_gvp, GED_OK, ged::ged_result_str, ged_view_update(), ged::ged_wdbp, bview::gv_isize, bview::gv_scale, bview::gv_size, RT_MINVIEWSIZE, usage(), and ZERO.

Referenced by ged_view_func().

Here is the call graph for this function: