Logo Search packages:      
Sourcecode: inkscape version File versions  Download package

Namespaces | Defines | Functions | Variables

canvas-grid.cpp File Reference

Cartesian grid implementation. More...

#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"
Include dependency graph for canvas-grid.cpp:

Go to the source code of this file.

Namespaces

namespace  Inkscape
 

Main Inkscape namespace.


Defines

#define INKSCAPE_CANVAS_GRID_C
#define SPACE_SIZE_X   15
#define SPACE_SIZE_Y   10

Functions

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)

Variables

static
Inkscape::XML::NodeEventVector
const 
Inkscape::_repr_events
static gchar const *const Inkscape::grid_name []
static gchar const *const Inkscape::grid_svgname []
static SPCanvasItemClassInkscape::parent_class

Detailed Description

Cartesian grid implementation.

Definition in file canvas-grid.cpp.


Generated by  Doxygen 1.6.0   Back to index