The namespace used by code in the libavoid library. More...
Classes | |
class | ShapeConnectionPin |
The ShapeConnectionPin class represents a fixed point or "pin" on a shape that can be connected to. More... | |
class | ConnRef |
The ConnRef class represents a connector object. More... | |
class | ConnEnd |
The ConnEnd class represents different possible endpoints for connectors. More... | |
class | Point |
The Point class defines a point in the plane. More... | |
class | PolygonInterface |
A common interface used by the Polygon classes. More... | |
class | Edge |
A line between two points. More... | |
class | Polygon |
A dynamic Polygon, to which points can be easily added and removed. More... | |
class | ReferencingPolygon |
A Polygon which just references its points from other Polygons. More... | |
class | Rectangle |
A Rectangle, a simpler way to define the polygon for square or rectangular shapes. More... | |
class | JunctionRef |
The JunctionRef class represents a fixed or free-floating point that connectors can be attached to. More... | |
class | Router |
The Router class represents a libavoid router instance. More... | |
class | ShapeRef |
The ShapeRef class represents a shape object. More... | |
Typedefs | |
typedef unsigned int | ConnDirFlags |
One or more Avoid::ConnDirFlag options. | |
typedef Point | Vector |
A vector, represented by the Point class. | |
typedef Edge | BBox |
A bounding box, represented with an Edge between top-left and bottom-right corners. | |
typedef Polygon | PolyLine |
A multi-segment line, represented with the Polygon class. | |
Enumerations | |
enum | ConnType { , ConnType_PolyLine = 1, ConnType_Orthogonal = 2 } |
Describes the type of routing that is performed for each connector. More... | |
enum | ConnDirFlag { , ConnDirUp = 1, ConnDirDown = 2, ConnDirLeft = 4, ConnDirRight = 8, ConnDirAll = 15 } |
Flags that can be passed to the ConnEnd constructor to specify which sides of a shape this point should have visibility to if it is located within the shape's area. More... | |
enum | RouterFlag { PolyLineRouting = 1, OrthogonalRouting = 2 } |
Flags that can be passed to the router during initialisation to specify options. More... | |
enum | PenaltyType { segmentPenalty = 0, anglePenalty, crossingPenalty, clusterCrossingPenalty, fixedSharedPathPenalty, portDirectionPenalty } |
Types of penalty cases that can be used to improve the quality of the connector routes produced. More... | |
enum | ShapeTransformationType { TransformationType_CW90 = 0, TransformationType_CW180 = 1, TransformationType_CW270 = 2, TransformationType_FlipX = 3, TransformationType_FlipY = 4 } |
Describes the type of transformation that has been applied to a shape having its transformConnectionPinPositions() method called. More... | |
The namespace used by code in the libavoid library.
enum Avoid::ConnDirFlag |
Flags that can be passed to the ConnEnd constructor to specify which sides of a shape this point should have visibility to if it is located within the shape's area.
Like SVG, libavoid considers the Y-axis to point downwards, that is, like screen coordinates the coordinates increase from left-to-right and also from top-to-bottom.
enum Avoid::ConnType |
Describes the type of routing that is performed for each connector.
enum Avoid::PenaltyType |
Types of penalty cases that can be used to improve the quality of the connector routes produced.
enum Avoid::RouterFlag |
Flags that can be passed to the router during initialisation to specify options.
Describes the type of transformation that has been applied to a shape having its transformConnectionPinPositions() method called.