Condensed settings for drawing SVGs.
More...
#include <ogdf/fileformats/GraphIO.h>
Condensed settings for drawing SVGs.
Definition at line 116 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 130 of file GraphIO.h.
◆ bezierInterpolation() [2/2]
void ogdf::GraphIO::SVGSettings::bezierInterpolation |
( |
bool |
enable | ) |
|
|
inline |
Enables or disables Bézier-interpolation.
Definition at line 165 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 136 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 157 of file GraphIO.h.
◆ fontColor() [1/2]
const string & ogdf::GraphIO::SVGSettings::fontColor |
( |
| ) |
const |
|
inline |
Returns the default font color.
Definition at line 142 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 171 of file GraphIO.h.
◆ fontFamily() [1/2]
const string & ogdf::GraphIO::SVGSettings::fontFamily |
( |
| ) |
const |
|
inline |
Returns the default font family.
Definition at line 145 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 174 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 139 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 168 of file GraphIO.h.
◆ height() [1/2]
const string & ogdf::GraphIO::SVGSettings::height |
( |
| ) |
const |
|
inline |
Returns the default height.
Definition at line 151 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 186 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 133 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 154 of file GraphIO.h.
◆ width() [1/2]
const string & ogdf::GraphIO::SVGSettings::width |
( |
| ) |
const |
|
inline |
Returns the default width.
Definition at line 148 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 180 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: