Searched refs:_center (Results 1 - 8 of 8) sorted by relevance

/inkscape/src/2geom/
H A Dcircle.cpp45 Rect bbox(_center - rr, _center + rr);
61 _center[X] = -b/2;
62 _center[Y] = -c/2;
63 Coord r2 = _center[X] * _center[X] + _center[Y] * _center[Y] - d;
75 B = -2 * _center[X];
76 C = -2 * _center[
[all...]
H A Dcircle.h56 Point _center; member in class:Geom::Circle
62 : _center(cx, cy), _radius(r)
65 : _center(center), _radius(r)
75 Point center() const { return _center; }
76 Coord center(Dim2 d) const { return _center[d]; }
81 void setCenter(Point const &p) { _center = p; }
94 bool contains(Point const &p) const { return distance(p, _center) <= _radius; }
121 _center *= t;
128 _center *= z;
H A Dellipse.h69 Point _center; member in class:Geom::Ellipse
75 : _center(c)
80 : _center(cx, cy)
92 _center = c;
98 _center[X] = cx;
99 _center[Y] = cy;
107 void setCenter(Point const &p) { _center = p; }
109 void setCenter(Coord cx, Coord cy) { _center[X] = cx; _center[Y] = cy; }
119 Point center() const { return _center; }
[all...]
H A Dellipse.cpp42 : _center(c.center())
53 _center[X] = (B*E - 2*C*D) / den;
54 _center[Y] = (B*D - 2*A*E) / den;
59 double num = A * sqr(_center[X])
60 + B * _center[X] * _center[Y]
61 + C * sqr(_center[Y])
234 Point fv = fp - _center;
235 Point iv = ip - _center;
236 Point innerv = inner - _center;
[all...]
/inkscape/src/ui/tool/
H A Dtransform-handle-set.h83 RotationCenter *_center; member in struct:Inkscape::UI::TransformHandleSet::__anon471::__anon472
H A Dtransform-handle-set.cpp710 _center = new RotationCenter(*this);
712 signal_transform.connect(sigc::mem_fun(*_center, &RotationCenter::transform));
735 return *_center;
740 return *_center;
762 if (!preserve_center) _center->move(r.midpoint());
775 _center->transform(t);
834 _center->setVisible(show_rotate /*&& bp[Geom::X] > handle_size[Geom::X]
/inkscape/src/
H A Dseltrans.cpp130 _center_is_set = false; // reread _center from items, or set to bbox midpoint
239 _center = p;
449 if (_center) {
450 *_center *= _current_relative_affine;
567 if ( copy_item->isCenterSet() && _center ) {
568 copy_item->setCenter(*_center * _current_relative_affine);
592 _center = _desktop->selection->center();
644 if( type == HANDLE_CENTER && _center )
645 knots[i]->moveto(*_center);
800 } else if (_center) {
[all...]
H A Dseltrans.h179 boost::optional<Geom::Point> _center; member in class:Inkscape::SelTrans
180 bool _center_is_set; ///< we've already set _center, no need to reread it from items

Completed in 83 milliseconds