shape.C File Reference

#include <gtk/gtk.h>
#include "config.h"
#include "gxsm/plugin.h"

Go to the source code of this file.

Classes

struct  dvec
struct  dseg

Functions

static void shape_init (void)
static void shape_about (void)
static void shape_configure (void)
static void shape_cleanup (void)
static gboolean shape_run (Scan *Src)
GxsmPluginget_gxsm_plugin_info (void)
GxsmMathOneSrcNoDestPluginget_gxsm_math_one_src_no_dest_plugin_info (void)
void intersection (dseg *s1, dseg *s2, dvec &p)

Variables

GxsmPlugin shape_pi
GxsmMathOneSrcNoDestPlugin shape_m1s_pi
static const char * about_text


Function Documentation

GxsmMathOneSrcNoDestPlugin* get_gxsm_math_one_src_no_dest_plugin_info void   ) 
 

Definition at line 191 of file shape.C.

References shape_m1s_pi.

GxsmPlugin* get_gxsm_plugin_info void   ) 
 

Definition at line 183 of file shape.C.

References GxsmPlugin::description, N_, shape_pi, and VERSION.

void intersection dseg s1,
dseg s2,
dvec p
 

Definition at line 236 of file shape.C.

static void shape_about void   )  [static]
 

Definition at line 203 of file shape.C.

References about_text, GxsmPlugin::authors, N_, GxsmPlugin::name, shape_pi, and VERSION.

static void shape_cleanup void   )  [static]
 

Definition at line 223 of file shape.C.

References DBG_L2, and PI_DEBUG.

static void shape_configure void   )  [static]
 

Definition at line 216 of file shape.C.

References GxsmPlugin::app, GnomeAppService::message(), and shape_pi.

static void shape_init void   )  [static]
 

Definition at line 197 of file shape.C.

References DBG_L2, and PI_DEBUG.

static gboolean shape_run Scan Src  )  [static]
 

Definition at line 244 of file shape.C.

References Scan::get_object_data(), MATH_OK, MATH_SELECTIONERR, Scan::number_of_object(), Scan::World2Pixel(), dvec::x, Point2D::x, dvec::y, and Point2D::y.


Variable Documentation

const char* about_text [static]
 

Initial value:

 N_("Gxsm shape Plugin\n\n"
                                   "shape")

Definition at line 178 of file shape.C.

GxsmMathOneSrcNoDestPlugin shape_m1s_pi
 

Initial value:

 {
   
   shape_run
 }

Definition at line 172 of file shape.C.

Referenced by get_gxsm_math_one_src_no_dest_plugin_info().

GxsmPlugin shape_pi
 

Definition at line 115 of file shape.C.

Referenced by get_gxsm_plugin_info(), shape_about(), and shape_configure().


Generated on Sat Apr 1 09:04:49 2006 for GXSM by  doxygen 1.4.6