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

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

?? matrix.js

?? 對java中如何使用Ajax技術
?? JS
?? 第 1 頁 / 共 2 頁
字號:
/*	Copyright (c) 2004-2006, The Dojo Foundation	All Rights Reserved.	Licensed under the Academic Free License version 2.1 or above OR the	modified BSD license. For more information on Dojo licensing, see:		http://dojotoolkit.org/community/licensing.shtml*/dojo.provide("dojo.gfx.matrix");dojo.require("dojo.lang.common");dojo.require("dojo.math.*");dojo.gfx.matrix.Matrix2D = function(arg){	// summary: a 2D matrix object	// description: Normalizes a 2D matrix-like object. If arrays is passed, 	//		all objects of the array are normalized and multiplied sequentially.	// arg: Object	//		a 2D matrix-like object, or an array of such objects	if(arg){		if(arg instanceof Array){			if(arg.length > 0){				var m = dojo.gfx.matrix.normalize(arg[0]);				// combine matrices				for(var i = 1; i < arg.length; ++i){					var l = m;					var r = dojo.gfx.matrix.normalize(arg[i]);					m = new dojo.gfx.matrix.Matrix2D();					m.xx = l.xx * r.xx + l.xy * r.yx;					m.xy = l.xx * r.xy + l.xy * r.yy;					m.yx = l.yx * r.xx + l.yy * r.yx;					m.yy = l.yx * r.xy + l.yy * r.yy;					m.dx = l.xx * r.dx + l.xy * r.dy + l.dx;					m.dy = l.yx * r.dx + l.yy * r.dy + l.dy;				}				dojo.mixin(this, m);			}		}else{			dojo.mixin(this, arg);		}	}};// the default (identity) matrix, which is used to fill in missing valuesdojo.extend(dojo.gfx.matrix.Matrix2D, {xx: 1, xy: 0, yx: 0, yy: 1, dx: 0, dy: 0});dojo.mixin(dojo.gfx.matrix, {	// summary: class constants, and methods of dojo.gfx.matrix		// matrix constants		// identity: dojo.gfx.matrix.Matrix2D	//		an identity matrix constant: identity * (x, y) == (x, y)	identity: new dojo.gfx.matrix.Matrix2D(),		// flipX: dojo.gfx.matrix.Matrix2D	//		a matrix, which reflects points at x = 0 line: flipX * (x, y) == (-x, y)	flipX:    new dojo.gfx.matrix.Matrix2D({xx: -1}),		// flipY: dojo.gfx.matrix.Matrix2D	//		a matrix, which reflects points at y = 0 line: flipY * (x, y) == (x, -y)	flipY:    new dojo.gfx.matrix.Matrix2D({yy: -1}),		// flipXY: dojo.gfx.matrix.Matrix2D	//		a matrix, which reflects points at the origin of coordinates: flipXY * (x, y) == (-x, -y)	flipXY:   new dojo.gfx.matrix.Matrix2D({xx: -1, yy: -1}),		// matrix creators		translate: function(a, b){		// summary: forms a translation matrix		// description: The resulting matrix is used to translate (move) points by specified offsets.		// a: Number: an x coordinate value		// b: Number: a y coordinate value		if(arguments.length > 1){			return new dojo.gfx.matrix.Matrix2D({dx: a, dy: b}); // dojo.gfx.matrix.Matrix2D		}		// branch		// a: dojo.gfx.Point: a point-like object, which specifies offsets for both dimensions		// b: null		return new dojo.gfx.matrix.Matrix2D({dx: a.x, dy: a.y}); // dojo.gfx.matrix.Matrix2D	},	scale: function(a, b){		// summary: forms a scaling matrix		// description: The resulting matrix is used to scale (magnify) points by specified offsets.		// a: Number: a scaling factor used for the x coordinate		// b: Number: a scaling factor used for the y coordinate		if(arguments.length > 1){			return new dojo.gfx.matrix.Matrix2D({xx: a, yy: b}); // dojo.gfx.matrix.Matrix2D		}		if(typeof a == "number"){			// branch			// a: Number: a uniform scaling factor used for the both coordinates			// b: null			return new dojo.gfx.matrix.Matrix2D({xx: a, yy: a}); // dojo.gfx.matrix.Matrix2D		}		// branch		// a: dojo.gfx.Point: a point-like object, which specifies scale factors for both dimensions		// b: null		return new dojo.gfx.matrix.Matrix2D({xx: a.x, yy: a.y}); // dojo.gfx.matrix.Matrix2D	},	rotate: function(angle){		// summary: forms a rotating matrix		// description: The resulting matrix is used to rotate points 		//		around the origin of coordinates (0, 0) by specified angle.		// angle: Number: an angle of rotation in radians (>0 for CCW)		var c = Math.cos(angle);		var s = Math.sin(angle);		return new dojo.gfx.matrix.Matrix2D({xx: c, xy: s, yx: -s, yy: c}); // dojo.gfx.matrix.Matrix2D	},	rotateg: function(degree){		// summary: forms a rotating matrix		// description: The resulting matrix is used to rotate points		//		around the origin of coordinates (0, 0) by specified degree.		//		See dojo.gfx.matrix.rotate() for comparison.		// degree: Number: an angle of rotation in degrees (>0 for CCW)		return dojo.gfx.matrix.rotate(dojo.math.degToRad(degree)); // dojo.gfx.matrix.Matrix2D	},	skewX: function(angle) {		// summary: forms an x skewing matrix		// description: The resulting matrix is used to skew points in the x dimension		//		around the origin of coordinates (0, 0) by specified angle.		// angle: Number: an skewing angle in radians		return new dojo.gfx.matrix.Matrix2D({xy: Math.tan(angle)}); // dojo.gfx.matrix.Matrix2D	},	skewXg: function(degree){		// summary: forms an x skewing matrix		// description: The resulting matrix is used to skew points in the x dimension		//		around the origin of coordinates (0, 0) by specified degree.		//		See dojo.gfx.matrix.skewX() for comparison.		// degree: Number: an skewing angle in degrees		return dojo.gfx.matrix.skewX(dojo.math.degToRad(degree)); // dojo.gfx.matrix.Matrix2D	},	skewY: function(angle){		// summary: forms a y skewing matrix		// description: The resulting matrix is used to skew points in the y dimension		//		around the origin of coordinates (0, 0) by specified angle.		// angle: Number: an skewing angle in radians		return new dojo.gfx.matrix.Matrix2D({yx: -Math.tan(angle)}); // dojo.gfx.matrix.Matrix2D	},	skewYg: function(degree){		// summary: forms a y skewing matrix		// description: The resulting matrix is used to skew points in the y dimension		//		around the origin of coordinates (0, 0) by specified degree.		//		See dojo.gfx.matrix.skewY() for comparison.		// degree: Number: an skewing angle in degrees		return dojo.gfx.matrix.skewY(dojo.math.degToRad(degree)); // dojo.gfx.matrix.Matrix2D	},		// ensure matrix 2D conformance	normalize: function(matrix){		// summary: converts an object to a matrix, if necessary		// description: Converts any 2D matrix-like object or an array of		//		such objects to a valid dojo.gfx.matrix.Matrix2D object.		// matrix: Object: an object, which is converted to a matrix, if necessary		return (matrix instanceof dojo.gfx.matrix.Matrix2D) ? matrix : new dojo.gfx.matrix.Matrix2D(matrix); // dojo.gfx.matrix.Matrix2D	},		// common operations		clone: function(matrix){		// summary: creates a copy of a 2D matrix		// matrix: dojo.gfx.matrix.Matrix2D: a 2D matrix-like object to be cloned		var obj = new dojo.gfx.matrix.Matrix2D();		for(var i in matrix){			if(typeof(matrix[i]) == "number" && typeof(obj[i]) == "number" && obj[i] != matrix[i]) obj[i] = matrix[i];		}		return obj; // dojo.gfx.matrix.Matrix2D	},	invert: function(matrix){		// summary: inverts a 2D matrix		// matrix: dojo.gfx.matrix.Matrix2D: a 2D matrix-like object to be inverted		var m = dojo.gfx.matrix.normalize(matrix);		var D = m.xx * m.yy - m.xy * m.yx;		var M = new dojo.gfx.matrix.Matrix2D({			xx: m.yy/D, xy: -m.xy/D, 			yx: -m.yx/D, yy: m.xx/D, 			dx: (m.yx * m.dy - m.yy * m.dx) / D, 			dy: (m.xy * m.dx - m.xx * m.dy) / D		});		return M; // dojo.gfx.matrix.Matrix2D	},	_multiplyPoint: function(m, x, y){		// summary: applies a matrix to a point		// matrix: dojo.gfx.matrix.Matrix2D: a 2D matrix object to be applied		// x: Number: an x coordinate of a point		// y: Number: a y coordinate of a point		return {x: m.xx * x + m.xy * y + m.dx, y: m.yx * x + m.yy * y + m.dy}; // dojo.gfx.Point	},	multiplyPoint: function(matrix, /* Number||Point */ a, /* Number, optional */ b){		// summary: applies a matrix to a point		// matrix: dojo.gfx.matrix.Matrix2D: a 2D matrix object to be applied		// a: Number: an x coordinate of a point		// b: Number: a y coordinate of a point		var m = dojo.gfx.matrix.normalize(matrix);		if(typeof a == "number" && typeof b == "number"){			return dojo.gfx.matrix._multiplyPoint(m, a, b); // dojo.gfx.Point		}		// branch		// matrix: dojo.gfx.matrix.Matrix2D: a 2D matrix object to be applied		// a: dojo.gfx.Point: a point		// b: null

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
成人av免费在线| 欧美日韩免费观看一区三区| 欧美精品18+| 亚洲欧美日韩国产成人精品影院 | 亚洲免费av高清| 成人少妇影院yyyy| 国产精品看片你懂得| 粉嫩高潮美女一区二区三区 | 美女国产一区二区| 久久先锋影音av鲁色资源网| 国产精品18久久久久久久久久久久| 日韩一区二区三区电影在线观看 | 91老师国产黑色丝袜在线| 亚洲欧洲av色图| 91免费在线播放| 亚洲综合男人的天堂| 欧美日韩国产三级| 国内久久精品视频| 中文在线资源观看网站视频免费不卡| av中文字幕一区| 亚洲五月六月丁香激情| 日韩三级免费观看| 从欧美一区二区三区| 一区二区三区日韩欧美| 欧美一区二区三区在线看| 国产精品99久久久久久宅男| 国产精品久久免费看| 欧美日韩成人综合| 国产精品一区二区久久精品爱涩| 成人免费在线视频| 日韩亚洲欧美一区二区三区| 成人免费高清视频| 视频一区中文字幕国产| 久久久久久久久久美女| 91成人免费电影| 国产精品一区在线观看乱码| 亚洲国产日韩精品| 日本一区二区三级电影在线观看 | fc2成人免费人成在线观看播放 | 欧美大胆一级视频| 99re这里只有精品6| 日本欧美韩国一区三区| 亚洲欧洲精品天堂一级| 91精品一区二区三区在线观看| 国产在线精品免费| 亚洲影院免费观看| 久久久午夜精品| 欧美日韩日日骚| 99久久久久久| 激情久久五月天| 午夜视黄欧洲亚洲| 国产精品成人网| 日韩视频一区二区三区在线播放| 94-欧美-setu| 国产69精品久久777的优势| 免费精品视频在线| 一区二区三区四区蜜桃| 国产视频一区二区在线| 欧美精品tushy高清| 色婷婷综合中文久久一本| 韩日av一区二区| 日本视频在线一区| 亚洲国产精品麻豆| 亚洲欧美视频在线观看视频| 久久久久久9999| 精品国产一区二区三区久久影院 | 99热这里都是精品| 高清成人免费视频| 国产高清视频一区| 国产精品一区二区在线观看不卡 | 久久精品在线免费观看| 日韩午夜电影在线观看| 亚洲码国产岛国毛片在线| 全国精品久久少妇| 日本伊人色综合网| 日韩精品一级中文字幕精品视频免费观看 | www.综合网.com| 国产.精品.日韩.另类.中文.在线.播放| 另类小说色综合网站| 青青草一区二区三区| 日韩精品一区第一页| 日韩福利电影在线| 美女性感视频久久| 久久精品国产一区二区| 激情亚洲综合在线| 欧美高清在线一区| 中文字幕一区在线| 亚洲男人都懂的| 亚洲成人手机在线| 日本不卡一区二区三区高清视频| 亚洲福利一二三区| 麻豆极品一区二区三区| 久久99九九99精品| 欧美高清你懂得| 97精品久久久午夜一区二区三区| a4yy欧美一区二区三区| 在线观看一区二区视频| 欧美欧美午夜aⅴ在线观看| 欧美精品777| 久久精品综合网| 亚洲免费观看视频| 自拍偷拍亚洲欧美日韩| 久久奇米777| 亚洲久草在线视频| 日韩精品91亚洲二区在线观看 | 欧美一区二区三区视频| 2023国产精品自拍| 亚洲欧美二区三区| 蜜乳av一区二区三区| 国产91富婆露脸刺激对白| 亚洲成人你懂的| 国产一区二区h| 色综合视频在线观看| 欧美二区在线观看| 久久久久久久久久久久久久久99 | 99久久精品国产一区二区三区 | 欧美在线制服丝袜| 51精品视频一区二区三区| 久久久久九九视频| 亚洲国产精品久久艾草纯爱| 激情五月激情综合网| 9久草视频在线视频精品| 在线播放视频一区| 国产精品毛片无遮挡高清| 中文一区二区完整视频在线观看| 亚洲成人免费看| 成人av电影免费观看| 日韩亚洲欧美中文三级| 国产精品二三区| 蜜臀久久99精品久久久画质超高清| 中文字幕中文在线不卡住| 亚洲大尺度视频在线观看| av资源站一区| 色综合久久综合中文综合网| 精品国产一区二区在线观看| 亚洲色图欧美在线| 国产精品资源站在线| 欧美日韩情趣电影| 亚洲天堂精品视频| 91精品国产综合久久香蕉麻豆| 欧美午夜精品电影| 国产精品女同互慰在线看 | 日本中文字幕不卡| 91久久精品一区二区三区| 久久九九久精品国产免费直播| 亚洲制服欧美中文字幕中文字幕| 国产成人在线视频播放| 日韩欧美国产综合| 偷偷要91色婷婷| 欧美亚一区二区| 亚洲精品免费电影| www.欧美精品一二区| 久久精品日产第一区二区三区高清版| 日本在线不卡一区| 欧美高清hd18日本| 午夜一区二区三区在线观看| 色一区在线观看| 日韩理论电影院| 91蜜桃视频在线| 色婷婷综合久久久久中文| 欧美国产亚洲另类动漫| 国产老女人精品毛片久久| 精品成人一区二区三区| 久久99九九99精品| 2021国产精品久久精品| 六月丁香婷婷久久| 日韩一区二区三区免费观看| 日本一道高清亚洲日美韩| 一区二区三区欧美在线观看| 午夜久久久久久久久| 精品视频在线视频| 亚洲gay无套男同| 欧美精品欧美精品系列| 视频一区国产视频| 欧美一区二区免费视频| 亚洲免费视频成人| 日本精品视频一区二区三区| 亚洲黄色片在线观看| 欧美三级视频在线播放| 五月天激情综合网| 日韩欧美中文字幕公布| 国产在线一区观看| 中文字幕电影一区| 91福利在线看| 日韩在线观看一区二区| 日韩精品中文字幕一区二区三区| 精品一区二区三区不卡 | 国产精品国产三级国产有无不卡| 一区免费观看视频| 欧洲亚洲国产日韩| 日韩国产精品91| 久久蜜桃一区二区| 99re亚洲国产精品| 香蕉影视欧美成人| 精品国产伦一区二区三区观看方式 | 欧美精品在线一区二区| 国产99久久久国产精品免费看| 欧美精品一区二区在线观看| 成人免费视频网站在线观看| 亚洲在线中文字幕|