/inkscape/src/widgets/ |
H A D | sp-xmlview-content.cpp | 32 void sp_xmlview_content_changed (GtkTextBuffer *tb, SPXMLViewContent *text); 46 GtkTextBuffer *tb = gtk_text_buffer_new(NULL); local 48 gtk_text_view_set_buffer (GTK_TEXT_VIEW (text), tb); local 51 g_signal_connect (G_OBJECT (tb), "changed", G_CALLBACK (sp_xmlview_content_changed), text); 137 sp_xmlview_content_changed (GtkTextBuffer *tb, SPXMLViewContent *text) argument 145 gtk_text_buffer_get_bounds (tb, &start, &end); 146 data = gtk_text_buffer_get_text (tb, &start, &end, TRUE);
|
H A D | paint-selector.cpp | 76 static void sp_paint_selector_style_button_toggled(GtkToggleButton *tb, SPPaintSelector *psel); 77 static void sp_paint_selector_fillrule_toggled(GtkToggleButton *tb, SPPaintSelector *psel); 348 sp_paint_selector_style_button_toggled(GtkToggleButton *tb, SPPaintSelector *psel) argument 350 if (!psel->update && gtk_toggle_button_get_active(tb)) { 351 psel->setMode(static_cast<SPPaintSelector::Mode>(GPOINTER_TO_UINT(g_object_get_data(G_OBJECT(tb), "mode")))); 356 sp_paint_selector_fillrule_toggled(GtkToggleButton *tb, SPPaintSelector *psel) argument 358 if (!psel->update && gtk_toggle_button_get_active(tb)) { 359 SPPaintSelector::FillRule fr = static_cast<SPPaintSelector::FillRule>(GPOINTER_TO_UINT(g_object_get_data(G_OBJECT(tb), "mode")));
|
H A D | stroke-style.cpp | 471 StrokeStyleButton *tb = new StrokeStyleButton(grp, icon, button_type, stroke_style); local 473 hb->pack_start(*tb, false, false, 0); 474 set_data(icon, tb); 476 tb->signal_toggled().connect(sigc::bind<StrokeStyleButton *, StrokeStyle *>( 477 sigc::ptr_fun(&StrokeStyle::buttonToggledCB), tb, this)); 479 return tb; 794 Gtk::RadioButton *tb = NULL; local 797 tb = joinMiter; 800 tb = joinRound; 803 tb 820 Gtk::RadioButton *tb = NULL; local 846 Gtk::RadioButton *tb = paintOrderFSM; local 1171 buttonToggledCB(StrokeStyleButton *tb, StrokeStyle *spw) argument [all...] |
H A D | toolbox.cpp | 995 static GtkWidget* toolboxNewCommon( GtkWidget* tb, BarId id, GtkPositionType /*handlePos*/ ) argument 997 g_object_set_data(G_OBJECT(tb), "desktop", NULL); 999 gtk_widget_set_sensitive(tb, FALSE); 1003 gtk_container_add(GTK_CONTAINER(hb), tb); local 1004 gtk_widget_show(GTK_WIDGET(tb)); 1018 GtkWidget *tb = gtk_box_new(GTK_ORIENTATION_VERTICAL, 0); local 1019 gtk_box_set_homogeneous(GTK_BOX(tb), FALSE); 1021 GtkWidget *tb = gtk_vbox_new(FALSE, 0); 1024 return toolboxNewCommon( tb, BAR_TOOL, GTK_POS_TOP ); 1030 GtkWidget *tb local 1046 GtkWidget *tb = gtk_box_new(GTK_ORIENTATION_VERTICAL, 0); local 1058 GtkWidget *tb = gtk_box_new(GTK_ORIENTATION_VERTICAL, 0); local [all...] |
/inkscape/src/2geom/ |
H A D | intersection.h | 54 Intersection(TA const &sa, TB const &sb, TimeA const &ta, TimeB const &tb) argument 56 , second(tb) 57 , _point(lerp(0.5, sa.pointAt(ta), sb.pointAt(tb))) 61 Intersection(TimeA const &ta, TimeB const &tb, Point const &p) argument 63 , second(tb)
|
H A D | crossing.h | 50 double ta, tb; //time on a and b of crossing member in struct:Geom::Crossing 52 Crossing() : dir(false), ta(0), tb(1), a(0), b(1) {} 53 Crossing(double t_a, double t_b, bool direction) : dir(direction), ta(t_a), tb(t_b), a(0), b(1) {} 54 Crossing(double t_a, double t_b, unsigned ai, unsigned bi, bool direction) : dir(direction), ta(t_a), tb(t_b), a(ai), b(bi) {} 55 bool operator==(const Crossing & other) const { return a == other.a && b == other.b && dir == other.dir && ta == other.ta && tb == other.tb; } 59 double getTime(unsigned cur) const { return a == cur ? ta : tb; } 60 double getOtherTime(unsigned cur) const { return a == cur ? tb : ta; } 106 return are_near(a.ta, b.ta) && are_near(a.tb, b.tb); [all...] |
H A D | toposweep.cpp | 185 double tb = section_root(b, ps, a.fp[1-dim], Dim2(1-dim)); local 187 if(tb == -1) tb = (b.t + b.f) / 2; 188 return section_order(a, a.f, b, tb); 443 other_splits.push_back(xs[j].tb);
|
/inkscape/src/libnrtype/ |
H A D | TextWrapper.cpp | 660 text_boundary const &tb = *reinterpret_cast<text_boundary const *>(b); local 661 if ( ta.uni_pos < tb.uni_pos ) return -1; 662 if ( ta.uni_pos > tb.uni_pos ) return 1; 664 if ( ta.start && !tb.start ) return -1; 665 if ( !ta.start && tb.start ) return 1;
|
/inkscape/src/ui/dialog/ |
H A D | clonetiler.cpp | 2686 void CloneTiler::clonetiler_checkbox_toggled(GtkToggleButton *tb, gpointer *data) argument 2690 prefs->setBool(prefs_path + attr, gtk_toggle_button_get_active(tb)); 2814 void CloneTiler::clonetiler_keep_bbox_toggled(GtkToggleButton *tb, gpointer /*data*/) argument 2817 prefs->setBool(prefs_path + "keepbbox", gtk_toggle_button_get_active(tb)); 2820 void CloneTiler::clonetiler_pick_to(GtkToggleButton *tb, gpointer data) argument 2824 prefs->setBool(prefs_path + pref, gtk_toggle_button_get_active(tb)); 2939 void CloneTiler::clonetiler_pick_switched(GtkToggleButton */*tb*/, gpointer data) 2947 void CloneTiler::clonetiler_switch_to_create(GtkToggleButton * /*tb*/, GtkWidget *dlg) 2964 void CloneTiler::clonetiler_switch_to_fill(GtkToggleButton * /*tb*/, GtkWidget *dlg) 3017 void CloneTiler::clonetiler_do_pick_toggled(GtkToggleButton *tb, GtkWidge argument [all...] |
/inkscape/ |
H A D | buildtool.cpp | 86 struct _timeb tb; local 91 _ftime (&tb); 92 tv->tv_sec = tb.time; 93 tv->tv_usec = tb.millitm * 1000 + 500;
|