Condensed settings for drawing SVGs.
More...
#include <ogdf/fileformats/GraphIO.h>
|
| | SVGSettings () |
| |
| bool | bezierInterpolation () const |
| | Returns whether Bézier-interpolation for curved edges is enabled.
|
| |
| void | bezierInterpolation (bool enable) |
| | Enables or disables Bézier-interpolation.
|
| |
| double | curviness () const |
| | Returns the curviness of the edges (value ranges from 0 to 1).
|
| |
| void | curviness (double value) |
| | Sets the curviness of all edges (value ranges from 0 to 1).
|
| |
| const string & | fontColor () const |
| | Returns the default font color.
|
| |
| void | fontColor (const string &fc) |
| | Sets the default font color to fc.
|
| |
| const string & | fontFamily () const |
| | Returns the default font family.
|
| |
| void | fontFamily (const string &fm) |
| | Sets the default font family to fm.
|
| |
| int | fontSize () const |
| | Returns the default font size (font height in pixels).
|
| |
| void | fontSize (int fs) |
| | Sets the default font size (font height in pixels) to fs.
|
| |
| const string & | height () const |
| | Returns the default height.
|
| |
| void | height (const string &height) |
| | Sets the height.
|
| |
| double | margin () const |
| | Returns the size of the margin around the drawing.
|
| |
| void | margin (double m) |
| | Sets the size of the margin around the drawing to m.
|
| |
| const string & | width () const |
| | Returns the default width.
|
| |
| void | width (const string &width) |
| | Sets the width.
|
| |
Condensed settings for drawing SVGs.
Definition at line 128 of file GraphIO.h.
◆ SVGSettings()
| ogdf::GraphIO::SVGSettings::SVGSettings |
( |
| ) |
|
◆ bezierInterpolation() [1/2]
| bool ogdf::GraphIO::SVGSettings::bezierInterpolation |
( |
| ) |
const |
|
inline |
Returns whether Bézier-interpolation for curved edges is enabled.
Definition at line 142 of file GraphIO.h.
◆ bezierInterpolation() [2/2]
| void ogdf::GraphIO::SVGSettings::bezierInterpolation |
( |
bool |
enable | ) |
|
|
inline |
Enables or disables Bézier-interpolation.
Definition at line 177 of file GraphIO.h.
◆ curviness() [1/2]
| double ogdf::GraphIO::SVGSettings::curviness |
( |
| ) |
const |
|
inline |
Returns the curviness of the edges (value ranges from 0 to 1).
Definition at line 148 of file GraphIO.h.
◆ curviness() [2/2]
| void ogdf::GraphIO::SVGSettings::curviness |
( |
double |
value | ) |
|
|
inline |
Sets the curviness of all edges (value ranges from 0 to 1).
Definition at line 169 of file GraphIO.h.
◆ fontColor() [1/2]
| const string & ogdf::GraphIO::SVGSettings::fontColor |
( |
| ) |
const |
|
inline |
Returns the default font color.
Definition at line 154 of file GraphIO.h.
◆ fontColor() [2/2]
| void ogdf::GraphIO::SVGSettings::fontColor |
( |
const string & |
fc | ) |
|
|
inline |
Sets the default font color to fc.
Definition at line 183 of file GraphIO.h.
◆ fontFamily() [1/2]
| const string & ogdf::GraphIO::SVGSettings::fontFamily |
( |
| ) |
const |
|
inline |
Returns the default font family.
Definition at line 157 of file GraphIO.h.
◆ fontFamily() [2/2]
| void ogdf::GraphIO::SVGSettings::fontFamily |
( |
const string & |
fm | ) |
|
|
inline |
Sets the default font family to fm.
Definition at line 186 of file GraphIO.h.
◆ fontSize() [1/2]
| int ogdf::GraphIO::SVGSettings::fontSize |
( |
| ) |
const |
|
inline |
Returns the default font size (font height in pixels).
Definition at line 151 of file GraphIO.h.
◆ fontSize() [2/2]
| void ogdf::GraphIO::SVGSettings::fontSize |
( |
int |
fs | ) |
|
|
inline |
Sets the default font size (font height in pixels) to fs.
Definition at line 180 of file GraphIO.h.
◆ height() [1/2]
| const string & ogdf::GraphIO::SVGSettings::height |
( |
| ) |
const |
|
inline |
Returns the default height.
Definition at line 163 of file GraphIO.h.
◆ height() [2/2]
| void ogdf::GraphIO::SVGSettings::height |
( |
const string & |
height | ) |
|
|
inline |
Sets the height.
The value should include a unit of measure (e.g., percentage for relative height or pixel values).
Definition at line 198 of file GraphIO.h.
◆ margin() [1/2]
| double ogdf::GraphIO::SVGSettings::margin |
( |
| ) |
const |
|
inline |
Returns the size of the margin around the drawing.
Definition at line 145 of file GraphIO.h.
◆ margin() [2/2]
| void ogdf::GraphIO::SVGSettings::margin |
( |
double |
m | ) |
|
|
inline |
Sets the size of the margin around the drawing to m.
Definition at line 166 of file GraphIO.h.
◆ width() [1/2]
| const string & ogdf::GraphIO::SVGSettings::width |
( |
| ) |
const |
|
inline |
Returns the default width.
Definition at line 160 of file GraphIO.h.
◆ width() [2/2]
| void ogdf::GraphIO::SVGSettings::width |
( |
const string & |
width | ) |
|
|
inline |
Sets the width.
The value should include a unit of measure (e.g., percentage for relative width or pixel values).
Definition at line 192 of file GraphIO.h.
◆ m_bezierInterpolation
| bool ogdf::GraphIO::SVGSettings::m_bezierInterpolation |
|
private |
◆ m_curviness
| double ogdf::GraphIO::SVGSettings::m_curviness |
|
private |
◆ m_fontColor
| string ogdf::GraphIO::SVGSettings::m_fontColor |
|
private |
◆ m_fontFamily
| string ogdf::GraphIO::SVGSettings::m_fontFamily |
|
private |
◆ m_fontSize
| int ogdf::GraphIO::SVGSettings::m_fontSize |
|
private |
◆ m_height
| string ogdf::GraphIO::SVGSettings::m_height |
|
private |
◆ m_margin
| double ogdf::GraphIO::SVGSettings::m_margin |
|
private |
◆ m_width
| string ogdf::GraphIO::SVGSettings::m_width |
|
private |
The documentation for this class was generated from the following file: