~centralelyon2010/inkscape/imagelinks2

« back to all changes in this revision

Viewing changes to src/sp-flowtext.cpp

  • Committer: Ted Gould
  • Date: 2008-11-21 05:24:08 UTC
  • Revision ID: ted@canonical.com-20081121052408-tilucis2pjrrpzxx
MergeĀ fromĀ fe-moved

Show diffs side-by-side

added added

removed removed

Lines of Context:
352
352
    NRRect pbox;
353
353
    sp_item_invoke_bbox(item, &pbox, Geom::identity(), TRUE);
354
354
    NRRect bbox;
355
 
    boost::optional<Geom::Rect> bbox_maybe = sp_item_bbox_desktop(item);
 
355
    Geom::OptRect bbox_maybe = sp_item_bbox_desktop(item);
356
356
    if (!bbox_maybe) {
357
357
        return;
358
358
    }
577
577
                sp_repr_set_svg_double(span_tspan, "x", anchor_point[Geom::X]);  // FIXME: this will pick up the wrong end of counter-directional runs
578
578
            if (set_y)
579
579
                sp_repr_set_svg_double(span_tspan, "y", anchor_point[Geom::Y]);
 
580
            if (line_tspan->childCount() == 0) {
 
581
                sp_repr_set_svg_double(line_tspan, "x", anchor_point[Geom::X]);  // FIXME: this will pick up the wrong end of counter-directional runs
 
582
                sp_repr_set_svg_double(line_tspan, "y", anchor_point[Geom::Y]);
 
583
            }
580
584
 
581
585
            SPObject *source_obj = 0;
582
586
            void *rawptr = 0;