Board 0.9.6
Classes | Namespaces | Functions
Board.h File Reference

Declaration of the Board class. More...

#include <ostream>
#include <string>
#include <vector>
#include <BoardConfig.h>
#include <board/Arrow.h>
#include <board/Bezier.h>
#include <board/BoardFontText.h>
#include <board/Dot.h>
#include <board/Ellipse.h>
#include <board/Exception.h>
#include <board/Group.h>
#include <board/Image.h>
#include <board/Line.h>
#include <board/Path.h>
#include <board/Point.h>
#include <board/Polyline.h>
#include <board/RoughVisitor.h>
#include <board/Shape.h>
#include <board/ShapeList.h>
#include <board/SketchFilter.h>
#include <board/Style.h>
#include <board/Text.h>

Go to the source code of this file.

Classes

struct  LibBoard::Board
 Class for EPS, FIG or SVG drawings. More...
 
struct  LibBoard::Board::State
 

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::cross (Point p, const Style &style=Style::defaultStyle())
 
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.
 
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.
 
Polyline LibBoard::bezierControls (const Bezier &bezier, const Style &style=Style::defaultStyle())
 Produce a polyline of the Biezer vertices and control points.
 

Detailed Description

Declaration of the Board class.

Author
Sebastien Fourey (GREYC)
Date
Aug 2007

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

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

Author
Sebastien Fourey (GREYC)

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

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