diff options
| author | Krzysztof Kosi??ski <tweenk.pl@gmail.com> | 2009-02-21 01:59:56 +0000 |
|---|---|---|
| committer | tweenk <tweenk@users.sourceforge.net> | 2009-02-21 01:59:56 +0000 |
| commit | 154165799998cb2cb7491bbd97b0511943a0228e (patch) | |
| tree | 878507e5e42b4651f1bb0805a42c0837528eb314 /src/dialogs/in-dt-coordsys.cpp | |
| parent | Only build static libraries for subdirs than actually contain libraries, (diff) | |
| download | inkscape-154165799998cb2cb7491bbd97b0511943a0228e.tar.gz inkscape-154165799998cb2cb7491bbd97b0511943a0228e.zip | |
Move files from the src/dialogs/ directory to the places where they
should be. Build libinkscape.a - should reduce link time.
(bzr r7337)
Diffstat (limited to 'src/dialogs/in-dt-coordsys.cpp')
| -rw-r--r-- | src/dialogs/in-dt-coordsys.cpp | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/src/dialogs/in-dt-coordsys.cpp b/src/dialogs/in-dt-coordsys.cpp deleted file mode 100644 index 54d9ac326..000000000 --- a/src/dialogs/in-dt-coordsys.cpp +++ /dev/null @@ -1,37 +0,0 @@ -#include "sp-root.h" - -/** Returns true iff \a item is suitable to be included in the selection, in particular - whether it has a bounding box in the desktop coordinate system for rendering resize handles. - - Descendents of <defs> nodes (markers etc.) return false, for example. -*/ -bool in_dt_coordsys(SPObject const &item) -{ - /* Definition based on sp_item_i2doc_affine. */ - SPObject const *child = &item; - g_return_val_if_fail(child != NULL, false); - for(;;) { - if (!SP_IS_ITEM(child)) { - return false; - } - SPObject const * const parent = SP_OBJECT_PARENT(child); - if (parent == NULL) { - break; - } - child = parent; - } - g_assert(SP_IS_ROOT(child)); - /* Relevance: Otherwise, I'm not sure whether to return true or false. */ - return true; -} - -/* - 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:encoding=utf-8:textwidth=99 : |
