Analysis Software
Documentation for sPHENIX simulation software
|
#include <acts/blob/sPHENIX/Plugins/ActSVG/include/Acts/Plugins/ActSVG/SvgUtils.hpp>
Public Member Functions | |
std::tuple < actsvg::style::fill, actsvg::style::stroke > | fillAndStroke () const |
Public Attributes | |
std::array< int, 3 > | fillColor = {255, 255, 255} |
ActsScalar | fillOpacity = 1. |
std::array< int, 3 > | highlightColor = {0, 0, 0} |
std::vector< std::string > | highlights = {} |
ActsScalar | strokeWidth = 0.5 |
std::array< int, 3 > | strokeColor = {0, 0, 0} |
ActsScalar | highlightStrokeWidth = 2 |
std::array< int, 3 > | highlightStrokeColor = {0, 0, 0} |
std::vector< int > | strokeDasharray = {} |
unsigned int | fontSize = 14u |
unsigned int | nSegments = 72u |
Definition at line 23 of file SvgUtils.hpp.
View newest version in sPHENIX GitHub at line 23 of file SvgUtils.hpp
|
inline |
Conversion to fill and stroke object from the base library
Definition at line 46 of file SvgUtils.hpp.
View newest version in sPHENIX GitHub at line 46 of file SvgUtils.hpp
References fillColor, fillOpacity, highlightColor, highlights, highlightStrokeColor, highlightStrokeWidth, str, strokeColor, strokeDasharray, and strokeWidth.
Referenced by Acts::Svg::GridConverter::convert(), Acts::Svg::infoBox(), and Acts::Svg::EventDataConverter::point().
std::array<int, 3> Acts::Svg::Style::fillColor = {255, 255, 255} |
Definition at line 25 of file SvgUtils.hpp.
View newest version in sPHENIX GitHub at line 25 of file SvgUtils.hpp
Referenced by BOOST_AUTO_TEST_CASE(), Acts::Svg::SurfaceConverter::convert(), fillAndStroke(), and generateDrawOptions().
ActsScalar Acts::Svg::Style::fillOpacity = 1. |
Definition at line 26 of file SvgUtils.hpp.
View newest version in sPHENIX GitHub at line 26 of file SvgUtils.hpp
Referenced by BOOST_AUTO_TEST_CASE(), Acts::Svg::SurfaceConverter::convert(), fillAndStroke(), and generateDrawOptions().
unsigned int Acts::Svg::Style::fontSize = 14u |
Definition at line 40 of file SvgUtils.hpp.
View newest version in sPHENIX GitHub at line 40 of file SvgUtils.hpp
Referenced by Acts::Svg::infoBox().
std::array<int, 3> Acts::Svg::Style::highlightColor = {0, 0, 0} |
Definition at line 29 of file SvgUtils.hpp.
View newest version in sPHENIX GitHub at line 29 of file SvgUtils.hpp
Referenced by BOOST_AUTO_TEST_CASE(), Acts::Svg::SurfaceConverter::convert(), fillAndStroke(), and generateDrawOptions().
std::vector<std::string> Acts::Svg::Style::highlights = {} |
Definition at line 30 of file SvgUtils.hpp.
View newest version in sPHENIX GitHub at line 30 of file SvgUtils.hpp
Referenced by BOOST_AUTO_TEST_CASE(), Acts::Svg::SurfaceConverter::convert(), fillAndStroke(), and generateDrawOptions().
std::array<int, 3> Acts::Svg::Style::highlightStrokeColor = {0, 0, 0} |
Definition at line 36 of file SvgUtils.hpp.
View newest version in sPHENIX GitHub at line 36 of file SvgUtils.hpp
Referenced by fillAndStroke(), and generateDrawOptions().
ActsScalar Acts::Svg::Style::highlightStrokeWidth = 2 |
Definition at line 35 of file SvgUtils.hpp.
View newest version in sPHENIX GitHub at line 35 of file SvgUtils.hpp
Referenced by fillAndStroke(), and generateDrawOptions().
unsigned int Acts::Svg::Style::nSegments = 72u |
Definition at line 42 of file SvgUtils.hpp.
View newest version in sPHENIX GitHub at line 42 of file SvgUtils.hpp
Referenced by BOOST_AUTO_TEST_CASE(), Acts::Svg::SurfaceConverter::convert(), and generateDrawOptions().
std::array<int, 3> Acts::Svg::Style::strokeColor = {0, 0, 0} |
Definition at line 33 of file SvgUtils.hpp.
View newest version in sPHENIX GitHub at line 33 of file SvgUtils.hpp
Referenced by BOOST_AUTO_TEST_CASE(), Acts::Svg::SurfaceConverter::convert(), fillAndStroke(), and generateDrawOptions().
std::vector<int> Acts::Svg::Style::strokeDasharray = {} |
Definition at line 38 of file SvgUtils.hpp.
View newest version in sPHENIX GitHub at line 38 of file SvgUtils.hpp
Referenced by fillAndStroke().
ActsScalar Acts::Svg::Style::strokeWidth = 0.5 |
Definition at line 32 of file SvgUtils.hpp.
View newest version in sPHENIX GitHub at line 32 of file SvgUtils.hpp
Referenced by BOOST_AUTO_TEST_CASE(), Acts::Svg::SurfaceConverter::convert(), fillAndStroke(), and generateDrawOptions().