BRL-CAD
zoom.c File Reference
#include "common.h"
#include "ged.h"
Include dependency graph for zoom.c:

Go to the source code of this file.

Functions

HIDDEN int zoom (struct ged *gedp, double sf)
 
int ged_zoom (struct ged *gedp, int argc, const char *argv[])
 
HIDDEN int zoom_load (struct ged *gedp)
 
HIDDEN void zoom_unload (struct ged *gedp)
 
const struct ged_cmdzoom_cmd (void)
 

Function Documentation

HIDDEN int zoom ( struct ged gedp,
double  sf 
)

Definition at line 26 of file zoom.c.

References ged::ged_gvp, GED_OK, ged_view_update(), bview::gv_isize, bview::gv_scale, bview::gv_size, and RT_MINVIEWSCALE.

Referenced by ged_pix2fb(), and ged_zoom().

Here is the call graph for this function:

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

Zoom the view in or out.

Definition at line 40 of file zoom.c.

References bu_vls_printf(), bu_vls_trunc(), GED_CHECK_ARGC_GT_0, GED_CHECK_VIEW, GED_ERROR, GED_HELP, ged::ged_result_str, and zoom().

Referenced by to_mouse_scale(), and zoom_cmd().

Here is the call graph for this function:

HIDDEN int zoom_load ( struct ged gedp)

Definition at line 69 of file zoom.c.

References ged::add, and zoom_cmd().

Referenced by zoom_cmd().

Here is the call graph for this function:

HIDDEN void zoom_unload ( struct ged gedp)

Definition at line 79 of file zoom.c.

References ged::del.

Referenced by zoom_cmd().

const struct ged_cmd* zoom_cmd ( void  )

Definition at line 86 of file zoom.c.

References BU_LIST_INIT_ZERO, BU_LIST_MAGIC_SET, GED_CMD_MAGIC, ged_zoom(), ged_cmd::l, zoom_load(), and zoom_unload().

Referenced by zoom_load().

Here is the call graph for this function: