Board  0.9.5
Classes | Enumerations | Functions | Variables
Style.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 <iostream>
#include <stack>
#include "board/Color.h"

Go to the source code of this file.

Classes

struct  LibBoard::Style
 

Enumerations

enum  LineCap { ButtCap = 0, RoundCap, SquareCap }
 
enum  LineJoin { MiterJoin = 0, RoundJoin, BevelJoin }
 
enum  LineStyle {
  SolidStyle = 0, DashStyle, DotStyle, DashDotStyle,
  DashDotDotStyle, DashDotDotDotStyle
}
 
enum  LineWidthFlag { IgnoreLineWidth, UseLineWidth }
 

Functions

std::ostream & LibBoard::operator<< (std::ostream &out, const Style &style)
 

Variables

const char * LibBoard::xFigDashStylesPS []
 
const char * LibBoard::xFigDashStylesSVG []
 
const char * LibBoard::xFigDashStylesTikZ []
 

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

Variable Documentation

◆ xFigDashStylesPS

const char * LibBoard::xFigDashStylesPS
Initial value:
= {
" [] 0 sd ",
" [1 1] 0 sd ",
" [1.5 4.5] 45 sd ",
" [4.5 2.3 1.5 2.3] 0 sd ",
" [4.5 2.0 1.5 1.5 1.5 2.0] 0 sd ",
" [4.5 1.8 1.5 1.4 1.5 1.4 1.5 1.8 ] 0 sd "
}

◆ xFigDashStylesSVG

const char * LibBoard::xFigDashStylesSVG
Initial value:
= {
"",
"stroke-dasharray:1,1;stroke-dashoffset:0",
"stroke-dasharray:1.5,4.5;stroke-dashoffset:45",
"stroke-dasharray:4.5,2.3,1.5,2.3;stroke-dashoffset:0",
"stroke-dasharray:4.5,2.0,1.5,1.5,1.5,2.0;stroke-dashoffset;0",
"stroke-dasharray:4.5,1.8,1.5,1.4,1.5,1.4,1.5,1.8;stroke-dashoffset:0"
}

◆ xFigDashStylesTikZ

const char * LibBoard::xFigDashStylesTikZ
Initial value:
= {
"",
"dash pattern=on 1pt off 1pt,",
"dotted,",
"dashdotted,",
"dashdotdotted,",
"dash pattern=on 2pt off 3pt on 4pt off 4pt,"
}