Lines Matching defs:attributes

207 /** returns the attributes for an object, or NULL if it isn't a text,
212 return &SP_TSPAN(object)->attributes;
214 return &SP_TEXT(object)->attributes;
216 return &SP_TREF(object)->attributes;
218 return &SP_TEXTPATH(object)->attributes;
297 Inkscape::Util::List<Inkscape::XML::AttributeRecord const> attributes = old_node->attributeList();
299 for ( ; attributes ; attributes++) {
300 if (attributes->key == id_key) continue;
301 new_node->setAttribute(g_quark_to_string(attributes->key), attributes->value);
332 /** splits the attributes for the first object at the given \a char_index
366 // sort out the copied attributes (x/y/dx/dy/rotate)
470 corresponding new x/y/dx/dy/rotate attributes into all its parents. */
485 TextTagAttributes *attributes = attributes_for_object(parent_item);
486 if (!attributes) break;
487 attributes->insert(char_index, char_count);
691 TextTagAttributes *attributes = attributes_for_object(new_parent_item);
692 if (attributes)
693 attributes->insert(0, moved_char_count);
700 corresponding x/y/dx/dy/rotate attributes from all its parents. */
720 TextTagAttributes *attributes = attributes_for_object(parent_item);
721 if (attributes == NULL) {
725 attributes->erase(char_index, char_count);
726 attributes->writeTo(parent_item->getRepr());
987 /** Returns the attributes block and the character index within that block
1026 TextTagAttributes *attributes = text_tag_attributes_at_position(item, std::min(start, end), &char_index);
1027 if (attributes) attributes->addToDxDy(char_index, by);
1029 attributes = text_tag_attributes_at_position(item, std::max(start, end), &char_index);
1030 if (attributes) attributes->addToDxDy(char_index, -by);
1040 TextTagAttributes *attributes = text_tag_attributes_at_position(item, std::min(start, end), &char_index);
1041 if (attributes) {
1042 attributes->addToDx(char_index, delta);
1045 attributes = text_tag_attributes_at_position(item, std::max(start, end), &char_index);
1046 if (attributes) {
1047 attributes->addToDx(char_index, -delta);
1058 TextTagAttributes *attributes = text_tag_attributes_at_position(item, std::min(start, end), &char_index);
1059 if (attributes) {
1060 attributes->addToDy(char_index, delta);
1063 attributes = text_tag_attributes_at_position(item, std::max(start, end), &char_index);
1064 if (attributes) {
1065 attributes->addToDy(char_index, -delta);
1099 TextTagAttributes *attributes = text_tag_attributes_at_position(text, std::min(start, end), &char_index);
1100 if (attributes == NULL) return;
1104 attributes = text_tag_attributes_at_position(text, it, &char_index);
1105 if (attributes) attributes->addToRotate(char_index, degrees);
1108 attributes->addToRotate(char_index, degrees);
1117 TextTagAttributes *attributes = text_tag_attributes_at_position(text, std::min(start, end), &char_index);
1118 if (attributes != NULL) {
1121 attributes = text_tag_attributes_at_position(text, it, &char_index);
1122 if (attributes) {
1123 attributes->setRotate(char_index, degrees);
1127 attributes->setRotate(char_index, degrees);
1362 // FIXME: this assumes that child's style is only in style= whereas it can also be in css attributes!
1380 /** returns true if \a first and \a second contain all the same attributes
1382 forwards and backwards to make sure we don't miss any attributes that are