Board 0.9.6
Namespaces | Functions
Board.cpp File Reference

@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 https://foureys.users.greyc.fr/ More...

#include <Board.h>
#include <algorithm>
#include <board/PSFonts.h>
#include <board/Point.h>
#include <board/Rect.h>
#include <board/Shape.h>
#include <board/ShapeVisitor.h>
#include <board/Tools.h>
#include <cstdio>
#include <cstring>
#include <ctime>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <map>
#include <typeinfo>

Namespaces

namespace  LibBoard
 

Functions

Group LibBoard::grid (Point topLeft, size_t columns, size_t rows, double width, double height, Color penColor, Color fillColor, double lineWidth, const LineStyle style=SolidStyle, const LineCap cap=ButtCap, const LineJoin join=MiterJoin)
 
Group LibBoard::grid (Point topLeft, size_t columns, size_t rows, double width, double height, const Style &style=Style::defaultStyle())
 
Group LibBoard::tiling (const Shape &shape, Point topLeftCorner, int columns, int rows, double spacing=0.0, LineWidthFlag lineWidthFlag=UseLineWidth)
 
Group LibBoard::circled (const Shape &shape, double margin=0.0, Color penColor=Style::defaultPenColor(), Color fillColor=Style::defaultFillColor(), double lineWidth=Style::defaultLineWidth(), LineStyle lineStyle=Style::defaultLineStyle())
 Surround a shape with a cirle.
 
Group LibBoard::cross (Point p, const Style &style=Style::defaultStyle())
 
Polyline LibBoard::bezierControls (const Bezier &bezier, const Style &style=Style::defaultStyle())
 Produce a polyline of the Biezer vertices and control points.
 
Group LibBoard::array (Point topLeft, const std::vector< Color > &colors, unsigned int columns, unsigned int rows, double pixelWidth, double pixelHeight=0.0, double lineWidth=0.0)
 Produce a rectangular color matrix.
 
Group LibBoard::framed (const Shape &shape, double margin=0.0, const Color &penColor=Style::defaultPenColor(), const Color &fillColor=Style::defaultFillColor(), double lineWidth=Style::defaultLineWidth(), LineStyle lineStyle=Style::defaultLineStyle(), int sketchyCount=0)
 Surround a shape with a rectangular frame.
 

Detailed Description

@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 https://foureys.users.greyc.fr/

Author
Sebastien Fourey (GREYC)
Date
Aug 2007

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/.