Inkscape
Vector Graphics Editor
|
Go to the source code of this file.
Functions | |
Path | interpolateToPath (std::vector< Point > const &points, double tolerance_sq, unsigned max_beziers) |
Path | interpolateToPath2 (std::vector< Point > const &points, double tolerance_sq, unsigned max_beziers) |
int | main () |
Variables | |
static const Point | data [] |
static const unsigned int | data_len = sizeof(data)/sizeof(Point) |
Path interpolateToPath | ( | std::vector< Point > const & | points, |
double | tolerance_sq, | ||
unsigned | max_beziers | ||
) |
Definition at line 35 of file bezier-utils-test.cpp.
References Geom::Path::appendNew(), Geom::bezier_fit_cubic_r(), c, and Geom::Path::start().
Referenced by main().
Path interpolateToPath2 | ( | std::vector< Point > const & | points, |
double | tolerance_sq, | ||
unsigned | max_beziers | ||
) |
Definition at line 62 of file bezier-utils-test.cpp.
References Geom::Path::appendNew(), Geom::bezier_fit_cubic_r(), c, and Geom::Path::start().
Referenced by main().
int main | ( | void | ) |
Definition at line 80 of file bezier-utils-test.cpp.
References Geom::bezier_fit_cubic_r(), data, data_len, interpolateToPath(), interpolateToPath2(), Geom::Path::size(), and start.
|
static |
Definition at line 20 of file bezier-utils-test.cpp.
Referenced by Inkscape::UI::Widget::UnitTracker::_adjustmentFinalizedCB(), Inkscape::ObjectSet::_pathBoolOp(), Inkscape::Extension::Internal::PdfImportDialog::_setFonts(), Inkscape::Pixbuf::_setMimeData(), Inkscape::MessageStack::_timeout(), Inkscape::Extension::Internal::_write_callback(), Inkscape::Extension::Internal::_write_ustring_cb(), Inkscape::UI::Dialog::CPHistoryXML::add_operation(), add_rectangle(), bezier_fit(), Geom::bezier_fit_cubic(), Geom::BezierFitter::bezier_fit_cubic(), Geom::bezier_fit_cubic_full(), Geom::BezierFitter::bezier_fit_cubic_full(), Geom::bezier_fit_cubic_r(), Geom::BezierFitter::bezier_fit_cubic_r(), Inkscape::UI::Dialog::DialogNotebook::build_dialog_menu(), Inkscape::UI::Widget::ComboBoxEnum< E >::ComboBoxEnum(), Inkscape::UI::Dialog::CommandPalette::CommandPalette(), convert_pixels_argb32_to_pixbuf(), convert_pixels_pixbuf_to_argb32(), Inkscape::UI::Widget::create_color_plate(), Inkscape::UI::Widget::create_color_preview(), Inkscape::UI::Widget::create_color_wheel(), SPMeshGradient::create_drawing_paintserver(), Inkscape::Pixbuf::create_from_buffer(), Inkscape::Pixbuf::create_from_data_uri(), Inkscape::Pixbuf::create_from_file(), Inkscape::DrawingMeshGradient::create_pattern(), delaytooltip(), Inkscape::UI::Widget::FillNStroke::dragDelayCB(), Inkscape::Extension::DB::effect_internal(), Inkscape::UI::Dialog::LivePathEffectEditor::enable_item_action(), Geom::estimate_bi(), Geom::BezierFitter::estimate_bi(), Geom::estimate_lengths(), Geom::BezierFitter::estimate_lengths(), Inkscape::UI::Dialog::Export::exportRaster(), extract_uri_data(), Inkscape::Extension::Internal::CairoRenderContext::font_data_free(), Inkscape::UI::foreach(), Inkscape::Colors::fromMIMEData(), Inkscape::Trace::gdkPixbufToGrayMap(), Inkscape::Trace::gdkPixbufToRgbMap(), Geom::generate_bezier(), Geom::BezierFitter::generate_bezier(), Inkscape::Colors::CMS::Profile::generate_checksum(), get_cairo_surface_ci(), get_clipboard_text(), Inkscape::UI::get_color_class(), Inkscape::Trace::SioxImage::getGdkPixbuf(), Inkscape::Pixbuf::getMimeData(), Inkscape::Colors::CMS::Profile::getName(), gr_drag_sel_changed(), gr_drag_sel_modified(), gr_drag_style_query(), gr_knot_clicked_handler(), gr_knot_doubleclicked_handler(), gr_knot_mousedown_handler(), gr_knot_moved_handler(), gr_knot_moved_midpoint_handler(), gr_knot_ungrabbed_handler(), Inkscape::Trace::grayMapToGdkPixbuf(), Inkscape::Trace::Potrace::PotraceTracingEngine::grayMapToPath(), Inkscape::Trace::indexedMapToGdkPixbuf(), ink_cairo_pixbuf_cleanup(), ink_cairo_surface_average_color_internal(), Geom::RedBlackTree::inorder_tree_walk(), Inkscape::Extension::DB::input_internal(), Inkscape::IO::GzipInputStream::load(), Toy::load(), main(), Geom::NL::ConstBaseSymmetricMatrix< N >::main_minor_const_view(), Geom::NL::BaseSymmetricMatrix< N >::main_minor_view(), Path::MakePathVector(), Inkscape::Extension::Internal::Metafile::my_png_write_data(), Inkscape::UI::Tools::NodeTool::NodeTool(), Inkscape::UI::Dialog::ObjectsPanel::ObjectsPanel(), Inkscape::UI::Dialog::BatchExport::onProgressCallback(), Inkscape::UI::Dialog::SingleExport::onProgressCallback(), operator new(), operator new(), operator new[](), operator new[](), Inkscape::Extension::DB::output_internal(), Inkscape::Extension::Internal::PdfBuilder::DrawContext::paint_item_to_raster(), Inkscape::Extension::Internal::png_write_vector(), pref_path_to_tool_name(), Inkscape::NRStyle::prepareFill(), Inkscape::NRStyle::prepareStroke(), Inkscape::NRStyle::prepareTextDecorationFill(), Inkscape::NRStyle::prepareTextDecorationStroke(), Inkscape::UI::Dialog::DialogNotebook::provide_scroll(), readOpenTypeSVGTable(), Inkscape::GC::Core::register_finalizer_ignore_self(), Inkscape::Colors::Space::render_hue_scale(), Inkscape::Colors::Space::render_lightness_scale(), Inkscape::Colors::Space::render_saturation_scale(), Inkscape::UI::Dialog::LivePathEffectEditor::setMenu(), Inkscape::UI::Toolbar::Toolbars::setTool(), show_output(), Inkscape::Extension::Implementation::Script::showPopupError(), Inkscape::Trace::SioxImage::SioxImage(), sp_embed_image(), sp_embed_svg(), sp_export_get_rows(), sp_export_png_file(), sp_export_png_file(), sp_png_write_rgba_striped(), sp_repr_css_add_components(), sp_sel_trans_handle_click(), sp_sel_trans_handle_grab(), sp_sel_trans_handle_new_event(), sp_sel_trans_handle_request(), Inkscape::UI::Dialog::sp_styledialog_store_move_to_next(), ss_selection_changed(), ss_selection_modified(), Inkscape::Extension::DB::template_internal(), Inkscape::Trace::Autotrace::AutotraceTracingEngine::trace(), Inkscape::Util::treeify(), Inkscape::UI::Widget::ColorWheelHSL::update_ring_source(), Inkscape::UI::Widget::ColorWheelHSL::update_triangle_source(), Box3D::vp_drag_sel_changed(), Box3D::vp_drag_sel_modified(), Box3D::vp_knot_grabbed_handler(), Box3D::vp_knot_moved_handler(), and Box3D::vp_knot_ungrabbed_handler().
Definition at line 30 of file bezier-utils-test.cpp.
Referenced by main().