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

pencil-context.cpp File Reference


Detailed Description

Pencil event context implementation.

Definition in file pencil-context.cpp.

#include <gdk/gdkkeysyms.h>
#include "pencil-context.h"
#include "desktop.h"
#include "desktop-handles.h"
#include "selection.h"
#include "selection-chemistry.h"
#include "draw-anchor.h"
#include "message-stack.h"
#include "message-context.h"
#include "modifier-fns.h"
#include "sp-path.h"
#include "prefs-utils.h"
#include "snap.h"
#include "pixmaps/cursor-pencil.xpm"
#include "display/bezier-utils.h"
#include "display/canvas-bpath.h"
#include <glibmm/i18n.h>
#include "libnr/in-svg-plane.h"
#include "libnr/n-art-bpath.h"
#include "context-fns.h"
#include "sp-namedview.h"
#include "xml/repr.h"
#include "document.h"
#include "desktop-style.h"
#include "macros.h"

Go to the source code of this file.

Functions

static void fit_and_split (SPPencilContext *pc)
static void pencil_cancel (SPPencilContext *const pc)
static gint pencil_handle_button_press (SPPencilContext *const pc, GdkEventButton const &bevent)
static gint pencil_handle_button_release (SPPencilContext *const pc, GdkEventButton const &revent)
static gint pencil_handle_key_press (SPPencilContext *const pc, guint const keyval, guint const state)
static gint pencil_handle_motion_notify (SPPencilContext *const pc, GdkEventMotion const &mevent)
static void sp_pencil_context_class_init (SPPencilContextClass *klass)
static void sp_pencil_context_dispose (GObject *object)
GType sp_pencil_context_get_type ()
static void sp_pencil_context_init (SPPencilContext *pc)
static gint sp_pencil_context_root_handler (SPEventContext *event_context, GdkEvent *event)
static void sp_pencil_context_setup (SPEventContext *ec)
static void spdc_add_freehand_point (SPPencilContext *pc, NR::Point p, guint state)
static void spdc_endpoint_snap (SPPencilContext const *pc, NR::Point &p, guint const state)
static void spdc_finish_endpoint (SPPencilContext *pc)
static void spdc_set_endpoint (SPPencilContext *pc, NR::Point const p)
static void spdc_set_startpoint (SPPencilContext *pc, NR::Point const p)
static double square (double const x)

Variables

static SPDrawContextClass * pencil_parent_class


Generated by  Doxygen 1.6.0   Back to index