SVGLength::convertToSpecifiedUnits

Some clarification please.  The SVGLength::convertToSpecifiedUnits()
method is described as follows:

"Preserve the same value, but convert to the specified unitType. Object
attributes unitType, valueAsSpecified and valueAsString
might be modified as a result of this method."

My inital interpretation of this was that the method is intended to
convert from one unit type to another so that, for example, 5 mm would be
converted to 0.5 cm.  However, on a second reading, the phrase "preserve
the same value" make me wonder if the intention is simply to change the
unit type and to leave the value unchanged so that, in the previous
example, 5mm would be converted to 5cm.  

Which of these two interpretations is the intended one? 

----
Steven Dickson,                        Phone:  +1 (604) 684 7793 x102
Software Devoper,                   Fax: +1 (604) 684 0298 
Savage Software,                    sdickson@savagesoftware.com
Vancouver, BC, CANADA

Received on Wednesday, 7 February 2001 16:39:59 UTC