Logo Search packages:      
Sourcecode: inkscape version File versions

canvas-grid.cpp File Reference

Detailed Description

Cartesian grid implementation.

Definition in file canvas-grid.cpp.

#include "sp-canvas-util.h"
#include "util/mathfns.h"
#include "display-forward.h"
#include <libnr/nr-pixops.h>
#include "desktop-handles.h"
#include "helper/units.h"
#include "svg/svg-color.h"
#include "xml/node-event-vector.h"
#include "sp-object.h"
#include "sp-namedview.h"
#include "inkscape.h"
#include "desktop.h"
#include "../document.h"
#include "preferences.h"
#include "canvas-grid.h"
#include "canvas-axonomgrid.h"

Go to the source code of this file.


namespace  Inkscape


#define SPACE_SIZE_X   15
#define SPACE_SIZE_Y   10


static void Inkscape::attach_all (Gtk::Table &table, Gtk::Widget const *const arr[], unsigned size, int start=0)
static void Inkscape::grid_canvasitem_class_init (GridCanvasItemClass *klass)
static void Inkscape::grid_canvasitem_destroy (GtkObject *object)
GtkType Inkscape::grid_canvasitem_get_type (void)
static void Inkscape::grid_canvasitem_init (GridCanvasItem *grid)
static void Inkscape::grid_canvasitem_render (SPCanvasItem *item, SPCanvasBuf *buf)
static void Inkscape::grid_canvasitem_update (SPCanvasItem *item, Geom::Matrix const &affine, unsigned int flags)
static void Inkscape::grid_dot (SPCanvasBuf *buf, gint x, gint y, guint32 rgba)
static void Inkscape::grid_hline (SPCanvasBuf *buf, gint y, gint xs, gint xe, guint32 rgba)
static void Inkscape::grid_vline (SPCanvasBuf *buf, gint x, gint ys, gint ye, guint32 rgba)
static gboolean Inkscape::sp_nv_read_length (gchar const *str, guint base, gdouble *val, SPUnit const **unit)
static gboolean Inkscape::sp_nv_read_opacity (gchar const *str, guint32 *color)
static void Inkscape::validateInt (gint oldVal, gint *pTarget)
static void Inkscape::validateScalar (double oldVal, double *pTarget)

Generated by  Doxygen 1.6.0   Back to index