Lines Matching refs:SPUse
43 SPUse::SPUse()
62 sigc::hide(sigc::hide(sigc::mem_fun(this, &SPUse::href_changed)))
66 SPUse::~SPUse() {
77 void SPUse::build(SPDocument *document, Inkscape::XML::Node *repr) {
88 // which will call SPUse::href_changed, and that will take care of the child
91 void SPUse::release() {
109 void SPUse::set(unsigned int key, const gchar* value) {
139 // First, set the href field, because SPUse::href_changed will need it.
162 Inkscape::XML::Node* SPUse::write(Inkscape::XML::Document *xml_doc, Inkscape::XML::Node *repr, guint flags) {
202 Geom::OptRect SPUse::bbox(Geom::Affine const &transform, SPItem::BBoxType bboxtype) const {
214 void SPUse::print(SPPrintContext* ctx) {
232 const char* SPUse::displayName() const {
240 gchar* SPUse::description() const {
275 Inkscape::DrawingItem* SPUse::show(Inkscape::Drawing &drawing, unsigned int key, unsigned int flags) {
277 // std::cout << "SPUse::show: " << (getId()?getId():"null") << std::endl;
297 void SPUse::hide(unsigned int key) {
307 * Returns the ultimate original of a SPUse (i.e. the first object in the chain of its originals
308 * which is not an SPUse). If no original is found, NULL is returned (it is the responsibility
311 * Note that the returned is the clone object, i.e. the child of an SPUse (of the argument one for
314 SPItem *SPUse::root() {
317 SPUse *use = dynamic_cast<SPUse *>(orig);
320 use = dynamic_cast<SPUse *>(orig);
326 SPItem const *SPUse::root() const {
327 return const_cast<SPUse*>(this)->root();
334 int SPUse::cloneDepth() const {
338 while (orig && dynamic_cast<SPUse *>(orig)) {
340 orig = dynamic_cast<SPUse *>(orig)->child;
351 * Returns the effective transform that goes from the ultimate original to given SPUse, both ends
354 Geom::Affine SPUse::get_root_transform() {
361 while (dynamic_cast<SPUse *>(orig)) {
363 orig = dynamic_cast<SPUse *>(orig)->child;
378 SPUse *i_use = dynamic_cast<SPUse *>(i_tem);
396 Geom::Affine SPUse::get_parent_transform() {
412 void SPUse::move_compensate(Geom::Affine const *mp) {
514 void SPUse::href_changed() {
553 sigc::hide(sigc::mem_fun(this, &SPUse::delete_self))
557 sigc::hide(sigc::mem_fun(this, &SPUse::move_compensate))
563 void SPUse::delete_self() {
581 void SPUse::update(SPCtx *ctx, unsigned flags) {
582 // std::cout << "SPUse::update: " << (getId()?getId():"null") << std::endl;
650 void SPUse::modified(unsigned int flags) {
651 // std::cout << "SPUse::modified: " << (getId()?getId():"null") << std::endl;
677 SPItem *SPUse::unlink() {
758 SPItem *SPUse::get_original() {
768 void SPUse::snappoints(std::vector<Inkscape::SnapCandidatePoint> &p, Inkscape::SnapPreferences const *snapprefs) const {