Searched defs:context (Results 1 - 24 of 24) sorted by relevance

/inkscape/src/extension/internal/
H A Dlatex-pstricks-out.cpp51 SPPrintContext context; local
60 context.module = mod;
69 (mod->base)->invoke_print(&context);
H A Dwmf-inout.cpp95 SPPrintContext context; local
107 context.module = mod;
120 mod->base->invoke_print(&context);
H A Demf-inout.cpp93 SPPrintContext context; local
106 context.module = mod;
120 mod->base->invoke_print(&context);
/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/src/
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 Dprint.cpp98 SPPrintContext context; local
105 context.module = mod;
115 (mod->base)->invoke_print(&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...]
/inkscape/src/helper/
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,
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();
/inkscape/src/ui/dialog/
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 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 Dfilter-effects-dialog.cpp1528 bool FilterEffectsDialog::FilterModifier::on_filter_move(const Glib::RefPtr<Gdk::DragContext>& /*context*/, int /*x*/, int /*y*/, guint /*time*/) {
1826 // Sets up a vertical Pango context/layout, and returns the largest
1830 // Set up a vertical context+layout
1831 Glib::RefPtr<Pango::Context> context = create_pango_context(); local
1833 context->set_matrix(matrix);
1834 _vertical_layout = Pango::Layout::create(context);
/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/extension/
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/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 Dimage-menu-item.c522 GtkStyleContext *context; local
544 context = gtk_widget_get_style_context (widget);
546 gtk_style_context_get_padding (context, state, &padding);
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 Dsp-xmlview-tree.cpp55 void on_drag_data_received(GtkWidget *wgt, GdkDragContext *context, int x, int y, GtkSelectionData *seldata, guint info, guint time, gpointer userdata);
56 gboolean do_drag_motion(GtkWidget *widget, GdkDragContext *context, gint x, gint y, guint time, gpointer user_data);
353 void on_drag_data_received(GtkWidget * /*wgt*/, GdkDragContext * /*context*/, int /*x*/, int /*y*/,
558 gboolean do_drag_motion(GtkWidget *widget, GdkDragContext *context, gint x, gint y, guint time, gpointer user_data) argument
588 gdk_drag_status (context, (GdkDragAction)action, time);
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...]
H A Ddesktop-widget.cpp45 #include "helper/action-context.h"
408 Glib::RefPtr<Gtk::StyleContext> context = wnd->get_style_context(); local
409 context->add_provider(guides_lock_style_provider, GTK_STYLE_PROVIDER_PRIORITY_APPLICATION);
/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/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/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);

Completed in 2085 milliseconds