|
Board
0.9.5
|
@copyright This source code is part of the Board project, a C++ library whose purpose is to allow simple drawings in EPS, FIG or SVG files. Copyright (C) 2007 Sebastien Fourey http://foureys.users.greyc.fr/ More...
#include "board/Polyline.h"#include <algorithm>#include <cmath>#include <cstring>#include <limits>#include <sstream>#include <vector>#include "BoardConfig.h"#include "board/PSFonts.h"#include "board/PathBoundaries.h"#include "board/Rect.h"#include "board/ShapeVisitor.h"#include "board/Tools.h"#include "board/Transforms.h"Macros | |
| #define | M_PI 3.14159265358979323846 /* pi */ |
Functions | |
| Polyline | LibBoard::rectangle (double left, double top, double width, double height, Color penColor=Style::defaultPenColor(), Color fillColor=Style::defaultFillColor(), double lineWidth=Style::defaultLineWidth(), const LineStyle lineStyle=Style::defaultLineStyle(), const LineCap cap=Style::defaultLineCap(), const LineJoin join=Style::defaultLineJoin()) |
| Polyline | LibBoard::rectangle (const Rect &rect, Color penColor=Style::defaultPenColor(), Color fillColor=Style::defaultFillColor(), double lineWidth=Style::defaultLineWidth(), const LineStyle lineStyle=Style::defaultLineStyle(), const LineCap cap=Style::defaultLineCap(), const LineJoin join=Style::defaultLineJoin()) |
| Polyline | LibBoard::rectangle (double left, double top, double width, double height, const Style &style) |
| Polyline | LibBoard::rectangle (const Rect &rect, const Style &style) |
| Polyline | LibBoard::triangle (const double x1, const double y1, const double x2, const double y2, const double x3, const double y3, Color penColor=Style::defaultPenColor(), Color fillColor=Style::defaultFillColor(), double lineWidth=Style::defaultLineWidth(), const LineStyle lineStyle=Style::defaultLineStyle(), const LineCap cap=Style::defaultLineCap(), const LineJoin join=Style::defaultLineJoin()) |
| Polyline | LibBoard::triangle (const Point &p1, const Point &p2, const Point &p3, Color penColor=Style::defaultPenColor(), Color fillColor=Style::defaultFillColor(), double lineWidth=Style::defaultLineWidth(), const LineStyle lineStyle=Style::defaultLineStyle(), const LineCap cap=Style::defaultLineCap(), const LineJoin join=Style::defaultLineJoin()) |
| Polyline | LibBoard::triangle (const Point &p1, const Point &p2, const Point &p3, const Style &style) |
| Polyline | LibBoard::mid (const Polyline &a, const Polyline &b, double time) |
@copyright This source code is part of the Board project, a C++ library whose purpose is to allow simple drawings in EPS, FIG or SVG files. Copyright (C) 2007 Sebastien Fourey http://foureys.users.greyc.fr/
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details
You should have received a copy of the GNU Lesser General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Return an interpolated polyline between two, according to a time.
| a | First polyline |
| b | Second polyline |
| time | Time (0 is a, 1 is b) |
References LibBoard::mid().
1.8.17