亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? path.js

?? 這是一個ajax的例子大家好好的看看就是一個魚眼的效果
?? JS
字號:
if(!dojo._hasResource["dojox.gfx.path"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code.dojo._hasResource["dojox.gfx.path"] = true;dojo.provide("dojox.gfx.path");dojo.require("dojox.gfx.shape");dojo.declare("dojox.gfx.path.Path", dojox.gfx.Shape, {	// summary: a generalized path shape		constructor: function(rawNode){		// summary: a path constructor		// rawNode: Node: a DOM node to be used by this path object		this.shape = dojo.clone(dojox.gfx.defaultPath);		this.segments = [];		this.absolute = true;		this.last = {};		this.rawNode = rawNode;	},		// mode manipulations	setAbsoluteMode: function(mode){		// summary: sets an absolute or relative mode for path points		// mode: Boolean: true/false or "absolute"/"relative" to specify the mode		this.absolute = typeof mode == "string" ? (mode == "absolute") : mode;		return this; // self	},	getAbsoluteMode: function(){		// summary: returns a current value of the absolute mode		return this.absolute; // Boolean	},		getBoundingBox: function(){		// summary: returns the bounding box {x, y, width, height} or null		return (this.bbox && ("l" in this.bbox)) ? {x: this.bbox.l, y: this.bbox.t, width: this.bbox.r - this.bbox.l, height: this.bbox.b - this.bbox.t} : null; // dojox.gfx.Rectangle	},		getLastPosition: function(){		// summary: returns the last point in the path, or null		return "x" in this.last ? this.last : null; // Object	},		// segment interpretation	_updateBBox: function(x, y){		// summary: updates the bounding box of path with new point		// x: Number: an x coordinate		// y: Number: a y coordinate				// we use {l, b, r, t} representation of a bbox		if(this.bbox && ("l" in this.bbox)){			if(this.bbox.l > x) this.bbox.l = x;			if(this.bbox.r < x) this.bbox.r = x;			if(this.bbox.t > y) this.bbox.t = y;			if(this.bbox.b < y) this.bbox.b = y;		}else{			this.bbox = {l: x, b: y, r: x, t: y};		}	},	_updateWithSegment: function(segment){		// summary: updates the bounding box of path with new segment		// segment: Object: a segment		var n = segment.args, l = n.length;		// update internal variables: bbox, absolute, last		switch(segment.action){			case "M":			case "L":			case "C":			case "S":			case "Q":			case "T":				for(var i = 0; i < l; i += 2){					this._updateBBox(n[i], n[i + 1]);				}				this.last.x = n[l - 2];				this.last.y = n[l - 1];				this.absolute = true;				break;			case "H":				for(var i = 0; i < l; ++i){					this._updateBBox(n[i], this.last.y);				}				this.last.x = n[l - 1];				this.absolute = true;				break;			case "V":				for(var i = 0; i < l; ++i){					this._updateBBox(this.last.x, n[i]);				}				this.last.y = n[l - 1];				this.absolute = true;				break;			case "m":				var start = 0;				if(!("x" in this.last)){					this._updateBBox(this.last.x = n[0], this.last.y = n[1]);					start = 2;				}				for(var i = start; i < l; i += 2){					this._updateBBox(this.last.x += n[i], this.last.y += n[i + 1]);				}				this.absolute = false;				break;			case "l":			case "t":				for(var i = 0; i < l; i += 2){					this._updateBBox(this.last.x += n[i], this.last.y += n[i + 1]);				}				this.absolute = false;				break;			case "h":				for(var i = 0; i < l; ++i){					this._updateBBox(this.last.x += n[i], this.last.y);				}				this.absolute = false;				break;			case "v":				for(var i = 0; i < l; ++i){					this._updateBBox(this.last.x, this.last.y += n[i]);				}				this.absolute = false;				break;			case "c":				for(var i = 0; i < l; i += 6){					this._updateBBox(this.last.x + n[i], this.last.y + n[i + 1]);					this._updateBBox(this.last.x + n[i + 2], this.last.y + n[i + 3]);					this._updateBBox(this.last.x += n[i + 4], this.last.y += n[i + 5]);				}				this.absolute = false;				break;			case "s":			case "q":				for(var i = 0; i < l; i += 4){					this._updateBBox(this.last.x + n[i], this.last.y + n[i + 1]);					this._updateBBox(this.last.x += n[i + 2], this.last.y += n[i + 3]);				}				this.absolute = false;				break;			case "A":				for(var i = 0; i < l; i += 7){					this._updateBBox(n[i + 5], n[i + 6]);				}				this.last.x = n[l - 2];				this.last.y = n[l - 1];				this.absolute = true;				break;			case "a":				for(var i = 0; i < l; i += 7){					this._updateBBox(this.last.x += n[i + 5], this.last.y += n[i + 6]);				}				this.absolute = false;				break;		}		// add an SVG path segment		var path = [segment.action];		for(var i = 0; i < l; ++i){			path.push(dojox.gfx.formatNumber(n[i], true));		}		if(typeof this.shape.path == "string"){			this.shape.path += path.join("");		}else{			var l = path.length, a = this.shape.path;			for(var i = 0; i < l; ++i){				a.push(path[i]);			}		}	},		// a dictionary, which maps segment type codes to a number of their argemnts	_validSegments: {m: 2, l: 2, h: 1, v: 1, c: 6, s: 4, q: 4, t: 2, a: 7, z: 0},		_pushSegment: function(action, args){		// summary: adds a segment		// action: String: valid SVG code for a segment's type		// args: Array: a list of parameters for this segment		var group = this._validSegments[action.toLowerCase()];		if(typeof group == "number"){			if(group){				if(args.length >= group){					var segment = {action: action, args: args.slice(0, args.length - args.length % group)};					this.segments.push(segment);					this._updateWithSegment(segment);				}			}else{				var segment = {action: action, args: []};				this.segments.push(segment);				this._updateWithSegment(segment);			}		}	},		_collectArgs: function(array, args){		// summary: converts an array of arguments to plain numeric values		// array: Array: an output argument (array of numbers)		// args: Array: an input argument (can be values of Boolean, Number, dojox.gfx.Point, or an embedded array of them)		for(var i = 0; i < args.length; ++i){			var t = args[i];			if(typeof t == "boolean"){				array.push(t ? 1 : 0);			}else if(typeof t == "number"){				array.push(t);			}else if(t instanceof Array){				this._collectArgs(array, t);			}else if("x" in t && "y" in t){				array.push(t.x, t.y);			}		}	},	// segments		moveTo: function(){		// summary: formes a move segment		var args = [];		this._collectArgs(args, arguments);		this._pushSegment(this.absolute ? "M" : "m", args);		return this; // self	},	lineTo: function(){		// summary: formes a line segment		var args = [];		this._collectArgs(args, arguments);		this._pushSegment(this.absolute ? "L" : "l", args);		return this; // self	},	hLineTo: function(){		// summary: formes a horizontal line segment		var args = [];		this._collectArgs(args, arguments);		this._pushSegment(this.absolute ? "H" : "h", args);		return this; // self	},	vLineTo: function(){		// summary: formes a vertical line segment		var args = [];		this._collectArgs(args, arguments);		this._pushSegment(this.absolute ? "V" : "v", args);		return this; // self	},	curveTo: function(){		// summary: formes a curve segment		var args = [];		this._collectArgs(args, arguments);		this._pushSegment(this.absolute ? "C" : "c", args);		return this; // self	},	smoothCurveTo: function(){		// summary: formes a smooth curve segment		var args = [];		this._collectArgs(args, arguments);		this._pushSegment(this.absolute ? "S" : "s", args);		return this; // self	},	qCurveTo: function(){		// summary: formes a quadratic curve segment		var args = [];		this._collectArgs(args, arguments);		this._pushSegment(this.absolute ? "Q" : "q", args);		return this; // self	},	qSmoothCurveTo: function(){		// summary: formes a quadratic smooth curve segment		var args = [];		this._collectArgs(args, arguments);		this._pushSegment(this.absolute ? "T" : "t", args);		return this; // self	},	arcTo: function(){		// summary: formes an elliptic arc segment		var args = [];		this._collectArgs(args, arguments);		this._pushSegment(this.absolute ? "A" : "a", args);		return this; // self	},	closePath: function(){		// summary: closes a path		this._pushSegment("Z", []);		return this; // self	},		// setShape	_setPath: function(path){		// summary: forms a path using an SVG path string		// path: String: an SVG path string		var p = dojo.isArray(path) ? path : path.match(dojox.gfx.pathSvgRegExp);		this.segments = [];		this.absolute = true;		this.bbox = {};		this.last = {};		if(!p) return;		// create segments		var action = "",	// current action			args = [],		// current arguments			l = p.length;		for(var i = 0; i < l; ++i){			var t = p[i], x = parseFloat(t);			if(isNaN(x)){				if(action){					this._pushSegment(action, args);				}				args = [];				action = t;			}else{				args.push(x);			}		}		this._pushSegment(action, args);	},	setShape: function(newShape){		// summary: forms a path using a shape		// newShape: Object: an SVG path string or a path object (see dojox.gfx.defaultPath)		dojox.gfx.Shape.prototype.setShape.call(this, typeof newShape == "string" ? {path: newShape} : newShape);		var path = this.shape.path;		// switch to non-updating version of path building		this.shape.path = [];		this._setPath(path);		// switch back to the string path		this.shape.path = this.shape.path.join("");		return this; // self	},		// useful constant for descendants	_2PI: Math.PI * 2});dojo.declare("dojox.gfx.path.TextPath", dojox.gfx.path.Path, {	// summary: a generalized TextPath shape	constructor: function(rawNode){		// summary: a TextPath shape constructor		// rawNode: Node: a DOM node to be used by this TextPath object		if(!("text" in this)){			this.text = dojo.clone(dojox.gfx.defaultTextPath);		}		if(!("fontStyle" in this)){			this.fontStyle = dojo.clone(dojox.gfx.defaultFont);		}	},	getText: function(){		// summary: returns the current text object or null		return this.text;	// Object	},	setText: function(newText){		// summary: sets a text to be drawn along the path		this.text = dojox.gfx.makeParameters(this.text, 			typeof newText == "string" ? {text: newText} : newText);		this._setText();		return this;	// self	},	getFont: function(){		// summary: returns the current font object or null		return this.fontStyle;	// Object	},	setFont: function(newFont){		// summary: sets a font for text		this.fontStyle = typeof newFont == "string" ? 			dojox.gfx.splitFontString(newFont) :			dojox.gfx.makeParameters(dojox.gfx.defaultFont, newFont);		this._setFont();		return this;	// self	}});}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久国产乱子精品免费女| 国产成人在线网站| 六月丁香综合在线视频| 成人午夜视频在线观看| 777亚洲妇女| 亚洲色图在线看| 国产一区欧美二区| 欧美美女一区二区在线观看| 亚洲国产精品t66y| 精品一区二区在线视频| 欧美图区在线视频| 亚洲婷婷综合久久一本伊一区| 九色综合狠狠综合久久| 欧美丰满嫩嫩电影| 一区二区免费看| 91在线视频18| 亚洲国产精品传媒在线观看| 美国十次综合导航| 91精品在线免费观看| 亚洲国产视频一区二区| 色婷婷久久久综合中文字幕 | 欧美精品一区二区不卡| 亚洲一区免费视频| 91麻豆国产福利在线观看| 国产人成一区二区三区影院| 精品在线播放午夜| 在线播放国产精品二区一二区四区| 亚洲欧美色图小说| 不卡的电视剧免费网站有什么| 久久婷婷国产综合精品青草| 精品夜夜嗨av一区二区三区| 精品三级av在线| 国产在线视频一区二区三区| 欧美精品一区二区三区久久久 | 欧洲视频一区二区| 亚洲精品美国一| 色国产精品一区在线观看| 亚洲天堂福利av| 欧美在线视频日韩| 亚洲一级电影视频| 91精品国产高清一区二区三区| 午夜精品久久久久久久蜜桃app| 欧美私人免费视频| 天天综合网 天天综合色| 91精品国产乱| 国产一区二三区| 亚洲国产成人午夜在线一区| 成人激情免费电影网址| 亚洲欧美另类小说视频| 精品视频一区二区不卡| 久久福利视频一区二区| 国产天堂亚洲国产碰碰| 色悠悠久久综合| 日韩精品色哟哟| 久久久久久一二三区| 成a人片国产精品| 性欧美疯狂xxxxbbbb| 日韩欧美国产一区在线观看| 国产风韵犹存在线视精品| 亚洲欧美综合网| 欧美精品一级二级| 国产乱色国产精品免费视频| 国产精品久久久久久亚洲伦| 欧美日韩在线免费视频| 久热成人在线视频| 天天影视涩香欲综合网| 久久麻豆一区二区| 91视频com| 国内成人自拍视频| 最近日韩中文字幕| 欧美α欧美αv大片| 波波电影院一区二区三区| 亚洲国产一二三| 国产免费观看久久| 91精品在线免费观看| a亚洲天堂av| 免费观看30秒视频久久| 国产精品国产三级国产有无不卡| 欧美片网站yy| 不卡区在线中文字幕| 日本三级亚洲精品| 国产精品三级在线观看| 欧美福利电影网| 91小视频在线免费看| 久99久精品视频免费观看| 亚洲综合激情另类小说区| 久久久久国产精品麻豆ai换脸| 欧美午夜电影网| 成人av网站在线| 精品一区二区三区影院在线午夜| 一区二区三区中文字幕电影| 欧美国产一区二区在线观看| 日韩一区二区三区在线视频| 色素色在线综合| 成人午夜激情在线| 国产一区视频导航| 男女性色大片免费观看一区二区 | 色94色欧美sute亚洲线路一久| 精品一区二区日韩| 香蕉加勒比综合久久| 中文字幕一区在线观看视频| 久久蜜桃香蕉精品一区二区三区| 制服丝袜在线91| 欧美日韩在线播放一区| 在线精品视频免费播放| 色综合天天性综合| 99精品热视频| av一本久道久久综合久久鬼色| 国产福利一区在线| 国产精品一区二区三区四区| 激情成人午夜视频| 国内精品视频666| 韩日av一区二区| 国产一区二区在线观看免费| 毛片av一区二区| 奇米影视7777精品一区二区| 日韩在线一区二区| 日韩avvvv在线播放| 日本最新不卡在线| 蜜臀精品久久久久久蜜臀| 强制捆绑调教一区二区| 蜜臀av性久久久久蜜臀aⅴ四虎| 日韩高清一区在线| 久久66热re国产| 国产福利不卡视频| 日韩一区二区三免费高清| 欧美日本乱大交xxxxx| 欧美精品久久一区二区三区| 91精选在线观看| www久久久久| 国产精品色噜噜| 亚洲精品免费播放| 天天色天天爱天天射综合| 日产精品久久久久久久性色 | 亚洲成人资源网| 美女性感视频久久| 国产电影精品久久禁18| 成人app在线| 欧美日韩高清一区二区三区| 日韩三级在线观看| 国产视频一区在线播放| 亚洲女人的天堂| 日韩精品电影一区亚洲| 国产综合成人久久大片91| 丁香亚洲综合激情啪啪综合| 一本到不卡免费一区二区| 精品视频免费看| 国产亚洲一区二区三区在线观看 | 欧美xxxx老人做受| 国产精品免费免费| 天堂成人国产精品一区| 国产成人久久精品77777最新版本 国产成人鲁色资源国产91色综 | 夜夜操天天操亚洲| 蜜臀久久99精品久久久久宅男| 国产成人免费视频网站高清观看视频| 91尤物视频在线观看| 欧美一区二区美女| 亚洲少妇最新在线视频| 久久国产麻豆精品| 91黄色免费看| 国产欧美日韩中文久久| 午夜精品一区二区三区电影天堂 | 日韩三级视频中文字幕| 国产精品久久久久aaaa| 奇米一区二区三区av| 欧美精品一区二区三区一线天视频| 国产欧美一区二区精品久导航| 亚洲123区在线观看| 成人av高清在线| 日韩精品一区二| 亚洲成人精品一区| 99在线精品观看| 久久久蜜臀国产一区二区| 丝袜a∨在线一区二区三区不卡| www.亚洲精品| 久久久国产午夜精品 | 成人欧美一区二区三区白人| 青青草国产精品亚洲专区无| 白白色 亚洲乱淫| 国产午夜精品福利| 美女国产一区二区| 欧美日韩国产电影| 一区二区三区中文字幕| 国产成人精品影视| 精品国产一区二区亚洲人成毛片 | 色激情天天射综合网| 国产无一区二区| 国产一区二区三区日韩| 欧美美女直播网站| 一区二区三区加勒比av| 99久久精品国产网站| 日韩一区中文字幕| 成人av资源下载| 国产精品福利av| 99re热这里只有精品免费视频| 中文字幕欧美日本乱码一线二线| 国内精品不卡在线| 久久久久97国产精华液好用吗| 国产综合一区二区| 久久亚洲精品国产精品紫薇|