Searched refs:centre (Results 1 - 12 of 12) sorted by relevance

/inkscape/src/ui/tools/
H A Ddropper-tool.h59 Geom::Point centre; member in class:Inkscape::UI::Tools::DropperTool
H A Ddropper-tool.cpp74 , centre(0, 0)
170 this->centre = Geom::Point(event->button.x, event->button.y);
203 rw = std::min(Geom::L2(Geom::Point(event->button.x, event->button.y) - this->centre), 400.0);
209 Geom::Point const cd = desktop->w2d(this->centre);
217 Geom::Rect r(this->centre, this->centre);
/inkscape/src/live_effects/
H A Dlpe-gears.cpp54 Geom::Point centre() {return _centre;} function in class:Gear
55 void centre(Geom::Point c) {_centre = c;} function in class:Gear
186 double radius = Geom::distance(this->centre(), p) - this->pitch_radius();
190 gear.centre(p);
192 double a = atan2(p - this->centre());
246 gear->centre(gear_centre);
/inkscape/src/libavoid/
H A Dgeomtypes.h302 //! @brief Constructs a rectangular polygon given the centre, width
305 //! @param[in] centre The centre of the rectangle, specified as
310 Rectangle(const Point& centre, const double width, const double height);
H A Dgeomtypes.cpp530 Rectangle::Rectangle(const Point& centre, const double width, argument
535 double xMin = centre.x - halfWidth;
536 double xMax = centre.x + halfWidth;
537 double yMin = centre.y - halfHeight;
538 double yMax = centre.y + halfHeight;
/inkscape/share/extensions/
H A Dwireframe_sphere.py133 centre = tuple(computePointInNode(list(self.view_center), self.current_layer)) #Put in in the centre of the current view
134 grp_transform = 'translate' + str( centre ) + flip
167 #the rotation will be applied about the group centre (the centre of the sphere)
179 #the centre is always at the centre of the sphere
192 delta_lat = 180.0/so.NUM_LAT #Angle between the line of latitude (subtended at the centre)
218 draw_SVG_ellipse((so.RADIUS, so.RADIUS), (0,0), stroke_width, grp) #circle, centred on the sphere centre
H A Ddraw_from_triangle.py46 def draw_SVG_circle(rad, centre, params, style, name, parent):#draw an SVG circle with a given radius as trilinear coordinates
54 cx,cy = get_cartesian_pt(centre, params)
122 def pt_from_tcf( tcf , params):#returns a trilinear triplet from a triangle centre function
H A Drender_barcode_datamatrix.py684 centre = tuple(computePointInNode(list(self.view_center), self.current_layer)) #Put in in the centre of the current view
685 grp_transform = 'translate' + str( centre ) + ' scale(%f)' % scale
H A Drender_barcode_qrcode.py1061 centre = tuple(computePointInNode(list(self.view_center), self.current_layer)) #Put in in the centre of the current view
1062 grp_transform = 'translate' + str( centre ) + ' scale(%f)' % scale
/inkscape/src/2geom/
H A Dconicsec.h338 * Compute the centre of simmetry of the conic section when it exists,
341 boost::optional<Point> centre() const function in class:Geom::xAx
375 * _rot_centre: the rotation centre
H A Dpath-intersection.cpp56 Point centre; local
57 Geom::centroid(pw, centre, area);
H A Dconic_section_clipper_impl.cpp446 // if the ellipse centre is inside the rectangle
448 boost::optional<Point> c = cs.centre();
451 DBGPRINT ("CLIP: ellipse with centre", *c)

Completed in 79 milliseconds