example/public/ueditor/third-party/highcharts/modules/canvas-tools.src.js
function(viewPort) {
					if (!that.hasValue()) return 0;
					var s = that.value+'';
					if (s.match(/em$/)) return that.numValue() * this.EM(viewPort);
					if (s.match(/ex$/)) return that.numValue() * this.EM(viewPort) / 2.0;
					if (s.match(/px$/)) return that.numValue();
					if (s.match(/pt$/)) return that.numValue() * 1.25;
					if (s.match(/pc$/)) return that.numValue() * 15;
					if (s.match(/cm$/)) return that.numValue() * this.DPI(viewPort) / 2.54;
					if (s.match(/mm$/)) return that.numValue() * this.DPI(viewPort) / 25.4;
					if (s.match(/in$/)) return that.numValue() * this.DPI(viewPort);
					if (s.match(/%$/)) return that.numValue() * svg.ViewPort.ComputeSize(viewPort);
					return that.numValue();
				}
function(viewPort) {
					if (!that.hasValue()) return 0;
					var s = that.value+'';
					if (s.match(/em$/)) return that.numValue() * this.EM(viewPort);
					if (s.match(/ex$/)) return that.numValue() * this.EM(viewPort) / 2.0;
					if (s.match(/px$/)) return that.numValue();
					if (s.match(/pt$/)) return that.numValue() * 1.25;
					if (s.match(/pc$/)) return that.numValue() * 15;
					if (s.match(/cm$/)) return that.numValue() * this.DPI(viewPort) / 2.54;
					if (s.match(/mm$/)) return that.numValue() * this.DPI(viewPort) / 25.4;
					if (s.match(/in$/)) return that.numValue() * this.DPI(viewPort);
					if (s.match(/%$/)) return that.numValue() * svg.ViewPort.ComputeSize(viewPort);
					return that.numValue();
				}
function ( viewPort ) { if ( ! that . hasValue ( ) ) return 0 ; var s = that . value + '' ; if ( s . match ( / em$ / ) ) return that . numValue ( ) * this . EM ( viewPort ) ; if ( s . match ( / ex$ / ) ) return that . numValue ( ) * this . EM ( viewPort ) / 2.0 ; if ( s . match ( / px$ / ) ) return that . numValue ( ) ; if ( s . match ( / pt$ / ) ) return that . numValue ( ) * 1.25 ; if ( s . match ( / pc$ / ) ) return that . numValue ( ) * 15 ; if ( s . match ( / cm$ / ) ) return that . numValue ( ) * this . DPI ( viewPort ) / 2.54 ; if ( s . match ( / mm$ / ) ) return that . numValue ( ) * this . DPI ( viewPort ) / 25.4 ; if ( s . match ( / in$ / ) ) return that . numValue ( ) * this . DPI ( viewPort ) ; if ( s . match ( / %$ / ) ) return that . numValue ( ) * svg . ViewPort . ComputeSize ( viewPort ) ; return that . numValue ( ) ; }
get the length as pixels
get the length as pixels