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

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

?? spaces.c

?? 遠(yuǎn)程桌面連接工具
?? C
?? 第 1 頁(yè) / 共 3 頁(yè)
字號(hào):
/* $XConsortium: spaces.c,v 1.8 95/06/08 23:20:39 gildea Exp $ *//* Copyright International Business Machines, Corp. 1991 * All Rights Reserved * Copyright Lexmark International, Inc. 1991 * All Rights Reserved * * License to use, copy, modify, and distribute this software and its * documentation for any purpose and without fee is hereby granted, * provided that the above copyright notice appear in all copies and that * both that copyright notice and this permission notice appear in * supporting documentation, and that the name of IBM or Lexmark not be * used in advertising or publicity pertaining to distribution of the * software without specific, written prior permission. * * IBM AND LEXMARK PROVIDE THIS SOFTWARE "AS IS", WITHOUT ANY WARRANTIES OF * ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO ANY * IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, * AND NONINFRINGEMENT OF THIRD PARTY RIGHTS.  THE ENTIRE RISK AS TO THE * QUALITY AND PERFORMANCE OF THE SOFTWARE, INCLUDING ANY DUTY TO SUPPORT * OR MAINTAIN, BELONGS TO THE LICENSEE.  SHOULD ANY PORTION OF THE * SOFTWARE PROVE DEFECTIVE, THE LICENSEE (NOT IBM OR LEXMARK) ASSUMES THE * ENTIRE COST OF ALL SERVICING, REPAIR AND CORRECTION.  IN NO EVENT SHALL * IBM OR LEXMARK BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS * ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF * THIS SOFTWARE. */ /* SPACES   CWEB         V0021 ********                             *//*:h1 id=spaces.SPACES Module - Handles Coordinate Spaces This module is responsible for handling the TYPE1IMAGER "XYspace" object. &author. Jeffrey B. Lotspiech (lotspiech@almaden.ibm.com)  :h3.Include Files*/#include "objects.h"#include "spaces.h"#include "paths.h"#include "pictures.h"#include "fonts.h"#include "arith.h"#include "trig.h"static void FindFfcn();static void FindIfcn();/*:h3.Entry Points Provided to the TYPE1IMAGER User*/ /*SHARED LINE(S) ORIGINATED HERE*/ /*:h3.Entry Points Provided to Other Modules*/ /*In addition, other modules call the SPACES module through functionvectors in the "XYspace" structure.  The entry points accessed thatway are "FConvert()", "IConvert()", and "ForceFloat()".*/ /*SHARED LINE(S) ORIGINATED HERE*//*:h3.Macros and Typedefs Provided to Other Modules :h4.Duplicating and Killing Spaces Destroying XYspaces is so simple we can do it with amacro:*/ /*SHARED LINE(S) ORIGINATED HERE*//*On the other hand, duplicating XYspaces is slightly more difficultbecause of the need to keep a unique ID in the space, see:hdref refid=dupspace.. :h4.Fixed Point Pel Representation We represent pel positions with fixed point numbers.  This does NOTmean integer, but truly means fixed point, with a certain numberof binary digits (FRACTBITS) representing the fractional part of thepel.*/ /*SHARED LINE(S) ORIGINATED HERE*//*:h2.Data Structures for Coordinate Spaces and Points*//*:h3 id=matrix.Matrices TYPE1IMAGER uses 2x2 transformation matrices.  We'll use C notation forsuch a matrix (M[2][2]), the first index being rows, the second columns.*/ /*:h3.The "doublematrix" Structure We frequently find it desirable to store both a matrix and itsinverse.  We store these in a "doublematrix" structure.*/ /*SHARED LINE(S) ORIGINATED HERE*/ /*:h3.The "XYspace" Structure The XYspace structure represents the XYspace object.*/ /*SHARED LINE(S) ORIGINATED HERE*/#define    RESERVED  10      /* 'n' IDs are reserved for invalid & immortal spaces *//**/#define    NEXTID    ((SpaceID < RESERVED) ? (SpaceID = RESERVED) : ++SpaceID) static unsigned int SpaceID = 1; struct XYspace *CopySpace(S)       register struct XYspace *S;{       S = (struct XYspace *)Allocate(sizeof(struct XYspace), S, 0);       S->ID = NEXTID;       return(S);}/*:h3.The "fractpoint" Structure A fractional point is just a "fractpel" x and y:*/ /*SHARED LINE(S) ORIGINATED HERE*/ /*:h3.Lazy Evaluation of Matrix Inverses Calculating the inverse of a matrix is somewhat involved, and we usuallydo not need them.  So, we flag whether or not the space has the inversealready calculated:*/ #define    HASINVERSE(flag)   ((flag)&0x80) /*The following macro forces a space to have an inverse:*/ #define    CoerceInverse(S)   if (!HASINVERSE((S)->flag)) { \    MatrixInvert((S)->tofract.normal, (S)->tofract.inverse); (S)->flag |= HASINVERSE(ON); }/*:h3.IDENTITY Space IDENTITY space is (logically) the space corresponding to the identitytransformation matrix.  However, since all our transformation matriceshave a common FRACTFLOAT scale factor to convert to 'fractpel's, thatis actually what we store in 'tofract' matrix of IDENTITY:*/ static struct XYspace identity = { SPACETYPE, ISPERMANENT(ON) + ISIMMORTAL(ON)                        + HASINVERSE(ON), 2, /* added 3-26-91 PNM */                        NULL, NULL,                        NULL, NULL, NULL, NULL,                        INVALIDID + 1, 0,                        FRACTFLOAT, 0.0, 0.0, FRACTFLOAT,                        1.0/FRACTFLOAT, 0.0, 0.0, 1.0/FRACTFLOAT,                        0, 0, 0, 0 };struct XYspace *IDENTITY = &identity; /**/#define  MAXCONTEXTS   16 static struct doublematrix contexts[MAXCONTEXTS]; #ifdef notdefstatic int nextcontext = 1; /*SHARED LINE(S) ORIGINATED HERE*/#ifdef __STDC__#define   pointer          void *#else#define   pointer          char *#endif /*:h3.FindDeviceContext() - Find the Context Given a Device This routine, given a device, returns the index of the device'stransformation matrix in the context array.  If it cannot find it,it will allocate a new array entry and fill it out.*/ static int FindDeviceContext(device)       pointer device;       /* device token                                 */{       double M[2][2];       /* temporary matrix                             */       float Xres,Yres;      /* device  resolution                           */       int orient = -1;      /* device orientation                           */       int rc = -1;          /* return code for QueryDeviceState             */        if (rc != 0)          /* we only bother with this check once          */               abort("Context:  QueryDeviceState didn't work");        M[0][0] = M[1][0] = M[0][1] = M[1][1] = 0.0;        switch (orient) {           case 0:               M[0][0] = Xres;  M[1][1] = -Yres;               break;           case 1:               M[1][0] = Yres;  M[0][1] = Xres;               break;           case 2:               M[0][0] = -Xres;  M[1][1] = Yres;               break;           case 3:               M[1][0] = -Yres;  M[0][1] = -Xres;               break;           default:               abort("QueryDeviceState returned invalid orientation");       }       return(FindContext(M));} /*:h3.FindContext() - Find the Context Given a Matrix This routine, given a matrix, returns the index of that matrix matrix inthe context array.  If it cannot find it, it will allocate a new arrayentry and fill it out.*/ int FindContext(M)       double M[2][2];       /* array to search for                          */{       register int i;       /* loop variable for search                     */       for (i=0; i < nextcontext; i++)               if (M[0][0] == contexts[i].normal[0][0] && M[1][0] == contexts[i].normal[1][0]                   && M[0][1] == contexts[i].normal[0][1] && M[1][1] == contexts[i].normal[1][1])                       break;        if (i >= nextcontext) {               if (i >= MAXCONTEXTS)                       abort("Context:  out of them");               LONGCOPY(contexts[i].normal, M, sizeof(contexts[i].normal));               MatrixInvert(M, contexts[i].inverse);               nextcontext++;       }        return(i);} /*:h3.Context() - Create a Coordinate Space for a Device This user operator is implemented by first finding the device contextarray index, then transforming IDENTITY space to create an appropriatecooridnate space.*/ struct XYspace *Context(device, units)       pointer device;       /* device token                                 */       double units;         /* multiples of one inch                        */{       double M[2][2];       /* device transformation matrix                 */       register int n;       /* will hold device context number              */       register struct XYspace *S;  /* XYspace constructed                   */        IfTrace2((MustTraceCalls),"Context(%x, %f)\n", device, &units);        ARGCHECK((device == NULL), "Context of NULLDEVICE not allowed",                    NULL, IDENTITY, (0), struct XYspace *);       ARGCHECK((units == 0.0), "Context: bad units", NULL, IDENTITY, (0), struct XYspace *);        n = FindDeviceContext(device);        LONGCOPY(M, contexts[n].normal, sizeof(M));        M[0][0] *= units;       M[0][1] *= units;       M[1][0] *= units;       M[1][1] *= units;        S = (struct XYspace *)Xform(IDENTITY, M);        S->context = n;       return(S);}#endif /*:h3.ConsiderContext() - Adjust a Matrix to Take Out Device Transform Remember, we have :f/x times U times D/ and :f/M/ and and we want :f/xtimes U times M times D/.  An easy way to do this is to calculate:f/D sup <-1> times M times D/, because::formula.x times U times D times D sup <-1> times M times D = x times U times M times D:formula.So this subroutine, given an :f/M/and an object, finds the :f/D/ for thatobject and modifies :f/M/ so it is :f/D sup <-1> times M times D/.*/ static void ConsiderContext(obj, M)       register struct xobject *obj;  /* object to be transformed            */       register double M[2][2];    /* matrix (may be changed)                */{       register int context; /* index in contexts array                      */        if (obj == NULL) return;        if (ISPATHTYPE(obj->type)) {               struct segment *path = (struct segment *) obj;                context = path->context;       }       else if (obj->type == SPACETYPE) {               struct XYspace *S = (struct XYspace *) obj;                context = S->context;       }       else if (obj->type == PICTURETYPE) {       }       else               context = NULLCONTEXT; 

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
不卡的av中国片| 日本韩国欧美一区二区三区| 国产亚洲综合色| 国产91精品一区二区麻豆网站 | 国产成人久久精品77777最新版本 国产成人鲁色资源国产91色综 | 国产精品每日更新在线播放网址 | 久久精品夜色噜噜亚洲a∨| 国产成人精品一区二| 国产精品久久久久影院老司 | 欧美日韩成人一区| 青青草成人在线观看| 精品久久久久久久久久久院品网| 国产在线精品不卡| 中文字幕制服丝袜成人av| 91福利小视频| 看片的网站亚洲| 国产精品天美传媒| 欧美日韩日本视频| 韩国三级中文字幕hd久久精品| 国产精品色哟哟| 欧美色爱综合网| 韩国视频一区二区| 亚洲精品视频免费看| 欧美另类z0zxhd电影| 国产在线播精品第三| 亚洲欧美激情视频在线观看一区二区三区 | 亚洲第一激情av| 精品国产乱码久久久久久图片 | 成人国产一区二区三区精品| 亚洲最大色网站| 欧美videos中文字幕| 99这里只有久久精品视频| 午夜成人在线视频| 久久久99精品久久| 欧美无人高清视频在线观看| 国产一区二区免费看| 亚洲一区二区三区四区五区中文| 精品久久久久久久久久久久久久久| 99久久er热在这里只有精品66| 日日夜夜免费精品视频| 久久老女人爱爱| 欧美午夜精品一区二区蜜桃 | 免费成人在线观看视频| 亚洲欧洲日本在线| 日韩欧美一区二区视频| 国产一区二区免费视频| 亚洲成人在线网站| 国产视频一区二区在线| 欧美丰满美乳xxx高潮www| 高清在线观看日韩| 日本网站在线观看一区二区三区 | 中国av一区二区三区| 欧美精品久久久久久久久老牛影院| 大陆成人av片| 免费在线视频一区| 亚洲男女一区二区三区| 久久久久九九视频| 7777精品伊人久久久大香线蕉完整版 | 国产精品一区二区三区四区| 午夜精品久久久久久| 中文字幕在线一区免费| 欧美精品一区二区蜜臀亚洲| 欧美日韩国产天堂| 91麻豆国产香蕉久久精品| 国产乱人伦精品一区二区在线观看| 亚洲风情在线资源站| 中文字幕一区二区日韩精品绯色| 欧美成人精品3d动漫h| 欧美私人免费视频| 97久久精品人人爽人人爽蜜臀| 国产一区视频导航| 日本不卡视频在线| 亚洲国产cao| 亚洲精品日产精品乱码不卡| 亚洲国产精品成人综合| 久久综合久久99| 日韩欧美一级在线播放| 欧美日韩国产bt| 在线观看视频一区二区| 99re这里只有精品首页| 国产999精品久久久久久绿帽| 蜜臀av性久久久久蜜臀aⅴ四虎 | 国产电影一区在线| 九色|91porny| 免费在线欧美视频| 日韩 欧美一区二区三区| 亚洲高清免费在线| 亚洲一区二区视频| 亚洲啪啪综合av一区二区三区| 欧美激情一区二区三区| 久久精品欧美日韩| 久久品道一品道久久精品| 精品欧美一区二区在线观看| 欧美一级日韩一级| 91精品国产一区二区三区| 欧美另类高清zo欧美| 欧美军同video69gay| 欧美色图免费看| 在线精品观看国产| 91福利国产精品| 欧洲一区二区三区在线| 欧洲日韩一区二区三区| 在线精品亚洲一区二区不卡| 欧美丝袜丝交足nylons图片| 欧美在线999| 欧美日韩三级在线| 欧美剧情片在线观看| 日韩一区二区不卡| 欧美成人a∨高清免费观看| 日韩欧美国产综合一区 | 国内精品免费**视频| 激情综合网最新| 国产一本一道久久香蕉| 国产精品亚洲一区二区三区在线 | 国产九色sp调教91| 国产东北露脸精品视频| 成人国产精品视频| 一本久道久久综合中文字幕| 在线观看免费视频综合| 欧美日韩精品一区二区三区四区| 精品视频1区2区| 日韩一级高清毛片| 久久久美女毛片| 欧美国产视频在线| 亚洲天堂福利av| 亚洲最新在线观看| 蜜桃一区二区三区在线观看| 韩国女主播一区| 成人av中文字幕| 91高清在线观看| 91精品一区二区三区在线观看| 日韩欧美另类在线| 欧美激情中文字幕| 一区二区三区小说| 日韩国产欧美三级| 国产乱人伦偷精品视频免下载 | 成人av资源下载| 欧美亚洲高清一区| 欧美成人福利视频| 欧美激情一区二区三区不卡| 亚洲久本草在线中文字幕| 天天综合色天天| 国产美女娇喘av呻吟久久| av电影在线不卡| 欧美日韩亚洲综合| 精品蜜桃在线看| 成人欧美一区二区三区1314| 午夜日韩在线观看| 韩国av一区二区三区四区| 99re这里都是精品| 欧美一区二区免费观在线| 日本一区二区三区免费乱视频 | 欧洲色大大久久| 欧美大黄免费观看| 1024成人网色www| 琪琪久久久久日韩精品| 成人免费高清在线观看| 欧美精品在线一区二区| 久久久久久一级片| 亚洲夂夂婷婷色拍ww47| 韩国成人精品a∨在线观看| 一本色道久久加勒比精品| 日韩亚洲欧美在线观看| 亚洲视频一区二区免费在线观看| 天天亚洲美女在线视频| 成人激情黄色小说| 91精品国产综合久久香蕉的特点| 欧美国产精品一区二区三区| 午夜精品久久久久久久久| 国产999精品久久久久久绿帽| 欧美日韩免费视频| 国产精品乱码一区二三区小蝌蚪| 日韩高清国产一区在线| 成人av网站在线| 日韩欧美一区在线观看| 亚洲免费伊人电影| 国产一区二区三区观看| 欧美日韩视频一区二区| 亚洲欧洲精品天堂一级| 久久激情五月婷婷| 欧美性色综合网| 国产精品私人自拍| 久久精品国产99| 欧美日韩你懂的| 亚洲人成电影网站色mp4| 国产精品一区二区你懂的| 欧美猛男男办公室激情| 综合久久一区二区三区| 国产一区视频网站| 欧美一区二区三区视频在线观看 | 亚洲猫色日本管| 国产精品亚洲综合一区在线观看| 3d成人h动漫网站入口| 亚洲精品视频免费看| 岛国av在线一区| 久久久蜜桃精品| 精油按摩中文字幕久久| 欧美精品乱码久久久久久| 一区二区三区中文字幕电影| 成人高清视频免费观看|