X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=blobdiff_plain;f=include%2Fsgp.h;h=7189c96d84c70a963e18e940f3507a25dd2048a2;hp=32671396ac548bc61ca6690255fea66cfcaa0c68;hb=031437896d0dc6cac70c16e5604b10f5aa4d0767;hpb=c481fbf2890e6e3a0a5479a9e53e685634ce411a diff --git a/include/sgp.h b/include/sgp.h index 3267139..7189c96 100644 --- a/include/sgp.h +++ b/include/sgp.h @@ -2,26 +2,7 @@ ** This is part of the CTSim program ** Copyright (C) 1983-2000 Kevin Rosenberg ** -** $Id: sgp.h,v 1.7 2000/05/24 22:48:17 kevin Exp $ -** $Log: sgp.h,v $ -** Revision 1.7 2000/05/24 22:48:17 kevin -** First functional version of SDF library for X-window -** -** Revision 1.6 2000/05/11 14:07:00 kevin -** Added support for Windows NT -** -** Revision 1.5 2000/05/07 12:46:19 kevin -** made c++ compatible -** -** Revision 1.4 2000/04/30 19:17:35 kevin -** Set up include files for conditional INTERACTIVE_GRAPHICS -** -** Revision 1.3 2000/04/28 18:35:21 kevin -** removed unused files -** -** Revision 1.2 2000/04/28 14:14:16 kevin -** *** empty log message *** -** +** $Id: sgp.h,v 1.8 2000/06/13 16:20:31 kevin Exp $ ** ** This program is free software; you can redistribute it and/or modify ** it under the terms of the GNU General Public License (version 2) as @@ -56,11 +37,6 @@ #include "g2_X11.h" #endif -#ifdef __cplusplus -extern "C" { -#endif /* __cplusplus */ - - /* device names */ #define CRTDEV 1 @@ -193,11 +169,11 @@ struct point {double x, y, z;}; /*-------------------------------------------------------------------------*/ -/* circle.c */ +/* circle.cpp */ void sgp2_draw_circle(const double r); void sgp2_draw_arc(double start, double stop, const double r); -/* ctm.c */ +/* ctm.cpp */ void ctm_xlat_pre_2(double x, double y); void ctm_xlat_post_2(double x, double y); void ctm_scale_pre_2(double sx, double sy); @@ -215,10 +191,10 @@ void mult_gmtx_2(GRFMTX_2D a, GRFMTX_2D b, GRFMTX_2D c); void invert_gmtx_2(GRFMTX_2D a, GRFMTX_2D b); double determ_gmtx_2(GRFMTX_2D a); -/* drawbox.c */ +/* drawbox.cpp */ void sgp2_draw_rect (double xmin, double ymin, double xmax, double ymax); -/* sgp.c */ +/* sgp.cpp */ SGP_ID sgp2_init (int xsize, int ysize, const char *title); void sgp2_close (SGP_ID gid); void sgp2_set_active_win (SGP_ID); @@ -251,7 +227,7 @@ void ctm_set_2(GRFMTX_2D m); void ctm_pre_mult_2(GRFMTX_2D m); void ctm_post_mult_2(GRFMTX_2D m); -/* sgpdrive.c */ +/* sgpdrive.cpp */ int _sgp2_init_dev(SGP_ID gid); int initdevice(int dev, int mode, int xsize, int ysize); int opendevice(int dev); @@ -275,15 +251,11 @@ void _sgp2_dev_text(SGP_ID gid, char *message); void termgrf2(void); void flushdevice(int dev); -/* sgptext.c */ +/* sgptext.cpp */ void wrtsymbol(int sym, int x, int y, DEVICE *dev); void wrtchar(int ch, int x, int y, CHARSPEC *cspec, DEVICE *dev); void wrttext(char txtstr[], int x, int y, CHARSPEC *cspec, DEVICE *dev); void crtcolor(int mode, int *f, int *b); -#ifdef __cplusplus -} -#endif /* __cplusplus */ - #endif