scigraphics::wcoord scigraphics::drawer::textWidth( const std::string &Text, const textStyle &Style ) { return Text.length() * Style.getFontSize(); }
scigraphics::wcoord scigraphics::drawer::textHeight( const std::string &Text, const textStyle &Style ) { return Style.getFontSize() * numOfLinesInString(Text); }
scigraphics::wcoord scigraphics::legend::interTextVerticalDistance( const textStyle &Style ) { return std::max<wcoord>( Style.getFontSize()/3, 2 ); }