diff options
| author | Peter Moulder <peter.moulder@monash.edu> | 2007-10-31 10:37:16 +0000 |
|---|---|---|
| committer | pjrm <pjrm@users.sourceforge.net> | 2007-10-31 10:37:16 +0000 |
| commit | be6423dcbf2fe198a8d9f23c1e99b557bc8a1c43 (patch) | |
| tree | 0ac5537a5ee010e7201c93f311d5d8551a1cfc7e /src/selection-chemistry.cpp | |
| parent | CodingStyle: const placement. (noop; checked no change to .o file.) (diff) | |
| download | inkscape-be6423dcbf2fe198a8d9f23c1e99b557bc8a1c43.tar.gz inkscape-be6423dcbf2fe198a8d9f23c1e99b557bc8a1c43.zip | |
noop: comment style
(bzr r3989)
Diffstat (limited to 'src/selection-chemistry.cpp')
| -rw-r--r-- | src/selection-chemistry.cpp | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/src/selection-chemistry.cpp b/src/selection-chemistry.cpp index f16e8bdce..ce14bd0f5 100644 --- a/src/selection-chemistry.cpp +++ b/src/selection-chemistry.cpp @@ -598,8 +598,7 @@ sp_item_list_common_parent_group(GSList const *items) return SP_GROUP(parent); } -/** Finds out the minimum common bbox of the selected items - */ +/** Finds out the minimum common bbox of the selected items. */ static NR::Maybe<NR::Rect> enclose_items(GSList const *items) { @@ -649,14 +648,14 @@ sp_selection_raise() Inkscape::XML::Node *grepr = SP_OBJECT_REPR(group); - /* construct reverse-ordered list of selected children */ + /* Construct reverse-ordered list of selected children. */ GSList *rev = g_slist_copy((GSList *) items); rev = g_slist_sort(rev, (GCompareFunc) sp_item_repr_compare_position); - // find out the common bbox of the selected items + // Determine the common bbox of the selected items. NR::Maybe<NR::Rect> selected = enclose_items(items); - // for all objects in the selection (starting from top) + // Iterate over all objects in the selection (starting from top). if (selected) { while (rev) { SPObject *child = SP_OBJECT(rev->data); @@ -744,15 +743,15 @@ sp_selection_lower() Inkscape::XML::Node *grepr = SP_OBJECT_REPR(group); - // find out the common bbox of the selected items + // Determine the common bbox of the selected items. NR::Maybe<NR::Rect> selected = enclose_items(items); - /* construct direct-ordered list of selected children */ + /* Construct direct-ordered list of selected children. */ GSList *rev = g_slist_copy((GSList *) items); rev = g_slist_sort(rev, (GCompareFunc) sp_item_repr_compare_position); rev = g_slist_reverse(rev); - // for all objects in the selection (starting from top) + // Iterate over all objects in the selection (starting from top). if (selected) { while (rev) { SPObject *child = SP_OBJECT(rev->data); |
