Lines Matching defs:second
259 * 1 first object's position is greater than the second
260 * -1 first object's position is less than the second
263 int sp_repr_compare_position(Inkscape::XML::Node const *first, Inkscape::XML::Node const *second)
266 if (first->parent() == second->parent()) {
267 /* Basic case - first and second have same parent */
269 p2 = second->position();
276 Inkscape::XML::Node const *ancestor = LCA(first, second);
281 } else if (ancestor == second) {
285 Inkscape::XML::Node const *to_second = AncetreFils(second, ancestor);
297 (i.e. that the parent really does contain first and second among
300 == second).
313 bool sp_repr_compare_position_bool(Inkscape::XML::Node const *first, Inkscape::XML::Node const *second){
314 return sp_repr_compare_position(first, second)<0;