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

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

?? arc.c

?? <B>Digital的Unix操作系統VAX 4.2源碼</B>
?? C
字號:
#ifndef lintstatic char SccsId[] = " @(#)arc.c	4.1	(ULTRIX)	7/2/90";#endif not(lint)/* * Modification History * * 	April-11-1989, Pradeep Chetal *	Added changes from 4.3Tahoe BSD for lots of new drivers *//* * Copyright (c) 1980 Regents of the University of California. * All rights reserved.  The Berkeley software License Agreement * specifies the terms and conditions for redistribution. */#ifndef lintstatic char sccsid[] = "@(#)arc.c	5.2 (Berkeley) 4/30/85";#endif not lint#include "bg.h"/* should include test for equality? */#define side(x,y)	(a*(x)+b*(y)+c > 0.0 ? 1 : -1)/* The beginning and ending points must be distinct. */arc(xc,yc,xbeg,ybeg,xend,yend)int xc,yc,xbeg,ybeg,xend,yend;{	double r, radius, costheta, sintheta;	double a, b, c, x, y, tempX;	int right_side;	int screen_xc = scaleX(xc);	int screen_yc = scaleY(yc);	/* It is more convienient to beg and end relative to center. */	int screen_xbeg = scaleX(xbeg) - screen_xc;	int screen_ybeg = scaleY(ybeg) - screen_yc;	int screen_xend = scaleX(xend) - screen_xc;	int screen_yend = scaleY(yend) - screen_yc;	/* probably should check that arc is truely circular */	r = sqrt( (double) (screen_xbeg*screen_xbeg + screen_ybeg*screen_ybeg) );	/*	This method is reasonably efficient, clean, and clever.	The easy part is generating the next point on the arc.  This is	done by rotating the points by the angle theta.  Theta is chosen	so that no rotation will cause more than one pixel of a move.	This corresponds to a triangle having x side of r and y side of 1.	The rotation is done (way) below inside the loop.	Note:  all calculations are done in screen coordinates.	*/	if (r <= 1.0) {		/* radius is mapped to length < 1*/		point(xc,yc);		return;		}	radius = sqrt(r*r + 1.0);	sintheta = 1.0/radius;	costheta = r/radius;	/*	The hard part of drawing an arc is figuring out when to stop.	This method works by drawing the line from the beginning point	to the ending point.  This splits the plane in half, with the	arc that we wish to draw on one side of the line.  If we evaluate	side(x,y) = a*x + b*y + c, then all of the points on one side of the	line will result in side being positive, and all the points on the	other side of the line will result in side being negative.	We want to draw the arc in a counter-clockwise direction, so we	must find out what the sign of "side" is for a point which is to the 	"right" of a line drawn from "beg" to "end".  A point which must lie 	on the right is [xbeg + (yend-ybeg), ybeg - (xend-xbeg)].  (This	point is perpendicular to the line at "beg").	Thus, we compute side of the above point, and then compare the	sign of side for each new point with the sign of the above point.	When they are different, we terminate the loop.	*/	a = (double) (screen_yend - screen_ybeg);	b = (double) (screen_xend - screen_xbeg);	c = (double) (screen_yend*screen_xbeg - screen_xend*screen_ybeg);	right_side = side(screen_xbeg + (screen_yend-screen_ybeg),			  screen_ybeg - (screen_xend-screen_xbeg) );	x = screen_xbeg;	y = screen_ybeg;	move(xbeg, ybeg);	do {		currentx = screen_xc + (int) (x + 0.5);		currenty = screen_yc + (int) (y + 0.5);		putchar( ESC );		printf(":%d;%dd", currentx, currenty);		tempX = x;		x = x*costheta - y*sintheta;		y = tempX*sintheta + y*costheta;	} while( side(x,y) == right_side );}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产蜜臀av在线一区二区三区| 国产99久久久国产精品潘金网站| 天堂va蜜桃一区二区三区| 视频一区视频二区在线观看| 久88久久88久久久| 国产精品一区三区| 一本色道久久综合亚洲精品按摩| 欧美区视频在线观看| 精品国产一区二区亚洲人成毛片| 中文在线一区二区| 亚洲高清久久久| 国产一区二区福利| 在线免费av一区| 欧美精品一区二区不卡| 中文字幕综合网| 日本怡春院一区二区| 成人激情av网| 91.成人天堂一区| 最近日韩中文字幕| 麻豆成人91精品二区三区| 色综合久久久久综合体| 精品国产区一区| 洋洋av久久久久久久一区| 国产在线乱码一区二区三区| 色婷婷激情综合| 337p粉嫩大胆色噜噜噜噜亚洲 | 麻豆91免费观看| 色综合久久88色综合天天| 欧美一级二级三级蜜桃| **欧美大码日韩| 国产精品一区二区在线看| 91免费看视频| 国产午夜亚洲精品不卡| 性做久久久久久久免费看| 丰满少妇久久久久久久| 日韩一区二区高清| 一区二区三区**美女毛片| 日韩免费视频一区| 亚洲一区二区av在线| 国产高清成人在线| 日韩欧美中文字幕精品| 亚洲综合无码一区二区| 成人精品国产福利| 精品久久久久久久久久久久久久久久久| 亚洲精品高清在线| 成熟亚洲日本毛茸茸凸凹| 日韩欧美精品在线视频| 婷婷久久综合九色国产成人| 色综合久久综合中文综合网| 欧美激情中文字幕| 久久99国内精品| 欧美精品九九99久久| 亚洲精品乱码久久久久久| 国产很黄免费观看久久| 精品日韩一区二区三区免费视频| 亚洲五码中文字幕| 一本久久a久久精品亚洲| 欧美国产精品专区| 国产大陆a不卡| 26uuu国产一区二区三区| 久久疯狂做爰流白浆xx| 91精品国产欧美一区二区18| 亚洲成人av电影| 欧美中文字幕一区| 亚洲一本大道在线| 欧美在线综合视频| 一区二区三区国产精华| 色呦呦国产精品| 亚洲黄色在线视频| 欧洲在线/亚洲| 亚洲国产另类av| 欧美日韩中文国产| 午夜久久久久久久久| 制服丝袜成人动漫| 日本成人中文字幕在线视频| 欧美一区二区不卡视频| 日本在线不卡一区| 精品av久久707| 国产毛片精品视频| 欧美国产精品v| aaa亚洲精品| 亚洲欧美成人一区二区三区| 日本久久一区二区| 亚洲韩国一区二区三区| 欧美丰满嫩嫩电影| 久草中文综合在线| 中文天堂在线一区| 91色九色蝌蚪| 天堂久久久久va久久久久| 欧美一区二区三区四区视频| 麻豆成人91精品二区三区| 国产日韩欧美在线一区| 高清不卡一二三区| 亚洲老司机在线| 欧美日韩国产成人在线免费| 久久成人18免费观看| 国产欧美综合色| 91色porny| 青青草视频一区| 国产清纯白嫩初高生在线观看91 | 亚洲美女淫视频| 欧美性猛交一区二区三区精品| 亚洲www啪成人一区二区麻豆| 91精品国产品国语在线不卡| 国产美女主播视频一区| 亚洲欧美另类久久久精品2019| 精品视频免费在线| 国内精品久久久久影院色| 国产精品久久久久四虎| 欧美日韩国产一区二区三区地区| 麻豆精品视频在线观看免费| 久久综合色婷婷| 日本道精品一区二区三区| 另类小说一区二区三区| 国产精品久久久久影院亚瑟 | 久久aⅴ国产欧美74aaa| 国产精品久久久久久久久搜平片| 91国产免费观看| 国产一区二区久久| 亚洲尤物在线视频观看| wwww国产精品欧美| 欧美中文字幕一区二区三区亚洲| 国内成人自拍视频| 亚洲一区二区四区蜜桃| 久久久精品tv| 欧美久久一二三四区| 岛国一区二区在线观看| 丝袜亚洲另类欧美| 国产精品美女视频| 日韩午夜激情视频| 97国产一区二区| 精品一区二区三区日韩| 一区二区三区美女视频| 国产日本亚洲高清| 欧美精品日韩综合在线| 97精品国产97久久久久久久久久久久 | 精品一区二区三区欧美| 亚洲国产综合人成综合网站| 国产女主播视频一区二区| 欧美精品三级在线观看| 色播五月激情综合网| 国产成人aaa| 激情偷乱视频一区二区三区| 一二三区精品福利视频| 中文字幕乱码久久午夜不卡| 欧美大白屁股肥臀xxxxxx| 欧美午夜视频网站| 99re在线视频这里只有精品| 国产一区二区三区精品欧美日韩一区二区三区 | 成人国产电影网| 激情综合色播激情啊| 偷窥少妇高潮呻吟av久久免费| 日韩码欧中文字| 国产欧美视频在线观看| 日韩欧美国产成人一区二区| 欧美日韩在线播放一区| 97久久精品人人做人人爽50路| 国产精品99久| 精品亚洲国内自在自线福利| 日本欧美在线看| 亚洲成人精品在线观看| 亚洲乱码国产乱码精品精的特点 | 99精品欧美一区二区三区小说| 国产美女主播视频一区| 精品一区二区三区在线观看 | 久久综合成人精品亚洲另类欧美| 91精品国产入口| 欧美精三区欧美精三区| 欧美午夜片在线看| 欧洲国内综合视频| 在线亚洲欧美专区二区| 色94色欧美sute亚洲线路二| 色综合天天综合网天天看片| 不卡一区在线观看| 不卡av在线免费观看| 不卡一区二区三区四区| 99国产欧美另类久久久精品| 成人综合在线视频| 成人综合婷婷国产精品久久蜜臀| 国产一区二区免费看| 国产自产视频一区二区三区| 黄页视频在线91| 国产综合色产在线精品| 国产一区二区在线影院| 国内精品第一页| 丰满少妇在线播放bd日韩电影| 成人一级片在线观看| 不卡一卡二卡三乱码免费网站| 成人爱爱电影网址| 97久久精品人人爽人人爽蜜臀| 91麻豆免费看| 在线观看日韩一区| 欧美日本不卡视频| 欧美大片日本大片免费观看| 精品国产污污免费网站入口 | jiyouzz国产精品久久| av电影天堂一区二区在线| 色综合久久88色综合天天6| 欧洲av在线精品| 91麻豆精品国产91久久久资源速度|