Lines Matching defs:from
86 // maps unit codes obtained from their abbreviations to their SVGLength unit indexes
530 double Quantity::convert(double from_dist, Unit const *from, Unit const *to)
532 return from->convert(from_dist, to);
534 double Quantity::convert(double from_dist, Glib::ustring const &from, Unit const *to)
536 return convert(from_dist, unit_table.getUnit(from.c_str()), to);
538 double Quantity::convert(double from_dist, Unit const *from, Glib::ustring const &to)
540 return convert(from_dist, from, unit_table.getUnit(to.c_str()));
542 double Quantity::convert(double from_dist, Glib::ustring const &from, Glib::ustring const &to)
544 return convert(from_dist, unit_table.getUnit(from.c_str()), unit_table.getUnit(to.c_str()));
546 double Quantity::convert(double from_dist, char const *from, char const *to)
548 return convert(from_dist, unit_table.getUnit(from), unit_table.getUnit(to));