canvas-axonomgrid.h revision 045f63cbeb581c5d2d4fa35d45396a888ed28f89
#ifndef SP_CANVAS_AXONOMGRID_H
#define SP_CANVAS_AXONOMGRID_H
/*
* SPCAxonomGrid
*
* Generic (and quite unintelligent) modified copy of the grid item for gnome canvas
*
* Copyright (C) 2006 Johan Engelen <johan@shouraizou.nl>
* Copyright (C) 2000 Lauris Kaplinski 2000
*
*/
#include <display/sp-canvas.h>
#include <libnr/nr-coord.h>
#define SP_TYPE_CAXONOMGRID (sp_caxonomgrid_get_type ())
#define SP_CAXONOMGRID_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), SP_TYPE_CAXONOMGRID, SPCAxonomGridClass))
/** \brief All the variables that are tracked for a axonometric grid specific
canvas item. */
double lengthy; /**< The lengths of the primary y-axis */
bool scaled; /**< Whether the grid is in scaled mode */
double lyw; /**< Transformed length y by the affine for the zoom */
double lxw_x;
double lxw_z;
double spacing_ylines;
};
struct SPCAxonomGridClass {
};
/* Standard Gtk function */
GtkType sp_caxonomgrid_get_type (void);
#endif