Lines Matching refs:shape
36 #include "libavoid/shape.h"
179 //! It is more efficient to perform actions like shape movement,
222 //! @brief Add a shape to the router scene.
224 //! This shape will be considered to be an obstacle. Calling this
225 //! method will cause connectors intersecting the added shape to
228 //! @param[in] shape Pointer reference to the shape being added.
230 void addShape(ShapeRef *shape);
232 //! @brief Remove a shape from the router scene.
235 //! the removal of this shape will be marked as needing to be rerouted.
237 //! @param[in] shape Pointer reference to the shape being removed.
239 void removeShape(ShapeRef *shape);
241 //! @brief Move or resize an existing shape within the router scene.
243 //! A new polygon for the shape can be given to effectively move or
244 //! resize the shape with the scene. Connectors that intersect the
245 //! new shape polygon, or that could have a better (usually shorter)
248 //! @param[in] shape Pointer reference to the shape being
250 //! @param[in] newPoly The new polygon boundary for the shape.
255 void moveShape(ShapeRef *shape, const Polygon& newPoly,
258 //! @brief Move an existing shape within the router scene by a relative
261 //! Connectors that intersect the shape's new position, or that could
265 //! @param[in] shape Pointer reference to the shape being moved.
266 //! @param[in] xDiff The distance to move the shape in the
268 //! @param[in] yDiff The distance to move the shape in the
271 void moveShape(ShapeRef *shape, const double xDiff, const double yDiff);
329 void markConnectors(ShapeRef *shape);
338 bool shapeInQueuedActionList(ShapeRef *shape) const;