Inkscape
Vector Graphics Editor
|
Go to the source code of this file.
Functions | |
void | draw_segment (cairo_t *cr, Point const &p1, Point const &p2) |
void | draw_segment (cairo_t *cr, Point const &p1, double angle, double length) |
void | draw_segment (cairo_t *cr, LineSegment const &ls) |
CubicBezier | create_bezier (Point const &anchor, double angle, double length, double dx1, double dx2, cairo_t *cr=NULL) |
CubicBezier | create_bezier_again (Point const &anchor1, Point const &anchor2, Point const &dir1, Point const &dir2, double, double, double c3, double c4, double mu, cairo_t *cr=NULL) |
CubicBezier | create_bezier_along_curve (Piecewise< D2< SBasis > > const &curve1, Piecewise< D2< SBasis > > const &curve2, double segdist, Coord const t1, Coord const t2, Point const &n, double c1, double c2, double, double, double, cairo_t *cr=NULL) |
int | main (int argc, char **argv) |
Variables | |
int | num = 30 |
vector< double > | c1_bot |
vector< double > | c1_top |
vector< double > | c2_bot |
vector< double > | c2_top |
vector< double > | c3_bot |
vector< double > | c3_top |
vector< double > | c4_bot |
vector< double > | c4_top |
CubicBezier create_bezier | ( | Point const & | anchor, |
double | angle, | ||
double | length, | ||
double | dx1, | ||
double | dx2, | ||
cairo_t * | cr = NULL |
||
) |
Definition at line 57 of file scribble.cpp.
References D, draw_cross(), and Geom::length().
CubicBezier create_bezier_again | ( | Point const & | anchor1, |
Point const & | anchor2, | ||
Point const & | dir1, | ||
Point const & | dir2, | ||
double | , | ||
double | , | ||
double | c3, | ||
double | c4, | ||
double | mu, | ||
cairo_t * | cr = NULL |
||
) |
Definition at line 93 of file scribble.cpp.
References D, and draw_cross().
CubicBezier create_bezier_along_curve | ( | Piecewise< D2< SBasis > > const & | curve1, |
Piecewise< D2< SBasis > > const & | curve2, | ||
double | segdist, | ||
Coord const | t1, | ||
Coord const | t2, | ||
Point const & | n, | ||
double | c1, | ||
double | c2, | ||
double | , | ||
double | , | ||
double | , | ||
cairo_t * | cr = NULL |
||
) |
Definition at line 111 of file scribble.cpp.
References D, and draw_cross().
void draw_segment | ( | cairo_t * | cr, |
LineSegment const & | ls | ||
) |
Definition at line 42 of file scribble.cpp.
References draw_segment().
Definition at line 33 of file scribble.cpp.
References draw_segment(), Geom::length(), Geom::X, and Geom::Y.
Definition at line 27 of file scribble.cpp.
References cairo_line_to(), and cairo_move_to().
Referenced by draw_segment(), and draw_segment().
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 350 of file scribble.cpp.
References init().
vector<double> c1_bot |
Definition at line 48 of file scribble.cpp.
vector<double> c1_top |
Definition at line 49 of file scribble.cpp.
vector<double> c2_bot |
Definition at line 50 of file scribble.cpp.
vector<double> c2_top |
Definition at line 51 of file scribble.cpp.
vector<double> c3_bot |
Definition at line 52 of file scribble.cpp.
vector<double> c3_top |
Definition at line 53 of file scribble.cpp.
vector<double> c4_bot |
Definition at line 54 of file scribble.cpp.
vector<double> c4_top |
Definition at line 55 of file scribble.cpp.
int num = 30 |
Definition at line 47 of file scribble.cpp.
Referenced by Inkscape::DistributionSnapper::_addBBoxForIntersectingBoxes(), Inkscape::UI::Tools::ToolBase::_keyboardMove(), Inkscape::UI::ControlPointSelection::_keyboardMove(), GrDrag::addDraggersLinear(), GrDrag::addDraggersRadial(), Inkscape::Extension::Internal::append_css_num(), SPGaussianBlur::build_renderer(), Inkscape::UI::ControlPointSelection::distribute(), Inkscape::UI::Widget::draw_number(), draw_number(), draw_number(), draw_number(), Geom::estimate_bi(), Geom::BezierFitter::estimate_bi(), gr_midpoint_limits(), Box3D::number_of_axis_directions(), Box3D::VPDragger::numberOfBoxes(), NumberOptNumber::NumberOptNumber(), NumberOptNumber::NumberOptNumber(), objects_query_blur(), Inkscape::UI::Dialog::BatchExport::onExport(), Tracer::Curvature< T >::operator()(), Avoid::rayIntersectPoint(), Inkscape::UI::Tools::SprayTool::root_handler(), Inkscape::UI::Tools::TweakTool::root_handler(), Avoid::segmentIntersectPoint(), SPGaussianBlur::set_deviation(), Inkscape::Filters::FilterTurbulence::set_numOctaves(), Geom::Ellipse::setCoefficients(), NumberOptNumber::setNumber(), Inkscape::SnapCandidatePoint::setSourceNum(), Inkscape::UI::Tools::sp_tweak_color_recursive(), Inkscape::UI::Tools::TweakTool::update_cursor(), Inkscape::UI::Tools::SprayTool::update_cursor(), GrDragger::updateMidstopDependencies(), and Box3D::VPDragger::updateTip().