Lines Matching defs:objects
115 // 1. tspans with role=line are not regular objects in that they are not supposed to have style of their own,
232 // Do this once in case a zillion objects are selected.
442 stroke_average_width (const std::vector<SPItem*> &objects)
444 if (objects.empty())
450 for (std::vector<SPItem*>::const_iterator i = objects.begin(); i != objects.end(); ++i) {
461 ++n_notstroked; // do not count nonstroked objects
473 return avgwidth / (objects.size() - n_notstroked);
491 * Write to style_res the average fill or stroke of list of objects, if applicable.
494 objects_query_fillstroke (const std::vector<SPItem*> &objects, SPStyle *style_res, bool const isfill)
496 if (objects.empty()) {
497 /* No objects, set empty */
516 for (std::vector<SPItem*>::const_iterator i = objects.begin(); i!= objects.end(); ++i) {
643 // After all objects processed, divide the color if necessary and return
676 if (objects.size() > 1) {
684 * Write to style_res the average opacity of a list of objects.
687 objects_query_opacity (const std::vector<SPItem*> &objects, SPStyle *style_res)
689 if (objects.empty()) {
690 /* No objects, set empty */
700 for (std::vector<SPItem*>::const_iterator i = objects.begin(); i != objects.end(); ++i) {
738 * Write to style_res the average stroke width of a list of objects.
741 objects_query_strokewidth (const std::vector<SPItem*> &objects, SPStyle *style_res)
743 if (objects.empty()) {
744 /* No objects, set empty */
756 for (std::vector<SPItem*>::const_iterator i = objects.begin(); i != objects.end(); ++i) {
799 style_res->stroke.noneSet = noneSet; // Will only be true if none of the selected objects has it's stroke set.
814 * Write to style_res the average miter limit of a list of objects.
817 objects_query_miterlimit (const std::vector<SPItem*> &objects, SPStyle *style_res)
819 if (objects.empty()) {
820 /* No objects, set empty */
830 for (std::vector<SPItem*>::const_iterator i = objects.begin(); i != objects.end(); ++i) {
874 * Write to style_res the stroke cap of a list of objects.
877 objects_query_strokecap (const std::vector<SPItem*> &objects, SPStyle *style_res)
879 if (objects.empty()) {
880 /* No objects, set empty */
888 for (std::vector<SPItem*>::const_iterator i = objects.begin(); i != objects.end(); ++i) {
925 * Write to style_res the stroke join of a list of objects.
928 objects_query_strokejoin (const std::vector<SPItem*> &objects, SPStyle *style_res)
930 if (objects.empty()) {
931 /* No objects, set empty */
939 for (std::vector<SPItem*>::const_iterator i = objects.begin(); i != objects.end(); ++i) {
977 * Write to style_res the paint order of a list of objects.
980 objects_query_paintorder (const std::vector<SPItem*> &objects, SPStyle *style_res)
982 if (objects.empty()) {
983 /* No objects, set empty */
991 for (std::vector<SPItem*>::const_iterator i = objects.begin(); i != objects.end(); ++i) {
1033 * Write to style_res the average font size and spacing of objects.
1036 objects_query_fontnumbers (const std::vector<SPItem*> &objects, SPStyle *style_res)
1061 for (std::vector<SPItem*>::const_iterator i = objects.begin(); i != objects.end(); ++i) {
1223 * Write to style_res the average font style of objects.
1226 objects_query_fontstyle (const std::vector<SPItem*> &objects, SPStyle *style_res)
1233 for (std::vector<SPItem*>::const_iterator i = objects.begin(); i != objects.end(); ++i) {
1280 objects_query_fontvariants (const std::vector<SPItem*> &objects, SPStyle *style_res)
1303 for (std::vector<SPItem*>::const_iterator i = objects.begin(); i != objects.end(); ++i) {
1321 // computed stores which bits are on/off, only valid if same between all selected objects.
1322 // value stores which bits are different between objects. This is a bit of an abuse of
1368 * Write to style_res the average writing modes style of objects.
1371 objects_query_writing_modes (const std::vector<SPItem*> &objects, SPStyle *style_res)
1378 for (std::vector<SPItem*>::const_iterator i = objects.begin(); i != objects.end(); ++i) {
1418 objects_query_fontfeaturesettings (const std::vector<SPItem*> &objects, SPStyle *style_res)
1429 for (std::vector<SPItem*>::const_iterator i = objects.begin(); i != objects.end(); ++i) {
1478 objects_query_baselines (const std::vector<SPItem*> &objects, SPStyle *style_res)
1484 // If baseline-shift is same for all objects:
1497 for (std::vector<SPItem*>::const_iterator i = objects.begin(); i != objects.end(); ++i) {
1571 * Write to style_res the average font family of objects.
1574 objects_query_fontfamily (const std::vector<SPItem*> &objects, SPStyle *style_res)
1585 for (std::vector<SPItem*>::const_iterator i = objects.begin(); i != objects.end(); ++i) {
1630 objects_query_fontspecification (const std::vector<SPItem*> &objects, SPStyle *style_res)
1641 for (std::vector<SPItem*>::const_iterator i = objects.begin(); i != objects.end(); ++i) {
1690 objects_query_blend (const std::vector<SPItem*> &objects, SPStyle *style_res)
1699 for (std::vector<SPItem*>::const_iterator i = objects.begin(); i != objects.end(); ++i) {
1773 * Write to style_res the average blurring of a list of objects.
1776 objects_query_blur (const std::vector<SPItem*> &objects, SPStyle *style_res)
1778 if (objects.empty()) {
1779 /* No objects, set empty */
1789 for (std::vector<SPItem*>::const_iterator i = objects.begin(); i != objects.end(); ++i) {
1854 * Query the given list of objects for the given property, write