예제 #1
0
        protected virtual void Parse(ShapeUtil.Attribute attr)
        {
            string name  = attr.Name;
            string value = attr.Value;

            Parse(name, value);
        }
예제 #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);
        }