Searched defs:midpoint (Results 1 - 7 of 7) sorted by relevance

/inkscape/src/
H A Dremoveoverlap.cpp26 Geom::Point midpoint; member in struct:__anon417::Record
31 : item(i), midpoint(m), vspc_rect(r) {}
68 records.push_back(Record(item, item_box->midpoint(), vspc_rect));
79 Geom::Point const curr = it->midpoint;
/inkscape/src/libdepixelize/priv/
H A Dpoint.h68 Point<T> midpoint(const Point<T> &a, const Point<T> &b) function in namespace:Tracer
/inkscape/src/2geom/
H A Dgeneric-rect.h183 CPoint midpoint() const { return CPoint(f[X].middle(), f[Y].middle()); } function in class:Geom::GenericRect
286 * of the midpoint; same for height. */
294 * of the midpoint; same for height. */
302 * the X interval will contain only the X coordinate of the midpoint;
/inkscape/src/libnrtype/
H A DLayout-TNG-OutIter.cpp313 Geom::Point midpoint; local
317 const_cast<Path*>(_path_fitted)->PointAndTangentAt(midpoint_otp[0].piece, midpoint_otp[0].t, midpoint, tangent);
318 top_left[Geom::X] = midpoint[Geom::X] - cluster_half_width;
319 top_left[Geom::Y] = midpoint[Geom::Y] - span.line_height.ascent;
320 bottom_right[Geom::X] = midpoint[Geom::X] + cluster_half_width;
321 bottom_right[Geom::Y] = midpoint[Geom::Y] + span.line_height.descent;
H A DLayout-TNG-Output.cpp719 Geom::Point midpoint; local
721 const_cast<Path&>(path).PointAndTangentAt(midpoint_otp[0].piece, midpoint_otp[0].t, midpoint, tangent);
758 _glyphs[glyph_index].x = midpoint[Geom::Y] - tangent[Geom::X] * _glyphs[glyph_index].y - span.chunk(this).left_x;
759 _glyphs[glyph_index].y = midpoint[Geom::X] + tangent[Geom::Y] * _glyphs[glyph_index].y - _lines.front().baseline_y;
770 _glyphs[glyph_index].x = midpoint[Geom::X] + tangent[Geom::X] * tangent_shift - tangent[Geom::Y] * _glyphs[glyph_index].y - span.chunk(this).left_x;
771 _glyphs[glyph_index].y = midpoint[Geom::Y] + tangent[Geom::Y] * tangent_shift + tangent[Geom::X] * _glyphs[glyph_index].y - _lines.front().baseline_y;
/inkscape/src/live_effects/
H A Dlpe-powerstroke.cpp658 Geom::Point midpoint = 0.5*(pwd2_out.lastValue() + mirrorpath.firstValue()) + radius*end_deriv; local
659 fixed_path.appendNew<LineSegment>(midpoint);
696 Geom::Point midpoint = 0.5*(mirrorpath.lastValue() + pwd2_out.firstValue()) - radius*start_deriv; local
697 fixed_path.appendNew<LineSegment>( midpoint );
/inkscape/src/helper/
H A Dgeom-pathstroke.cpp900 Geom::Point midpoint = ((with_dir.finalPoint() + normal_1*width) + (against_dir.initialPoint() + normal_2*width)) * 0.5; local
901 res.lineTo(midpoint);

Completed in 185 milliseconds