Inkscape
Vector Graphics Editor
Loading...
Searching...
No Matches
forward.h
Go to the documentation of this file.
1/*
5 * Authors:
6 * Johan Engelen <goejendaagh@zonnet.nl>
7 * Krzysztof KosiƄski <tweenk.pl@gmail.com>
8 *
9 * Copyright (C) 2008-2010 Authors
10 *
11 * This library is free software; you can redistribute it and/or
12 * modify it either under the terms of the GNU Lesser General Public
13 * License version 2.1 as published by the Free Software Foundation
14 * (the "LGPL") or, at your option, under the terms of the Mozilla
15 * Public License Version 1.1 (the "MPL"). If you do not alter this
16 * notice, a recipient may use your version of this file under either
17 * the MPL or the LGPL.
18 *
19 * You should have received a copy of the LGPL along with this library
20 * in the file COPYING-LGPL-2.1; if not, write to the Free Software
21 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
22 * You should have received a copy of the MPL along with this library
23 * in the file COPYING-MPL-1.1
24 *
25 * The contents of this file are subject to the Mozilla Public License
26 * Version 1.1 (the "License"); you may not use this file except in
27 * compliance with the License. You may obtain a copy of the License at
28 * http://www.mozilla.org/MPL/
29 *
30 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY
31 * OF ANY KIND, either express or implied. See the LGPL or the MPL for
32 * the specific language governing rights and limitations.
33 */
34
35#ifndef LIB2GEOM_SEEN_FORWARD_H
36#define LIB2GEOM_SEEN_FORWARD_H
37
38namespace Geom {
39
40// primitives
41typedef double Coord;
42typedef int IntCoord;
43class Point;
44class IntPoint;
45class Line;
46class Ray;
47template <typename> class GenericInterval;
48template <typename> class GenericOptInterval;
49class Interval;
50class OptInterval;
53template <typename> class GenericRect;
54template <typename> class GenericOptRect;
55class Rect;
56class OptRect;
59
60// fragments
61class Linear;
62class Bezier;
63class SBasis;
64class Poly;
65
66// shapes
67class Circle;
68class Ellipse;
69class ConvexHull;
70
71// curves
72class Curve;
73class SBasisCurve;
74class BezierCurve;
75template <unsigned degree> class BezierCurveN;
79class EllipticalArc;
80
81// paths and path sequences
82class Path;
83class PathVector;
84struct PathTime;
85class PathInterval;
86struct PathVectorTime;
87
88// errors
89class Exception;
90class LogicalError;
91class RangeError;
92class NotImplemented;
94class NotInvertible;
95class ContinuityError;
96
97// transforms
98class Affine;
99class Translate;
100class Rotate;
101class Scale;
102class HShear;
103class VShear;
104class Zoom;
105
106// templates
107template <typename> class D2;
108template <typename> class Piecewise;
109
110// misc
111class SVGPathSink;
112template <typename> class SVGPathGenerator;
113
114}
115
116#endif // SEEN_GEOM_FORWARD_H
117
118/*
119 Local Variables:
120 mode:c++
121 c-file-style:"stroustrup"
122 c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
123 indent-tabs-mode:nil
124 fill-column:99
125 End:
126*/
127// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 :
pair< double, double > Point
Definition parser.cpp:7
3x3 matrix representing an affine transformation.
Definition affine.h:70
Bezier curve with compile-time specified order.
Two-dimensional Bezier curve of arbitrary order.
Polynomial in Bernstein-Bezier basis.
Definition bezier.h:126
Set of all points at a fixed distance from the center.
Definition circle.h:55
Convex hull based on the Andrew's monotone chain algorithm.
Abstract continuous curve on a plane defined on [0,1].
Definition curve.h:78
Adaptor that creates 2D functions from 1D ones.
Definition d2.h:55
Set of points with a constant sum of distances from two foci.
Definition ellipse.h:68
Elliptical arc curve.
Base exception class, all 2geom exceptions should be derived from this one.
Definition exception.h:53
A range of numbers which is never empty.
A range of numbers that can be empty.
Axis-aligned generic rectangle that can be empty.
Axis aligned, non-empty, generic rectangle.
Horizontal shearing.
Definition transforms.h:257
Function that interpolates linearly between two values.
Definition linear.h:55
Axis-aligned rectangle that can be empty.
Definition rect.h:203
Contiguous subset of the path's parameter domain.
Definition path.h:187
Sequence of subpaths.
Definition pathvector.h:122
Sequence of contiguous curves, aka spline.
Definition path.h:353
Function defined as discrete pieces.
Definition piecewise.h:71
Polynomial in canonical (monomial) basis.
Definition polynomial.h:50
Axis aligned, non-empty rectangle.
Definition rect.h:92
Rotation around the origin.
Definition transforms.h:187
Symmetric power basis curve.
Polynomial in symmetric power basis.
Definition sbasis.h:70
Scaling from the origin.
Definition transforms.h:150
Translation by a vector.
Definition transforms.h:115
Vertical shearing.
Definition transforms.h:274
Combination of a translation and uniform scale.
Definition transforms.h:292
BezierCurveN< 3 > CubicBezier
Cubic (order 3) Bezier curve.
BezierCurveN< 1 > LineSegment
Line segment.
BezierCurveN< 2 > QuadraticBezier
Quadratic (order 2) Bezier curve.
int IntCoord
Type used for integral coordinates.
Definition coord.h:80
double Coord
Floating point type used to store coordinates.
Definition coord.h:76
GenericInterval< IntCoord > IntInterval
Range of integers that is never empty.
Definition forward.h:51
GenericOptInterval< IntCoord > OptIntInterval
Range of integers that can be empty.
Definition forward.h:52
Various utility functions.
Definition affine.h:22
GenericRect< IntCoord > IntRect
Definition forward.h:57
GenericOptRect< IntCoord > OptIntRect
Definition forward.h:58
Generalized time value in the path.
Definition path.h:139
Generalized time value in the path vector.
Definition pathvector.h:58