blob: c11162381c0d700e66ae21985662b5bb4fb1a85b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
// SPDX-License-Identifier: GPL-2.0-or-later
/** @file
* TODO: insert short description here
*//*
* Authors: see git history
*
* Copyright (C) 2011 Authors
* Released under GNU GPL v2+, read the file 'COPYING' for more information.
*/
/** @file
* @brief Some functions relevant sorting reprs by position within document.
* @todo Functions in this file have non-English names. Determine what they do and rename
* accordingly.
*/
#ifndef SEEN_XML_REPR_SORTING_H
#define SEEN_XML_REPR_SORTING_H
namespace Inkscape {
namespace XML {
class Node;
} // namespace XML
} // namespace Inkscape
Inkscape::XML::Node *LCA(Inkscape::XML::Node *a, Inkscape::XML::Node *b);
Inkscape::XML::Node const *LCA(Inkscape::XML::Node const *a, Inkscape::XML::Node const *b);
/**
* Returns a child of \a ancestor such that ret is itself an ancestor of \a descendent.
*
* The current version returns NULL if ancestor or descendent is NULL, though future versions may
* call g_log. Please update this comment if you rely on the current behaviour.
*/
Inkscape::XML::Node const *AncetreFils(Inkscape::XML::Node const *descendent, Inkscape::XML::Node const *ancestor);
Inkscape::XML::Node *AncetreFils(Inkscape::XML::Node *descendent, Inkscape::XML::Node *ancestor);
#endif // SEEN_XML_REPR_SOTRING_H
/*
Local Variables:
mode:c++
c-file-style:"stroustrup"
c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
indent-tabs-mode:nil
fill-column:99
End:
*/
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 :
|