Searched refs:context (Results 1 - 25 of 33) sorted by relevance

12

/inkscape/src/
H A Dmain-cmdlineact.h32 void doIt (ActionContext const & context);
34 static bool doList (ActionContext const & context);
H A Dmain-cmdlineact.cpp13 #include <helper/action-context.h>
44 CmdLineAction::doIt (ActionContext const & context) { argument
52 SPAction * action = verb->get_action(context);
55 if (context.getDocument() == NULL || context.getSelection() == NULL) { return; }
57 SPDocument * doc = context.getDocument();
64 Inkscape::Selection * selection = context.getSelection();
71 CmdLineAction::doList (ActionContext const & context) { argument
76 entry->doIt(context);
H A Dverbs.cpp52 #include "helper/action-context.h"
129 virtual SPAction *make_action(Inkscape::ActionContext const & context);
148 virtual SPAction *make_action(Inkscape::ActionContext const & context);
167 virtual SPAction *make_action(Inkscape::ActionContext const & context);
186 virtual SPAction *make_action(Inkscape::ActionContext const & context);
205 virtual SPAction *make_action(Inkscape::ActionContext const & context);
224 virtual SPAction *make_action(Inkscape::ActionContext const & context);
237 * A class to encompass all of the verbs which deal with operations relative to context.
243 virtual SPAction *make_action(Inkscape::ActionContext const & context);
262 virtual SPAction *make_action(Inkscape::ActionContext const & context);
422 make_action(Inkscape::ActionContext const & context) argument
436 make_action(Inkscape::ActionContext const & context) argument
450 make_action(Inkscape::ActionContext const & context) argument
463 make_action(Inkscape::ActionContext const & context) argument
476 make_action(Inkscape::ActionContext const & context) argument
489 make_action(Inkscape::ActionContext const & context) argument
502 make_action(Inkscape::ActionContext const & context) argument
515 make_action(Inkscape::ActionContext const & context) argument
528 make_action(Inkscape::ActionContext const & context) argument
541 make_action(Inkscape::ActionContext const & context) argument
554 make_action(Inkscape::ActionContext const & context) argument
567 make_action(Inkscape::ActionContext const & context) argument
587 make_action_helper(Inkscape::ActionContext const & context, void (*perform_fun)(SPAction *, void *), void *in_pntr) argument
627 get_action(Inkscape::ActionContext const & context) argument
2248 make_action(Inkscape::ActionContext const & context) argument
2311 make_action(Inkscape::ActionContext const & context) argument
2377 make_action(Inkscape::ActionContext const & context) argument
[all...]
H A Dprint.cpp98 SPPrintContext context; local
105 context.module = mod;
115 (mod->base)->invoke_print(&context);
H A Dverbs.h503 SPAction *make_action_helper (Inkscape::ActionContext const & context, void (*perform_fun)(SPAction *, void *), void *in_pntr = NULL);
504 virtual SPAction *make_action (Inkscape::ActionContext const & context);
552 SPAction * get_action(Inkscape::ActionContext const & context);
/inkscape/src/helper/
H A Daction.cpp45 action->context = Inkscape::ActionContext();
80 sp_action_new(Inkscape::ActionContext const &context, argument
89 action->context = context;
115 SPDocument *document = action->context.getDocument();
181 return action->context.getDocument();
191 return action->context.getSelection();
201 return action->context.getView();
H A Daction.h15 #include "helper/action-context.h"
44 Inkscape::ActionContext context; /**< The context (doc/view) to which this action is attached */ member in struct:SPAction
64 SPAction *sp_action_new(Inkscape::ActionContext const &context,
/inkscape/src/extension/internal/
H A Dlatex-pstricks-out.cpp51 SPPrintContext context; local
60 context.module = mod;
69 (mod->base)->invoke_print(&context);
/inkscape/src/2geom/
H A Dtoposweep.cpp284 3) sort these lexicographically, process them in order, grouping other sections in the context, and constructing a vertex in one fell swoop.
285 4) add our section into context, splitting on intersections
358 std::vector<Context> context; local
375 for(unsigned j = 0; j < context.size(); j++) {
381 for(int i = context.size() - 1; i >= 0; i--) {
382 boost::shared_ptr<Section> sec = context[i].section;
385 if(context[i].to_vert == -1) {
391 for(unsigned j = 0; j < context.size(); j++) {
392 modify_windings(windings, context[j].section, d);
393 if(are_near(sec->tp, context[
[all...]
/inkscape/src/libcroco/
H A Dcr-doc-handler.c40 *This pointer is to hold an application parsing context.
42 *store it parsing context. #CRParser does not touch it, but
47 gpointer context; member in struct:_CRDocHandlerPriv
96 *@a_ctxt: out parameter. The new parsing context.
98 *Gets the private parsing context associated to the document handler
99 *The private parsing context is used by libcroco only.
108 *a_ctxt = a_this->priv->context;
116 *@a_ctxt: a pointer to the parsing context.
118 *Sets the private parsing context.
126 a_this->priv->context
[all...]
/inkscape/share/extensions/
H A Dvoronoi.py177 def voronoi(siteList,context):
183 context.outSite(bottomsite)
192 context.outSite(newsite)
202 context.outBisector(edge)
249 context.outTriple(bot,top,mid)
255 context.outVertex(v)
259 context.outEdge(lbnd.edge)
262 context.outEdge(rbnd.edge)
282 context.outBisector(edge)
293 context
[all...]
/inkscape/src/widgets/
H A Dbutton.cpp18 #include "helper/action-context.h"
107 GtkStyleContext *context = gtk_widget_get_style_context (widget); local
111 gtk_style_context_get_padding(context, GTK_STATE_FLAG_NORMAL, &padding);
112 gtk_style_context_get_border( context, GTK_STATE_FLAG_NORMAL, &border );
129 GtkStyleContext *context = gtk_widget_get_style_context (widget); local
133 gtk_style_context_get_padding(context, GTK_STATE_FLAG_NORMAL, &padding);
134 gtk_style_context_get_border( context, GTK_STATE_FLAG_NORMAL, &border );
H A Deek-preview.cpp275 GtkStyleContext *context = gtk_widget_get_style_context(widget); local
277 gtk_render_frame(context,
282 gtk_render_background(context,
381 gtk_render_arrow(context,
411 gtk_render_arrow(context,
441 gtk_render_arrow(context,
473 gtk_render_check(context,
500 gtk_render_check(context,
523 gtk_render_focus(context,
H A Druler.cpp603 GtkStyleContext *context = gtk_widget_get_style_context (widget); local
606 gtk_style_context_get_border (context, static_cast<GtkStateFlags>(0), &border);
753 GtkStyleContext *context = gtk_widget_get_style_context (widget); local
771 gtk_style_context_get_color (context, gtk_widget_get_state_flags (widget),
1116 GtkStyleContext *context = gtk_widget_get_style_context (widget); local
1154 gtk_style_context_get_border (context, static_cast<GtkStateFlags>(0), &border);
1188 gtk_render_background (context, cr, 0, 0, allocation.width, allocation.height);
1189 gtk_render_frame (context, cr, 0, 0, allocation.width, allocation.height);
1191 gtk_style_context_get_color (context, gtk_widget_get_state_flags (widget),
1427 GtkStyleContext *context local
[all...]
/inkscape/src/ui/dialog/
H A Dfiledialogimpl-win32.cpp51 #include <cairomm/context.h>
1406 Cairo::RefPtr<Context> context = Context::create(surface); local
1410 context->set_source_rgb(
1414 context->paint();
1424 context->set_source(leftEdgeFade);
1425 context->rectangle (x, frameY + shaddowOffsetY + halfBlurRadius,
1427 context->fill();
1435 context->set_source(rightEdgeFade);
1436 context->rectangle (frameX + frameWidth + shaddowOffsetX - halfBlurRadius,
1439 context
[all...]
H A Dprint.cpp27 #include "extension/internal/cairo-render-context.h"
46 GtkPrintContext *context,
87 //context->set_cairo_context ( Cairo::Context::create (Cairo::ImageSurface::create_from_png (tmp_png) ), dpi, dpi );
92 //context->get_cairo_context ()->set_source_surface(Cairo::ImageSurface::create_from_png (tmp_png) );
97 cairo_t *cr = gtk_print_context_get_cairo_context (context);
125 cairo_t *cr = gtk_print_context_get_cairo_context (context);
159 GtkPrintContext */*context*/,
40 draw_page( GtkPrintOperation *operation, GtkPrintContext *context, gint , gpointer user_data) argument
H A Dsymbols.h81 void iconDragDataGet(const Glib::RefPtr<Gdk::DragContext>& context, Gtk::SelectionData& selection_data, guint info, guint time);
H A Dlayers.h73 bool _handleDragDrop(const Glib::RefPtr<Gdk::DragContext>& context, int x, int y, guint time);
/inkscape/src/trace/
H A Dsiox.h391 SioxObserver(void *contextArg) : context(NULL)
392 { context = contextArg; }
419 void *context; member in class:org::siox::SioxObserver
/inkscape/src/ui/widget/
H A Dgimpspinscale.c304 PangoContext *context = gtk_widget_get_pango_context (widget); local
311 metrics = pango_context_get_metrics (context,
312 pango_context_get_font_description (context),
313 pango_context_get_language (context));
338 PangoContext *context = gtk_widget_get_pango_context (widget); local
346 metrics = pango_context_get_metrics (context,
347 pango_context_get_font_description (context),
348 pango_context_get_language (context));
365 PangoContext *context = gtk_widget_get_pango_context (widget); local
371 metrics = pango_context_get_metrics (context, styl
[all...]
H A Dgimpcolorwheel.c1031 GtkStyleContext *context; local
1184 context = gtk_widget_get_style_context (widget);
1186 gtk_style_context_save (context);
1192 gtk_style_context_add_class (context, "light-area-focus");
1201 gtk_style_context_add_class (context, "dark-area-focus");
1228 gtk_render_focus (context, cr,
1247 gtk_style_context_restore (context);
1267 GtkStyleContext *context = gtk_widget_get_style_context (widget); local
1269 gtk_render_focus (context, cr, 0, 0,
/inkscape/src/extension/
H A Deffect.h61 virtual SPAction * make_action (Inkscape::ActionContext const & context);
H A Deffect.cpp364 Effect::EffectVerb::make_action (Inkscape::ActionContext const & context) argument
366 return make_action_helper(context, &perform, static_cast<void *>(this));
/inkscape/src/xml/
H A Drepr-io.cpp72 static char * sp_wmf_image_name (void * context);
109 static int readCb( void * context, char * buffer, int len );
110 static int closeCb( void * context );
238 int XmlSource::readCb( void * context, char * buffer, int len ) argument
242 if ( context ) {
243 XmlSource* self = static_cast<XmlSource*>(context);
249 int XmlSource::closeCb(void * context) argument
251 if ( context ) {
252 XmlSource* self = static_cast<XmlSource*>(context);
/inkscape/share/extensions/ink2canvas/
H A Dcanvas.py25 def __init__(self, parent, width, height, context = "ctx"):
26 self.obj = context

Completed in 3865 milliseconds

12