Searched defs:best (Results 1 - 7 of 7) sorted by relevance

/inkscape/src/2geom/
H A Dsbasis-2d.cpp145 //TODO: more generally, there might be up to 4 solutions. Choose the best one!
176 unsigned best = 0; local
182 best = i;
185 return candidates[best];
H A Dbasic-intersection.cpp285 double best = dot(F, F); local
310 if (trial > best*0.1) {// we have standards, you know
314 best = trial;
358 Point best(s,t);
360 Point trial = best;
364 Point n(EpsilonBy(best[0], nsi),
365 EpsilonBy(best[1], nti));
374 if(trial == best) {
375 //std::cout << "\n" << s << " -> " << s - best[0] << std::endl;
376 //std::cout << t << " -> " << t - best[
[all...]
H A Dpath-intersection.cpp162 double best = dot(F, F); local
192 if (trial > best*0.1) // we have standards, you know
195 best = trial;
/inkscape/src/widgets/
H A Dfont-selector.cpp317 // Find best style match for selected family with current style (e.g. of selected text).
319 Glib::ustring best = fontlister->get_best_style_match (family, style); local
321 // Create our own store of styles for selected font-family and find index of best style match
332 if( best.compare( ((StyleNames*)list->data)->CssName ) == 0 ) {
342 // Get path to best style
346 // Highlight best style. Triggers style changed signal:
506 // We don't need to get best style since this is only called on a new
507 // selection where we already know the "best" style.
/inkscape/src/libnrtype/
H A Dfont-lister.cpp450 // Set fontspec. If check is false, best style match will not be done.
467 // TODO: use to determine font-selector best style
486 // 2. Select best valid style match to old style.
524 // Find best match to the style from the old font-family to the
1001 PangoFontDescription *best = NULL; local
1013 //std::cout << " " << font_description_better_match( target, best, candidate ) << std::endl;
1014 if (font_description_better_match(target, best, candidate)) {
1015 pango_font_description_free(best);
1016 best = candidate;
1025 if (best) {
[all...]
/inkscape/src/helper/
H A Dgeom.cpp203 geom_line_wind_distance (Geom::Coord x0, Geom::Coord y0, Geom::Coord x1, Geom::Coord y1, Geom::Point const &pt, int *wind, Geom::Coord *best) argument
218 if (best) {
231 if (dist2 < (*best * *best)) *best = sqrt (dist2);
264 Geom::Rect *bbox, int *wind, Geom::Coord *best,
291 if (best) {
294 if (len2 < (*best * *best)) *best
259 geom_cubic_bbox_wind_distance(Geom::Coord x000, Geom::Coord y000, Geom::Coord x001, Geom::Coord y001, Geom::Coord x011, Geom::Coord y011, Geom::Coord x111, Geom::Coord y111, Geom::Point const &pt, Geom::Rect *bbox, int *wind, Geom::Coord *best, Geom::Coord tolerance) argument
[all...]
/inkscape/src/display/
H A Dsp-canvas.cpp816 double best = 0.0; local
841 best = dist;
847 return best;

Completed in 34 milliseconds