|
Blender V4.3
|
#include "BKE_attribute.hh"#include "BKE_main.hh"#include "BLI_assert.h"#include "BLI_bounds.hh"#include "BLI_color.hh"#include "BLI_math_color.h"#include "BLI_math_euler_types.hh"#include "BLI_math_matrix.hh"#include "BLI_math_rotation.h"#include "BLI_math_vector.hh"#include "BLI_offset_indices.hh"#include "BLI_path_utils.hh"#include "BKE_curves.hh"#include "BKE_grease_pencil.hh"#include "BKE_report.hh"#include "BLI_string.h"#include "DNA_grease_pencil_types.h"#include "DNA_space_types.h"#include "DNA_windowmanager_types.h"#include "GEO_resample_curves.hh"#include "ED_grease_pencil.hh"#include "grease_pencil_io_intern.hh"#include "nanosvg.h"#include <fmt/core.h>#include <fmt/format.h>Go to the source code of this file.
Classes | |
| class | blender::io::grease_pencil::SVGImporter |
Namespaces | |
| namespace | blender |
| namespace | blender::io |
| namespace | blender::io::grease_pencil |
Functions | |
| static std::string | blender::io::grease_pencil::get_layer_id (const NSVGshape &shape, const int prefix) |
| static ColorGeometry4f | blender::io::grease_pencil::unpack_nano_color (const uint pack) |
| static ColorGeometry4f | blender::io::grease_pencil::average_gradient_color (const NSVGgradient &svg_gradient) |
| static ColorGeometry4f | blender::io::grease_pencil::convert_svg_color (const NSVGpaint &svg_paint) |
| static IndexRange | blender::io::grease_pencil::extend_curves_geometry (bke::CurvesGeometry &curves, const NSVGshape &shape) |
| static void | blender::io::grease_pencil::shape_attributes_to_curves (bke::CurvesGeometry &curves, const NSVGshape &shape, const IndexRange curves_range, const float4x4 &transform, const int material_index) |
| static void | blender::io::grease_pencil::shift_to_bounds_center (GreasePencil &grease_pencil) |
| bool | blender::io::grease_pencil::import_svg (const IOContext &context, const ImportParams ¶ms, StringRefNull filepath) |