/inkscape/src/ |
H A D | extract-uri.cpp | 16 gchar const *sb = s; local 17 if ( strlen(sb) < 4 || strncmp(sb, "url", 3) != 0 ) { 21 sb += 3; 29 while ( ( *sb == ' ' ) || 30 ( *sb == '\t' ) ) 32 sb++; 35 if ( *sb == '(' ) { 36 sb++; 37 while ( ( *sb [all...] |
H A D | inkscape.cpp | 281 struct stat sb; local 292 if ( g_stat(full_path, &sb) != -1 ) { 293 if ( difftime(sb.st_ctime, min_time) < 0 || min_time == 0 ){ 294 min_time = sb.st_ctime;
|
/inkscape/src/2geom/ |
H A D | sbasis-poly.cpp | 29 Poly sbasis_to_poly(SBasis const & sb) { argument 30 if(sb.isZero()) 41 for(int i = sb.size()-1; i >= 0; i--) { 42 r = S*r + sb[i][0]*A + sb[i][1]*B;
|
H A D | intersection.h | 54 Intersection(TA const &sa, TB const &sb, TimeA const &ta, TimeB const &tb) argument 57 , _point(lerp(0.5, sa.pointAt(ta), sb.pointAt(tb)))
|
H A D | sbasis-curve.h | 85 explicit SBasisCurve(D2<SBasis> const &sb) : inner(sb) {} argument
|
H A D | sbasis-to-bezier.cpp | 101 void sbasis_to_bezier (Bezier & bz, SBasis const& sb, size_t sz) argument 103 assert(sb.size() > 0); 109 q = sb.size(); 110 if (sb[q-1][0] == sb[q-1][1]) 124 q = (sz > 2*sb.size()-1) ? sb.size() : (sz+1)/2; 136 bz[j] += (Tjk * sb[k][0]); 137 bz[n-j] += (Tjk * sb[k][1]); // n-k <-> [k][1] 142 bz[q] += sb[ 154 sbasis_to_bezier(D2<Bezier> &bz, D2<SBasis> const &sb, size_t sz) argument 169 sbasis_to_bezier(std::vector<Point> & bz, D2<SBasis> const& sb, size_t sz) argument 185 sbasis_to_cubic_bezier(std::vector<Point> & bz, D2<SBasis> const& sb) argument 320 bezier_to_sbasis(SBasis & sb, Bezier const& bz) argument 366 bezier_to_sbasis(D2<SBasis> & sb, std::vector<Point> const& bz) argument [all...] |
H A D | bezier.cpp | 179 SBasis sb; local 180 bezier_to_sbasis(sb, (*this)); 181 return sb;
|
H A D | concepts.h | 73 SbType sb; member in struct:Geom::FragmentConcept 88 sb = t.toSBasis();
|
H A D | sbasis-roots.cpp | 121 OptInterval bounds_fast(const SBasisOf<double> &sb, int order) { argument 123 OptInterval bounds_fast(const SBasis &sb, int order) { 127 for(int j = sb.size()-1; j>=order; j--) { 128 double a=sb[j][0]; 129 double b=sb[j][1]; 153 \param sb sbasis function 160 OptInterval bounds_local(const SBasisOf<double> &sb, const OptInterval &i, int order) { argument 162 OptInterval bounds_local(const SBasis &sb, const OptInterval &i, int order) { 165 for(int j = sb.size()-1; j>=order; j--) { 166 double a=sb[ [all...] |
/inkscape/src/2geom/numeric/ |
H A D | fitting-model.h | 373 void instance(SBasis & sb, ConstVectorView const& raw_data) const argument 375 sb.resize(m_order+1); 378 sb[k][0] = raw_data[i]; 379 sb[k][1] = raw_data[i+1];
|
/inkscape/src/widgets/ |
H A D | dash-selector.cpp | 72 Inkscape::UI::Widget::SpinButton *sb = new Inkscape::UI::Widget::SpinButton(offset, 0.1, 2); local 74 Inkscape::UI::Widget::SpinButton *sb = new Inkscape::UI::Widget::SpinButton(*offset, 0.1, 2); local 76 sb->set_tooltip_text(_("Pattern offset")); 77 sp_dialog_defocus_on_enter_cpp(sb); 78 sb->show(); 80 this->pack_start(*sb, false, false, 0);
|
H A D | desktop-widget.cpp | 243 GtkLabel *sb=GTK_LABEL(this->select_status); local 244 gtk_label_set_markup (sb, message ? message : ""); 247 if (type == Inkscape::IMMEDIATE_MESSAGE && gtk_widget_is_drawable (GTK_WIDGET(sb))) { 248 gtk_widget_queue_draw(GTK_WIDGET(sb)); 249 gdk_window_process_updates(gtk_widget_get_window(GTK_WIDGET(sb)), TRUE); 252 gtk_widget_set_tooltip_text (this->select_status_eventbox, gtk_label_get_text (sb));
|
/inkscape/src/livarot/ |
H A D | PathOutline.cpp | 1046 double cb = cos (b), sb = sin (b); local 1047 pos[0] = drx + ca * rx * cb - sa * ry * sb; 1048 pos[1] = dry + sa * rx * cb + ca * ry * sb; 1049 tgt[0] = ca * rx * sb + sa * ry * cb; 1050 tgt[1] = sa * rx * sb - ca * ry * cb; 1052 dtgt[0] = -ca * rx * cb + sa * ry * sb; 1053 dtgt[1] = -sa * rx * cb - ca * ry * sb; 1063 double cb = cos (b), sb = sin (b); local 1064 pos[0] = drx + ca * rx * cb - sa * ry * sb; 1065 pos[1] = dry + sa * rx * cb + ca * ry * sb; [all...] |
/inkscape/src/ui/dialog/ |
H A D | export.cpp | 529 Gtk::SpinButton *sb = new Gtk::SpinButton(adj, 1.0, digits); local 530 sb->set_hexpand(); 531 sb->set_vexpand(); 532 t->attach(*sb, x + pos, y, 1, 1); 534 Gtk::SpinButton *sb = new Gtk::SpinButton(*adj, 1.0, digits); local 535 t->attach (*sb, x + pos, x + pos + 1, y, y + 1, Gtk::EXPAND, Gtk::EXPAND, 0, 0 ); 538 sb->set_width_chars(7); 539 sb->set_sensitive (sensitive); 543 l->set_mnemonic_widget(*sb); 560 l->set_mnemonic_widget (*sb); [all...] |
H A D | inkscape-preferences.cpp | 84 Inkscape::UI::Widget::SpinButton* sb = new Inkscape::UI::Widget::SpinButton; local 85 sb->set_width_chars(6); 86 _getContents()->add(*sb); 91 sb->get_preferred_size(sreq_natural, sreq); 93 sreq = sb->size_request(); 96 _getContents()->remove(*sb); 97 delete sb; 202 PrefSpinButton* sb = Gtk::manage( new PrefSpinButton); local 203 sb->init ( prefs_path + "/dot-size", 0.0, 1000.0, 0.1, 10.0, def_value, false, false); 204 p.add_line( false, _("Ctrl+click _dot size:"), *sb, 211 PrefSpinButton* sb = Gtk::manage( new PrefSpinButton); local [all...] |
H A D | clonetiler.cpp | 1048 Inkscape::UI::Widget::SpinButton *sb = new Inkscape::UI::Widget::SpinButton(a, 1.0, 0); local 1050 Inkscape::UI::Widget::SpinButton *sb = new Inkscape::UI::Widget::SpinButton (*a, 1.0, 0); local 1052 sb->set_tooltip_text (_("How many rows in the tiling")); 1053 sb->set_width_chars (7); 1054 gtk_box_pack_start (GTK_BOX (hb), GTK_WIDGET(sb->gobj()), TRUE, TRUE, 0); 1082 Inkscape::UI::Widget::SpinButton *sb = new Inkscape::UI::Widget::SpinButton(a, 1.0, 0); local 1084 Inkscape::UI::Widget::SpinButton *sb = new Inkscape::UI::Widget::SpinButton (*a, 1.0, 0); local 1086 sb->set_tooltip_text (_("How many columns in the tiling")); 1087 sb->set_width_chars (7); 1088 gtk_box_pack_start (GTK_BOX (hb), GTK_WIDGET(sb 1263 GtkWidget *sb = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 0); local 1266 GtkWidget *sb = gtk_hbox_new(FALSE, 0); local 1268 gtk_box_pack_end (GTK_BOX (hb), sb, FALSE, FALSE, 0); local 2751 Inkscape::UI::Widget::SpinButton *sb; local [all...] |