Board  0.9.4
Classes | Macros | Functions
Shapes.h 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 http://foureys.users.greyc.fr/ More...

#include "board/Point.h"
#include "board/Rect.h"
#include "board/Path.h"
#include "board/Color.h"
#include "board/PSFonts.h"
#include "board/Tools.h"
#include "board/Transforms.h"
#include <string>
#include <vector>
#include <iostream>
#include <map>
#include <cmath>
#include "Shapes.ih"

Go to the source code of this file.

Classes

struct  LibBoard::Shape
 Abstract structure for a 2D shape. More...
 
struct  LibBoard::Dot
 A line between two points. More...
 
struct  LibBoard::Line
 A line between two points. More...
 
struct  LibBoard::Arrow
 A line between two points with an arrow at one extremity. More...
 
struct  LibBoard::Polyline
 A polygonal line described by a series of 2D points. More...
 
struct  LibBoard::Rectangle
 A rectangle. More...
 
struct  LibBoard::Triangle
 A triangle. Basically a Polyline with a convenient constructor. More...
 
struct  LibBoard::GouraudTriangle
 A triangle with shaded filling according to colors given for each vertex. More...
 
struct  LibBoard::Ellipse
 An ellipse. More...
 
struct  LibBoard::Circle
 A circle. More...
 
struct  LibBoard::Text
 A piece of text. More...
 

Macros

#define M_PI   3.14159265358979323846
 
#define M_PI_2   1.57079632679489661923
 
#define override
 

Functions

bool LibBoard::shapeGreaterDepth (const Shape *s1, const Shape *s2)
 

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