NovaSVG 0.10.0
A header-only SVG library
Loading...
Searching...
No Matches
svgparser.hpp File Reference
#include <cassert>
#include <unordered_map>
#include "default_font.h"
Include dependency graph for svgparser.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  novasvg::AttributeSelector
 
struct  novasvg::PseudoClassSelector
 
struct  novasvg::SimpleSelector
 
struct  novasvg::Declaration
 
struct  novasvg::Rule
 
class  novasvg::RuleData
 
struct  novasvg::HtmlNode
 
struct  novasvg::StyleNode
 
struct  novasvg::CascadedValue
 
class  novasvg::RuleIndex
 

Namespaces

namespace  novasvg
 Main namespace for the NovaSVG library.
 

Typedefs

using novasvg::Selector = std::vector< SimpleSelector >
 
using novasvg::SelectorList = std::vector< Selector >
 
using novasvg::DeclarationList = std::vector< Declaration >
 
using novasvg::RuleDataList = std::vector< RuleData >
 

Functions

bool novasvg::operator< (const RuleData &a, const RuleData &b)
 
NOVASVG_INLINE constexpr bool novasvg::equals (std::string_view value, std::string_view subvalue)
 
NOVASVG_INLINE constexpr bool novasvg::contains (std::string_view value, std::string_view subvalue)
 
NOVASVG_INLINE constexpr bool novasvg::includes (std::string_view value, std::string_view subvalue)
 
NOVASVG_INLINE constexpr bool novasvg::startswith (std::string_view value, std::string_view subvalue)
 
NOVASVG_INLINE constexpr bool novasvg::endswith (std::string_view value, std::string_view subvalue)
 
NOVASVG_INLINE constexpr bool novasvg::dashequals (std::string_view value, std::string_view subvalue)
 
constexpr bool novasvg::IS_CSS_STARTNAMECHAR (int c)
 
constexpr bool novasvg::IS_CSS_NAMECHAR (int c)
 
bool novasvg::readCSSIdentifier (std::string_view &input, std::string &output)
 
FontFace novasvg::embeddedFallbackFont (bool bold=false, bool italic=false)
 
bool novasvg::stripImportantFlag (std::string &value)
 
void novasvg::parseInlineStyle (std::string_view input, SVGElement *element)
 
void novasvg::removeStyleComments (std::string &value)
 
bool novasvg::decodeText (std::string_view input, std::string &output)
 
constexpr bool novasvg::IS_STARTNAMECHAR (int c)
 
constexpr bool novasvg::IS_NAMECHAR (int c)
 
bool novasvg::readIdentifier (std::string_view &input, std::string &output)