how.c File Reference
#include "common.h"
#include <stdlib.h>
#include <string.h>
#include "bu/cmd.h"
#include "./ged_private.h"
Include dependency graph for how.c:

Go to the source code of this file.


int ged_how (struct ged *gedp, int argc, const char *argv[])
struct directory ** _ged_build_dpp (struct ged *gedp, const char *path)

Detailed Description

The how command.

Definition in file how.c.

Function Documentation

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

Returns how an object is being displayed

Definition at line 45 of file how.c.

References _ged_build_dpp(), OSL::Strings::both, bu_free(), bu_vls_printf(), bu_vls_trunc(), dl_how(), ged_drawable::gd_headDisplay, GED_CHECK_ARGC_GT_0, GED_CHECK_DATABASE_OPEN, GED_CHECK_DRAWABLE, GED_ERROR, ged::ged_gdp, GED_HELP, GED_OK, ged::ged_result_str, and usage().

Referenced by redraw_edited_path(), and to_mouse_joint_selection_translate().

Here is the call graph for this function:

struct directory** _ged_build_dpp ( struct ged gedp,
const char *  path 

Definition at line 96 of file how.c.

References brlcad_interp, bu_calloc(), bu_free(), bu_vls_addr(), bu_vls_free(), BU_VLS_INIT_ZERO, bu_vls_printf(), db_lookup(), rt_wdb::dbip, ged::ged_result_str, ged::ged_wdbp, RT_DIR_NULL, strchr(), and strdup().

Referenced by ged_how(), and ged_set_transparency().

Here is the call graph for this function: