Swiftray  1.0
svgpp-impl.cpp File Reference
#include <QByteArray>
#include <QMap>
#include <QDebug>
#include <iostream>
#include <parser/svgpp-common.h>
#include <parser/svgpp-defs.h>
#include <parser/contexts/base-context.h>
#include <parser/contexts/group-context.h>
#include <parser/contexts/image-context.h>
#include <parser/contexts/reference-context.h>
#include <parser/contexts/shape-context.h>
#include <parser/contexts/text-context.h>
#include <parser/contexts/use-context.h>
#include <parser/contexts/css-context.h>
#include <parser/contexts/svgpp-doc.h>
#include <layer.h>

Classes

struct  Parser::ChildContextFactories
 

Namespaces

 Parser
 

Typedefs

typedef boost::mpl::protect< boost::mpl::joint_view< traits::shapes_attributes_by_element, traits::viewport_attributes >> Parser::default_process_attribute_t
 
typedef document_traversal< processed_elements< processed_elements_t >, processed_attributes< processed_attributes_t >, viewport_policy< policy::viewport::as_transform >, context_factories< ChildContextFactories >, markers_policy< policy::markers::calculate_always >, color_factory< ColorFactory >, length_policy< policy::length::forward_to_method< BaseContext > >, attribute_traversal_policy< AttributeTraversal >, error_policy< policy::error::default_policy< BaseContext > >, transform_events_policy< policy::transform_events::forward_to_method< BaseContext > > > Parser::document_traversal_t
 
typedef boost::mpl::fold< default_process_attribute_t, boost::mpl::set< tag::attribute::transform, tag::attribute::stroke, tag::attribute::stroke_width, tag::attribute::clip_path, tag::attribute::color, tag::attribute::fill, tag::attribute::mask, tag::attribute::id, tag::attribute::class_, boost::mpl::pair< svgpp::tag::element::use_, svgpp::tag::attribute::xlink::href >, boost::mpl::pair< svgpp::tag::element::image, svgpp::tag::attribute::xlink::href >, boost::mpl::pair< svgpp::tag::element::g, svgpp::tag::attribute::data_strength >, boost::mpl::pair< svgpp::tag::element::g, svgpp::tag::attribute::data_speed >, boost::mpl::pair< svgpp::tag::element::g, svgpp::tag::attribute::data_repeat >, boost::mpl::pair< svgpp::tag::element::g, svgpp::tag::attribute::data_height >, boost::mpl::pair< svgpp::tag::element::g, svgpp::tag::attribute::data_diode >, boost::mpl::pair< svgpp::tag::element::g, svgpp::tag::attribute::data_zstep >, boost::mpl::pair< svgpp::tag::element::g, svgpp::tag::attribute::data_color >, boost::mpl::pair< svgpp::tag::element::g, svgpp::tag::attribute::data_config_name >, boost::mpl::pair< svgpp::tag::element::g, svgpp::tag::attribute::data_name >, tag::attribute::data_original_layer >::type, boost::mpl::insert< boost::mpl::_1, boost::mpl::_2 >>::type Parser::processed_attributes_t
 

Functions

void Parser::svgpp_add_layer (LayerPtr &layer)
 
void Parser::svgpp_add_shape (ShapePtr &shape, QString &layer_name)
 
bool Parser::svgpp_parse (QByteArray &data)
 
void Parser::svgpp_set_active_layer (LayerPtr &layer)
 
void Parser::svgpp_unset_active_layer ()