Hi,

 

I am unable to get the stroke width for the path item in “mm”,

 

Inkscape::Util::Unit const *const unit = unitSelector->getUnit();

for (std::vector<SPItem*>::const_iterator i = items.begin(); i != items.end(); ++i) {

                    

double sw = (*i)->style->stroke_width.computed;

double ei = Inkscape::Util::Quantity::convert(sw, unit, "mm");

 

Please suggest proper way to get.

 

Regards,

Sarathy