Board 0.9.6
Classes | Namespaces
ShapeVisitor.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 https://foureys.users.greyc.fr/ More...

#include <board/Color.h>
#include <board/Globals.h>
#include <board/Style.h>
#include <cstddef>
#include <functional>
#include <set>

Go to the source code of this file.

Classes

struct  LibBoard::ShapeVisitor
 A ShapeVisitor visits all shapes in a composite shape tree in back-to-front order. More...
 
struct  LibBoard::ConstShapeVisitor
 A ConstShapeVisitor may visit const shapes of a composite shape tree in back-to-front order. More...
 
struct  LibBoard::CompositeShapeTransform
 A CompositeShapeTransform may be used to duplicate/transform a composite shape tree. More...
 
struct  LibBoard::BoundingBoxExtractor
 The BoundingBoxExtractor struct may be used to compute the bounding box of a composite shape tree. More...
 
struct  LibBoard::BoundingBoxViewer
 The BoundingBoxViewer struct may be used to display the bounding boxes of the shapes in a composite tree. More...
 
struct  LibBoard::ShapeCounter
 The ShapeCounter struct may be used to count shapes in the composite shapes tree. More...
 
struct  LibBoard::PenColorExtractor
 The pen-color extractor may be used to retrieve all pen colors. More...
 
struct  LibBoard::FillColorExtractor
 The fill-color extractor may be used to retrieve all fill colors. More...
 
struct  LibBoard::ConstLeafVisitor
 Leaf visitor may be used to apply a function on each leaf, in back-to-front order. More...
 
struct  LibBoard::LeafVisitor
 Leaf visitor may be used to apply a function on each leaf, in back-to-front order. More...
 
struct  LibBoard::ShapeWithStyleVisitor
 Leaf visitor may be used to apply a function on each Shape with style, in back-to-front order. More...
 

Namespaces

namespace  LibBoard
 

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
June 2016

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