Lines Matching defs:anchor
219 * Returns the selected anchor point in document coordinates. If anchor
225 static Geom::Point getAnchorPoint(int anchor, SPItem *item)
231 switch(anchor)
250 switch(anchor)
270 if(anchor == 9)
283 * Moves an SPItem to a given location, the location is based on the given anchor point.
284 * @param anchor 0 to 8 are the various bounding box points like follows:
292 static void moveToPoint(int anchor, SPItem *item, Geom::Point p)
294 sp_item_move_rel(item, Geom::Translate(p - getAnchorPoint(anchor, item)));
366 int anchor = 9;
369 anchor = anchorSelector.getHorizontalAlignment() +
386 moveToPoint(anchor, item, newLocation);