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

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

?? hints.c

?? unix vnc 協(xié)議源碼. VNC是一款遠(yuǎn)程控制工具軟件.
?? C
?? 第 1 頁 / 共 3 頁
字號(hào):
/* $XConsortium: hints.c,v 1.4 91/10/10 11:18:13 rws 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. */ /* HINTS    CWEB         V0006 ********                             *//*:h1.HINTS Module - Processing Rasterization Hints &author. Sten F. Andler; continuity by Jeffrey B. Lotspiech (lotspiech@almaden.ibm.com) and DuaineW. Pryor, Jr.  :h3.Include Files The included files are:*/ #include "objects.h"#include "spaces.h"#include "paths.h"#include "regions.h"#include "hints.h" /*:h3.Functions Provided to the TYPE1IMAGER User None.*/ /*:h3.Functions Provided to Other Modules This module provides the following entry point to other modules:*/  /*SHARED LINE(S) ORIGINATED HERE*/ /*:h3.Macros Provided to Other Modules None.*/ /*:h2.InitHints() - Initialize hint data structure*/ #define MAXLABEL 20static struct {  int inuse;  int computed;  struct fractpoint hint;} oldHint[MAXLABEL]; #define ODD(x) (((int)(x)) & 01)#define FPFLOOR(fp) TOFRACTPEL((fp) >> FRACTBITS)#define FPROUND(fp) FPFLOOR((fp) + FPHALF) void InitHints(){  int i;   for (i = 0; i < MAXLABEL; i++)    {    oldHint[i].inuse    = FALSE;    oldHint[i].computed = FALSE;    }} /*:h3.CloseHints(hintP) - Reverse hints that are still open*/ void CloseHints(hintP)  struct fractpoint *hintP;{  int i;   for (i = 0; i < MAXLABEL; i++)    {    if (oldHint[i].inuse)      {      hintP->x -= oldHint[i].hint.x;      hintP->y -= oldHint[i].hint.y;       oldHint[i].inuse = FALSE;       IfTrace3((HintDebug > 1),"  Hint %d was open, hint=(%p,%p)\n",                i, hintP->x, hintP->y);      }    }} /*:h3.ComputeHint(hP, currX, currY, hintP) - Compute the value of a hint*/ static void ComputeHint(hP, currX, currY, hintP)  struct hintsegment *hP;  fractpel currX, currY;  struct fractpoint *hintP;{  fractpel currRef, currWidth;  int idealWidth;  fractpel hintValue;  char orientation; /*By construction, width is never zero.  Therefore we can use thewidth value to determine if the hint has been rotated by amultiple of 90 degrees.*/   if (hP->width.y == 0)    {    orientation = 'v';  /* vertical */    IfTrace0((HintDebug > 0),"  vertical hint\n");    }  else if (hP->width.x == 0)    {    orientation = 'h';  /* horizontal */    IfTrace0((HintDebug > 0),"  horizontal hint\n");    }  else    {    IfTrace0((HintDebug > 0),"  hint not vertical or horizontal\n");    hintP->x = hintP->y = 0;    return;    }   /* Compute currRef and currWidth with a unit of 1 pel */  if (orientation == 'v')      /* vertical */    {    currRef = hP->ref.x + currX;    currWidth = ABS(hP->width.x);    }  else if (orientation == 'h') /* horizontal */    {    currRef = hP->ref.y + currY;    currWidth = ABS(hP->width.y);    }  else                             /* error */    {    abort("ComputeHint: invalid orientation");    }   IfTrace4((HintDebug > 1),    "  currX=%p, currY=%p, currRef=%p, currWidth=%p\n",    currX, currY,    currRef, currWidth);   if ((hP->hinttype == 'b')      /* Bar or stem */    || (hP->hinttype == 's'))    /* Serif */    {    idealWidth = NEARESTPEL(currWidth);    if (idealWidth == 0) idealWidth = 1;    if (ODD(idealWidth))         /* Is ideal width odd? */      {      /* center "ref" over pel */      hintValue = FPFLOOR(currRef) + FPHALF - currRef;      }    else      {      /* align "ref" on pel boundary */      hintValue = FPROUND(currRef) - currRef;      }    if (HintDebug > 2) {          IfTrace1(TRUE,"  idealWidth=%d, ", idealWidth);      }    }  else if (hP->hinttype == 'c')  /* Curve extrema */    {    /* align "ref" on pel boundary */    hintValue = FPROUND(currRef) - currRef;    }  else                           /* error */    {    abort("ComputeHint: invalid hinttype");    }   IfTrace1((HintDebug > 1),"  hintValue=%p", hintValue);   if (orientation == 'v')      /* vertical */    {    hintP->x = hintValue;    hintP->y = 0;    }  else if (orientation == 'h') /* horizontal */    {    hintP->x = 0;    hintP->y = hintValue;    }  else                             /* error */    {    abort("ComputeHint: invalid orientation");    }} /*:h3.ProcessHint(hP, currX, currY, hintP) - Process a rasterization hint*/ void ProcessHint(hP, currX, currY, hintP)  struct hintsegment *hP;  fractpel currX, currY;  struct fractpoint *hintP;{  struct fractpoint thisHint;   IfTrace4((HintDebug > 1),"  ref=(%p,%p), width=(%p,%p)",      hP->ref.x, hP->ref.y,      hP->width.x, hP->width.y);  IfTrace4((HintDebug > 1),", %c %c %c %c",      hP->orientation, hP->hinttype,      hP->adjusttype, hP->direction);  IfTrace1((HintDebug > 1),", label=%d\n", hP->label);   if ((hP->adjusttype == 'm')      /* Move */    || (hP->adjusttype == 'a'))    /* Adjust */    {    /* Look up hint in oldHint table */    if ((hP->label >= 0) && (hP->label < MAXLABEL))      {      if (oldHint[hP->label].computed)        /* Use old hint value if already computed */        {        thisHint.x = oldHint[hP->label].hint.x;        thisHint.y = oldHint[hP->label].hint.y;        oldHint[hP->label].inuse    = TRUE;        }      else        /* Compute new value for hint and store it for future use */        {        ComputeHint(hP, currX, currY, &thisHint);         oldHint[hP->label].hint.x = thisHint.x;        oldHint[hP->label].hint.y = thisHint.y;        oldHint[hP->label].inuse    = TRUE;        oldHint[hP->label].computed = TRUE;        }      }    else                             /* error */      {      abort("ProcessHint: invalid label");      }    }  else if (hP->adjusttype == 'r')  /* Reverse */    {    /* Use the inverse of the existing hint value to reverse hint */    if ((hP->label >= 0) && (hP->label < MAXLABEL))      {      if (oldHint[hP->label].inuse)        {        thisHint.x = -oldHint[hP->label].hint.x;        thisHint.y = -oldHint[hP->label].hint.y;        oldHint[hP->label].inuse = FALSE;        }      else                           /* error */        {        abort("ProcessHint: label is not in use");        }      }    else                           /* error */      {      abort("ProcessHint: invalid label");      }     }  else                           /* error */    {    abort("ProcessHint: invalid adjusttype");    }  IfTrace3((HintDebug > 1),"  label=%d, thisHint=(%p,%p)\n",    hP->label, thisHint.x, thisHint.y);   hintP->x += thisHint.x;  hintP->y += thisHint.y;   IfTrace2((HintDebug > 1),"  hint=(%p,%p)\n",    hintP->x, hintP->y);} 

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲国产一区二区视频| kk眼镜猥琐国模调教系列一区二区| 久久精品国产网站| 91视视频在线观看入口直接观看www| 欧美一区二区在线播放| 中文字幕一区二区在线播放| 蜜桃视频一区二区| 欧美中文字幕一二三区视频| 亚洲国产精品激情在线观看| 蜜臀精品一区二区三区在线观看| 在线免费观看一区| 国产精品日产欧美久久久久| 美女视频黄 久久| 欧美日韩精品福利| 亚洲精品成人a在线观看| 不卡一卡二卡三乱码免费网站| 精品久久人人做人人爱| 另类调教123区| 51精品国自产在线| 亚洲午夜免费视频| 在线视频欧美精品| 1024成人网| av动漫一区二区| 亚洲视频在线观看一区| 丁香桃色午夜亚洲一区二区三区| 精品久久久久久久久久久久久久久 | 久久成人免费电影| 制服丝袜激情欧洲亚洲| 亚洲国产日韩一区二区| 欧美丝袜第三区| 午夜电影网一区| 69堂成人精品免费视频| 首页亚洲欧美制服丝腿| 3d成人动漫网站| 麻豆国产精品777777在线| 欧美xxx久久| 狠狠色丁香九九婷婷综合五月| 日韩一区二区三区电影| 蜜桃精品视频在线观看| 日韩一级大片在线观看| 韩国成人在线视频| 久久精品视频在线免费观看 | 欧美三级日韩三级国产三级| 亚洲乱码日产精品bd| 日本高清不卡视频| 午夜精品成人在线| 日韩一区二区在线看| 精久久久久久久久久久| 久久精品视频一区二区三区| 成人av在线播放网址| 亚洲一级不卡视频| 欧美一区二区三区在线| 国产成人精品免费在线| 国产精品成人免费| 欧美日韩免费高清一区色橹橹| 亚欧色一区w666天堂| 日韩视频在线你懂得| 国产乱人伦偷精品视频不卡| 国产精品久久久久久久久久免费看| 91蜜桃网址入口| 五月天激情综合| 中文字幕巨乱亚洲| 欧美三级在线视频| 国产精品影视在线| 亚洲人123区| 日韩美女视频一区二区在线观看| 国产精品一二三区| 亚洲成a人片在线不卡一二三区| 日韩一二三区不卡| 一本色道久久综合狠狠躁的推荐| 蜜臀av性久久久久蜜臀aⅴ流畅| 国产精品天干天干在观线 | 色噜噜夜夜夜综合网| 久久99精品一区二区三区| 日韩一区日韩二区| 日韩午夜在线观看| 色综合久久综合| 国产在线精品一区二区| 亚洲国产视频直播| 国产欧美日韩一区二区三区在线观看| 91黄色小视频| 成人做爰69片免费看网站| 日韩综合小视频| 亚洲色图一区二区三区| 欧美精品一区二区三区高清aⅴ| 欧美在线观看视频在线| 高清久久久久久| 热久久免费视频| 亚洲国产综合色| 亚洲三级免费观看| 国产女人水真多18毛片18精品视频 | 日韩精品一区二区三区在线观看| 欧美在线制服丝袜| 97aⅴ精品视频一二三区| 国产盗摄一区二区三区| 免费观看日韩av| 天天操天天色综合| 亚洲精品国产视频| 中文字幕日韩av资源站| 国产婷婷精品av在线| 精品久久久久一区二区国产| 在线不卡中文字幕| 欧美日韩免费在线视频| 色婷婷激情久久| 成人开心网精品视频| 国产成人自拍网| 国产精品自拍一区| 韩国三级在线一区| 久久www免费人成看片高清| 日本一不卡视频| 五月激情综合网| 日本不卡123| 毛片一区二区三区| 精品一区二区精品| 另类小说欧美激情| 国产一区二三区| 黄色精品一二区| 国产美女娇喘av呻吟久久| 国产美女精品在线| 风间由美一区二区av101| 成人午夜av电影| aaa亚洲精品| 欧美色图激情小说| 91精品国模一区二区三区| 日韩色视频在线观看| 26uuu国产日韩综合| 国产日韩精品一区| ...中文天堂在线一区| 亚洲美女淫视频| 免费高清成人在线| 国产成都精品91一区二区三| av电影天堂一区二区在线观看| 色老汉一区二区三区| 欧美猛男gaygay网站| 精品第一国产综合精品aⅴ| 日本一区二区免费在线观看视频| 一区二区中文视频| 亚洲第一二三四区| 韩国成人在线视频| 91女厕偷拍女厕偷拍高清| 欧美日韩在线播| 精品久久久久一区二区国产| 中文字幕一区二区三区四区 | 成人午夜碰碰视频| 在线观看视频91| 久久夜色精品一区| 亚洲欧美在线视频观看| 日韩国产欧美在线播放| 成人免费视频免费观看| 欧美日韩一区久久| 亚洲国产精品精华液2区45| 亚洲妇熟xx妇色黄| 成人综合在线视频| 欧美一区二区观看视频| 国产精品色婷婷| 理论电影国产精品| 日本韩国欧美三级| 国产欧美日韩久久| 亚洲成人动漫在线免费观看| 高清av一区二区| 在线播放日韩导航| 亚洲美腿欧美偷拍| 国产精华液一区二区三区| 欧美日韩国产小视频| 国产精品国产三级国产专播品爱网 | 日本不卡视频一二三区| 99re热视频精品| 久久综合精品国产一区二区三区| 亚洲裸体xxx| 成人在线视频一区| 精品国产免费久久| 亚洲成人激情社区| 日本黄色一区二区| 国产精品女同互慰在线看| 狠狠色丁香九九婷婷综合五月| 宅男噜噜噜66一区二区66| 亚洲女人小视频在线观看| 高清久久久久久| 久久精品一区二区三区四区| 久久97超碰色| 欧美一二三四区在线| 日韩精品每日更新| 欧美三级视频在线观看| 亚洲综合色婷婷| 99re视频精品| 中文字幕一区二区三区乱码在线| 精品一区二区三区在线播放视频| 欧美日韩高清一区二区三区| 亚洲黄色尤物视频| 91啪在线观看| 亚洲男同性恋视频| av激情成人网| 亚洲免费资源在线播放| 91影院在线观看| 亚洲人成伊人成综合网小说| 99国产精品久久久久久久久久久 | 精品国产123| 国产一区二区毛片| 国产色产综合产在线视频| 国产精品白丝jk黑袜喷水|