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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? matrix.js

?? 對java中如何使用Ajax技術(shù)
?? 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

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲欧洲精品天堂一级| 日韩亚洲电影在线| 国产精品久久久久一区二区三区共| 国产精品77777| 国产精品网站一区| 97国产精品videossex| 自拍偷自拍亚洲精品播放| 欧美综合亚洲图片综合区| 亚洲二区视频在线| 精品美女被调教视频大全网站| 国产麻豆91精品| 亚洲人成小说网站色在线| 91最新地址在线播放| 亚洲一区二区中文在线| 91精品国产美女浴室洗澡无遮挡| 精品一区二区三区视频| 日本一区二区高清| 欧美日韩精品二区第二页| 久久福利视频一区二区| 中文字幕国产一区二区| 欧美日韩国产综合一区二区三区| 蜜臀av亚洲一区中文字幕| 国产清纯白嫩初高生在线观看91 | 麻豆传媒一区二区三区| 国产午夜精品久久| 欧美综合在线视频| 国内成+人亚洲+欧美+综合在线| 国产精品―色哟哟| 欧美高清视频在线高清观看mv色露露十八 | 久久激情五月激情| 国产精品久久久久久久午夜片| 欧美日韩在线播放| 国产精品亚洲一区二区三区在线| 亚洲另类一区二区| 精品国内二区三区| 欧美日韩国产电影| 9人人澡人人爽人人精品| 日韩不卡手机在线v区| 亚洲视频图片小说| 亚洲精品一区二区三区精华液 | 国产成人aaaa| 午夜视频一区在线观看| 国产精品人成在线观看免费| 日韩欧美国产系列| 欧美伊人久久久久久午夜久久久久| 国产伦精品一区二区三区免费| 一区二区欧美在线观看| 久久中文娱乐网| 欧美一区二区三区视频免费播放 | 精品亚洲国内自在自线福利| 亚洲女与黑人做爰| 久久在线观看免费| 91精品国产综合久久蜜臀| 色综合天天综合狠狠| 国产99久久久国产精品潘金| 日产欧产美韩系列久久99| 亚洲蜜桃精久久久久久久| 国产日韩欧美精品电影三级在线| 日韩一二三区视频| 欧美亚洲愉拍一区二区| 91丨九色丨尤物| 99热精品一区二区| 成人午夜视频网站| 国产99一区视频免费| 国产精一区二区三区| 韩国三级在线一区| 极品美女销魂一区二区三区 | 成人av电影在线播放| 国产电影一区二区三区| 久久福利资源站| 久久99精品国产.久久久久久| 亚洲成av人片一区二区梦乃| 亚洲第一精品在线| 亚洲成av人片观看| 亚洲va韩国va欧美va| 亚洲18色成人| 婷婷久久综合九色综合绿巨人| 亚洲自拍另类综合| 亚洲高清免费视频| 午夜精品一区在线观看| 日韩和的一区二区| 奇米精品一区二区三区在线观看| 日本不卡一二三| 久久99精品久久久久久久久久久久 | 粉嫩一区二区三区性色av| 高清在线观看日韩| 成人黄色网址在线观看| thepron国产精品| 91色乱码一区二区三区| 欧洲精品一区二区| 欧美另类z0zxhd电影| 日韩欧美中文字幕制服| 久久久久久9999| 国产精品卡一卡二| 一区二区三区美女| 婷婷久久综合九色综合绿巨人 | 91污在线观看| 欧美在线不卡视频| 欧美丰满少妇xxxxx高潮对白| 欧美一二区视频| 久久免费美女视频| 亚洲天堂网中文字| 亚洲成av人片在www色猫咪| 精品一区二区三区在线播放视频| 国产99精品在线观看| 欧美三级电影精品| 日韩精品中文字幕一区| 国产精品丝袜在线| 亚洲成人综合在线| 韩国午夜理伦三级不卡影院| 一本色道**综合亚洲精品蜜桃冫| 欧美日韩一二三| 国产午夜精品一区二区三区视频| 一区二区在线观看免费视频播放 | 一区二区三区欧美亚洲| 天天免费综合色| 国产91富婆露脸刺激对白| 欧美日韩在线播放一区| 久久综合九色综合欧美亚洲| 亚洲最色的网站| 国产精品一区三区| 欧美日本国产一区| 亚洲国产精品成人综合| 日韩国产在线一| 不卡视频在线看| 欧美va亚洲va香蕉在线| 亚洲日本在线看| 国产一区二区日韩精品| 欧美天堂亚洲电影院在线播放| 久久影院电视剧免费观看| 五月开心婷婷久久| www.av亚洲| 国产午夜精品一区二区三区视频| 亚洲成人综合在线| 色综合中文字幕国产| 日韩视频一区二区三区| 亚洲综合色自拍一区| 9i看片成人免费高清| 久久综合99re88久久爱| 日韩国产欧美三级| 在线精品视频免费播放| 日本一区二区免费在线观看视频| 日韩成人一区二区三区在线观看| 91免费在线视频观看| 国产精品午夜电影| 国产精品 日产精品 欧美精品| 91精品国产91久久久久久最新毛片| 一区二区成人在线| 99精品视频在线观看| 国产精品美女一区二区在线观看| 精品亚洲aⅴ乱码一区二区三区| 欧美日韩不卡一区| 亚洲最大成人综合| 色综合久久精品| 中文字幕日韩欧美一区二区三区| 国产精品一区二区91| 精品国产百合女同互慰| 久久精品av麻豆的观看方式| 欧美一区二区大片| 日韩精品每日更新| 7777精品伊人久久久大香线蕉超级流畅| 亚洲乱码中文字幕综合| 99国产欧美另类久久久精品 | 欧美亚洲尤物久久| 亚洲综合视频在线| 欧美性猛交xxxxxxxx| 亚洲福利一区二区三区| 欧美日韩国产欧美日美国产精品| 亚洲一区视频在线| 精品污污网站免费看| 视频一区视频二区中文| 69av一区二区三区| 久久国产生活片100| 精品国产一区a| 国产一区二区视频在线| 久久夜色精品一区| 成人sese在线| 亚洲黄色在线视频| 欧美三级日本三级少妇99| 亚洲成a人片在线不卡一二三区 | 久久先锋影音av鲁色资源网| 另类小说视频一区二区| 久久综合久久综合九色| 99视频精品在线| 五月天精品一区二区三区| 精品国产一区二区在线观看| 国产成人精品免费| 亚洲与欧洲av电影| 91精品国产91热久久久做人人| 九九国产精品视频| 国产精品丝袜黑色高跟| 在线观看91精品国产入口| 日韩高清一区二区| 久久久久国产精品麻豆ai换脸| 99久久777色| 日本美女一区二区三区视频| 久久久久久99精品| 欧美在线观看视频一区二区三区| 午夜精品福利视频网站| 国产午夜精品久久久久久久|