Esempio n. 1
0
        public static double AttrValue(ShapeUtil.Attribute attr)
        {
            double result = 0;

            GetValueRespectingUnits(attr.Value, out result, 1);
            return(result);
        }
Esempio n. 2
0
        public static double AttrValue(ShapeUtil.Attribute attr)
        {
            double result = 0;
            string units  = string.Empty;

            SplitValueUnits(attr.Value, out result, out units);
            return(result);
        }