Blender V4.3
grease_pencil_io_export_svg.cc File Reference
#include "BKE_attribute.hh"
#include "BKE_curves.hh"
#include "BKE_material.h"
#include "BLI_color.hh"
#include "BLI_math_matrix.hh"
#include "BLI_offset_indices.hh"
#include "BLI_string.h"
#include "BLI_task.hh"
#include "BLI_vector.hh"
#include "BLI_virtual_array.hh"
#include "BKE_grease_pencil.hh"
#include "DNA_material_types.h"
#include "DNA_object_types.h"
#include "DEG_depsgraph_query.hh"
#include "DNA_view3d_types.h"
#include "GEO_resample_curves.hh"
#include "ED_grease_pencil.hh"
#include "ED_view3d.hh"
#include "grease_pencil_io_intern.hh"
#include <fmt/core.h>
#include <fmt/format.h>
#include <numeric>
#include <optional>
#include <pugixml.hpp>

Go to the source code of this file.

Classes

class  blender::io::grease_pencil::SVGExporter
 

Namespaces

namespace  blender
 
namespace  blender::io
 
namespace  blender::io::grease_pencil
 

Functions

static std::string blender::io::grease_pencil::rgb_to_hexstr (const float color[3])
 
static void blender::io::grease_pencil::write_stroke_color_attribute (pugi::xml_node node, const ColorGeometry4f &stroke_color, const float stroke_opacity, const bool round_cap)
 
static void blender::io::grease_pencil::write_fill_color_attribute (pugi::xml_node node, const ColorGeometry4f &fill_color, const float layer_opacity)
 
static void blender::io::grease_pencil::write_rect (pugi::xml_node node, const float x, const float y, const float width, const float height, const float thickness, const std::string &hexcolor)
 
bool blender::io::grease_pencil::export_svg (const IOContext &context, const ExportParams &params, Scene &scene, StringRefNull filepath)
 

Variables

constexpr const char * blender::io::grease_pencil::svg_exporter_name = "SVG Export for Grease Pencil"
 
constexpr const char * blender::io::grease_pencil::svg_exporter_version = "v2.0"