axes.c

来自「卫星仿真软件 卫星仿真软件 卫星仿真软件」· C语言 代码 · 共 65 行

C
65
字号
/* ***************************************************** * *  SaVi by Robert Thurman (thurman@geom.umn.edu) and *          Patrick Worfolk (worfolk@alum.mit.edu). * *  Copyright (c) 1997 by The Geometry Center. *  This file is part of SaVi.  SaVi is free software; *  you can redistribute it and/or modify it only under *  the terms given in the file COPYRIGHT which you should *  have received along with this file.  SaVi may be *  obtained from: *  http://savi.sourceforge.net/ *  http://www.geom.uiuc.edu/locate/SaVi * ***************************************************** * * axes.c * * $Id: axes.c,v 1.8 2005/02/01 22:30:24 lloydwood Exp $ */#include <stdlib.h>#include "constants.h"#include "gv_utils.h"#include "globals.h"#include "savi.h"static unsigned int axes_geom_exists = FALSE;/* * axes_on_cmd * * Display axes in geomview */char *axes_on_cmd(int argc, char *argv[]){  if (axes_geom_exists)    return EMPTY_str;  axes_geom_exists = TRUE;  gv_create_geomh("Axes", "axes_h");  return EMPTY_str;}/* * axes_off_cmd * * Deletes axes in Geomview */char *axes_off_cmd(int argc, char *argv[]){  if (!axes_geom_exists)    return EMPTY_str;  axes_geom_exists = FALSE;  gv_delete_geom("Axes");  return EMPTY_str;}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?