index 92baa7b810ee028c923508948bf40e8386b4ff0b..2cd21a560152b7e556b4e777020f7096761c44f7 100644 (file)
Transformation::onSwitchPage(GtkNotebookPage *page,
guint pagenum)
{
Transformation::onSwitchPage(GtkNotebookPage *page,
guint pagenum)
{
- updateSelection((PageType)pagenum, SP_DT_SELECTION(SP_ACTIVE_DESKTOP));
+ updateSelection((PageType)pagenum, sp_desktop_selection(SP_ACTIVE_DESKTOP));
}
void
}
void
x - bbox.min()[NR::X], y - bbox.min()[NR::Y]);
}
x - bbox.min()[NR::X], y - bbox.min()[NR::Y]);
}
- sp_document_done ( SP_DT_DOCUMENT (selection->desktop()) );
+ sp_document_done ( sp_desktop_document (selection->desktop()) , SP_VERB_DIALOG_TRANSFORM,
+ /* TODO: annotate */ "transformation.cpp:585");
}
void
}
void
sp_selection_scale_relative(selection, center, scale);
}
sp_selection_scale_relative(selection, center, scale);
}
- sp_document_done(SP_DT_DOCUMENT(selection->desktop()));
+ sp_document_done(sp_desktop_document(selection->desktop()), SP_VERB_DIALOG_TRANSFORM,
+ /* TODO: annotate */ "transformation.cpp:637");
}
void
}
void
sp_selection_rotate_relative(selection, center, angle);
}
sp_selection_rotate_relative(selection, center, angle);
}
- sp_document_done(SP_DT_DOCUMENT(selection->desktop()));
+ sp_document_done(sp_desktop_document(selection->desktop()), SP_VERB_DIALOG_TRANSFORM,
+ /* TODO: annotate */ "transformation.cpp:656");
}
void
}
void
}
}
}
}
- sp_document_done(SP_DT_DOCUMENT(selection->desktop()));
+ sp_document_done(sp_desktop_document(selection->desktop()), SP_VERB_DIALOG_TRANSFORM,
+ /* TODO: annotate */ "transformation.cpp:709");
}
}
for (GSList const *l = selection->itemList(); l != NULL; l = l->next) {
SPItem *item = SP_ITEM(l->data);
sp_item_set_item_transform(item, displayed);
for (GSList const *l = selection->itemList(); l != NULL; l = l->next) {
SPItem *item = SP_ITEM(l->data);
sp_item_set_item_transform(item, displayed);
+ SP_OBJECT(item)->updateRepr();
}
} else {
sp_selection_apply_affine(selection, displayed); // post-multiply each object's transform
}
}
} else {
sp_selection_apply_affine(selection, displayed); // post-multiply each object's transform
}
- sp_document_done(SP_DT_DOCUMENT(selection->desktop()));
+ sp_document_done(sp_desktop_document(selection->desktop()), SP_VERB_DIALOG_TRANSFORM,
+ /* TODO: annotate */ "transformation.cpp:736");
}
}