/inkscape/src/ui/widget/ |
H A D | color-wheel-selector.cpp | 245 guint32 mid = color.toRGBA32(0x7f); local 249 wheelSelector->_slider->setColors(start, mid, end); 274 guint32 mid = _color.color().toRGBA32(0x7f); local 277 _slider->setColors(start, mid, end);
|
H A D | color-slider.cpp | 350 void ColorSlider::setColors(guint32 start, guint32 mid, guint32 end) argument 360 _cm[0] = mid >> 24; 361 _cm[1] = (mid >> 16) & 0xff; 362 _cm[2] = (mid >> 8) & 0xff; 363 _cm[3] = mid & 0xff;
|
H A D | color-icc-selector.cpp | 935 guint32 mid = _color.color().toRGBA32(0x7f); local 938 _slider->setColors(start, mid, end);
|
/inkscape/src/libavoid/ |
H A D | geomtypes.cpp | 416 #define mid(a, b) ((a < b) ? a + ((b - a) / 2) : b + ((a - b) / 2)) macro 493 curved.ps.push_back(Point(mid(last_x, old_x), mid(last_y, old_y))); 494 curved.ps.push_back(Point(mid(x1, old_x), mid(y1, old_y)));
|
H A D | orthogonal.cpp | 1821 double mid = min[dim] + ((max[dim] - min[dim]) / 2); local 1822 Node *v = new Node(shRef, mid);
|
/inkscape/src/2geom/ |
H A D | piecewise.h | 172 int mid = (high + low) / 2; //Lets not plan on having huge (> INT_MAX / 2) cut sequences local 173 double mv = cuts[mid]; 175 if(t < cuts[mid + 1]) return mid; else low = mid + 1; 177 if(cuts[mid - 1] < t) return mid - 1; else high = mid - 1; 179 return mid;
|
H A D | intersection-graph.cpp | 159 PathTime mid = ival.inside(precision); local 161 Point wpoint = _pv[w][pi].pointAt(mid);
|
H A D | path-intersection.cpp | 276 double mid = (Bl + Bh)/2; local 277 pair_intersect(B, Bl, mid, 280 pair_intersect(B, mid, Bh, 330 double mid = (Bl + Bh)/2; local 331 mono_intersect(B, Bl, mid, 334 mono_intersect(B, mid, Bh, 378 double mid = (Bl + Bh)/2; local 379 mono_pair(B, Bl, mid, 382 mono_pair(B, mid, Bh, 589 double mid [all...] |
H A D | elliptical-arc.cpp | 627 Point mid = middle_point(initialPoint(), finalPoint()); local 644 _ellipse.setCenter(mid); 655 Point p = (initialPoint() - mid) * invrot; // x', y' in F.6.5.1 663 _ellipse.setCenter(mid); 677 _ellipse.setCenter(c * rot + mid); 679 _ellipse.setCenter(mid);
|
/inkscape/src/ |
H A D | document-subset.cpp | 63 Siblings::const_iterator mid = first + ( last - first + 1 ) / 2; local 64 int pos = sp_object_compare_position(*mid, obj); 66 first = mid; 68 if ( last == mid ) { 69 last = mid - 1; // already at the top limit 71 last = mid;
|
H A D | sp-star.cpp | 326 Geom::Point mid = 0.5 * (prev + next); local 329 // it's far enough outside the star on the perpendicular to prev-next through mid 330 Geom::Point biss = mid + 100000 * rot90_rel (mid, next);
|
/inkscape/src/widgets/ |
H A D | node-toolbar.cpp | 243 Geom::Point mid = nt->_selected_nodes->pointwiseBounds()->midpoint(); local 245 if (oldx != mid[Geom::X]) { 246 gtk_adjustment_set_value(xadj, Quantity::convert(mid[Geom::X], "px", unit)); 248 if (oldy != mid[Geom::Y]) { 249 gtk_adjustment_set_value(yadj, Quantity::convert(mid[Geom::Y], "px", unit));
|
H A D | ege-adjustment-action.cpp | 986 GList* mid = g_list_find( kids, curr ); local 987 while ( mid ) { 988 mid = ( direction < 0 ) ? g_list_previous(mid) : g_list_next(mid); 989 if ( mid && GTK_IS_TOOL_ITEM(mid->data) ) { 991 GtkWidget* child = gtk_bin_get_child( GTK_BIN(mid->data) ); 999 mid = 0; /* to stop loop */
|
H A D | stroke-style.cpp | 265 midMarkerCombo = Gtk::manage(new MarkerComboBox("marker-mid", SP_MARKER_LOC_MID)); 719 gchar const *mid = marker->getRepr()->attribute("id"); local 720 startMarkerCombo->update_marker_image(mid); 721 midMarkerCombo->update_marker_image(mid); 722 endMarkerCombo->update_marker_image(mid);
|
H A D | icon.cpp | 427 size_t mid = (name.size() - 1) / 2; local 428 if ( (name[mid] == 'x') && (name.substr(0, mid) == name.substr(mid + 1)) ) { 430 for ( size_t i = 0; (i < mid) && isSized; ++i ) {
|
/inkscape/src/livarot/ |
H A D | PathStroke.cpp | 267 int mid = dest->AddPoint (pos + width * dir); local 268 dest->AddEdge (rightNo, mid); 269 dest->AddEdge (mid, leftNo);
|
H A D | PathOutline.cpp | 1132 PathDescrIntermBezierTo & mid, 1140 const Geom::Point A = fin.p + iS - 2*mid.p; 1141 const Geom::Point B = 2*mid.p - 2 * iS; 1131 TangentOnBezAt(double at, Geom::Point const &iS, PathDescrIntermBezierTo & mid, PathDescrBezierTo & fin, bool before, Geom::Point & pos, Geom::Point & tgt, double &len, double &rad) argument
|
/inkscape/src/display/ |
H A D | sp-canvas.cpp | 1692 int mid = this_rect[Geom::X].middle(); local 1693 // Make sure that mid lies on a tile boundary 1694 mid = (mid / TILE_SIZE) * TILE_SIZE; 1696 lo = Geom::IntRect(this_rect.left(), this_rect.top(), mid, this_rect.bottom()); 1697 hi = Geom::IntRect(mid, this_rect.top(), this_rect.right(), this_rect.bottom()); 1699 if (setup->mouse_loc[Geom::X] < mid) { 1708 int mid = this_rect[Geom::Y].middle(); local 1709 // Make sure that mid lies on a tile boundary 1710 mid [all...] |