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

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

?? ftchartoglyphindexmap.h

?? a very goog book
?? H
字號:
#ifndef    __FTCharToGlyphIndexMap__#define    __FTCharToGlyphIndexMap__/*  Provides a non-STL alternative to the STL map<unsigned long, unsigned long>  which maps character codes to glyph indices inside FTCharmap.    Implementation:    - NumberOfBuckets buckets are considered.    - Each bucket has BucketSize entries.    - When the glyph index for the character code C has to be stored, the       bucket this character belongs to is found using 'C div BucketSize'.       If this bucket has not been allocated yet, do it now.      The entry in the bucked is found using 'C mod BucketSize'.       If it is set to IndexNotFound, then the glyph entry has not been set.    - Try to mimic the calls made to the STL map API.  Caveats:    - The glyph index is now a signed long instead of unsigned long, so      the special value IndexNotFound (= -1) can be used to specify that the       glyph index has not been stored yet.*/#include "FTGL.h"class FTGL_EXPORT FTCharToGlyphIndexMap{public:    typedef unsigned long CharacterCode;  typedef signed long GlyphIndex;  enum   {    NumberOfBuckets = 256,    BucketSize = 256,    IndexNotFound = -1  };  FTCharToGlyphIndexMap();  virtual ~FTCharToGlyphIndexMap();    void clear();  const GlyphIndex* find(CharacterCode c);  void insert(CharacterCode c, GlyphIndex g);  private:  GlyphIndex** Indices;};inline FTCharToGlyphIndexMap::FTCharToGlyphIndexMap(){  this->Indices = 0;}// Free all bucketsinline void FTCharToGlyphIndexMap::clear(){  if (this->Indices)    {    for (int i = 0; i < FTCharToGlyphIndexMap::NumberOfBuckets; i++)      {      if (this->Indices[i])        {        delete [] this->Indices[i];        this->Indices[i] = 0;        }      }    }}inline FTCharToGlyphIndexMap::~FTCharToGlyphIndexMap(){  if (this->Indices)    {    // Free all buckets    this->clear();    // Free main structure    delete [] this->Indices;    this->Indices = 0;    }}// Find index corresponding to char codeinline const FTCharToGlyphIndexMap::GlyphIndex* FTCharToGlyphIndexMap::find(FTCharToGlyphIndexMap::CharacterCode c){  if (!this->Indices)    {    return 0;    }  // Find position of char code in buckets  div_t pos = div(c, FTCharToGlyphIndexMap::BucketSize);  if (!this->Indices[pos.quot])    {    return 0;    }  const FTCharToGlyphIndexMap::GlyphIndex *ptr = &this->Indices[pos.quot][pos.rem];  if (*ptr == FTCharToGlyphIndexMap::IndexNotFound)    {    return 0;    }  return ptr;}// Insert index corresponding to char codeinline void FTCharToGlyphIndexMap::insert(FTCharToGlyphIndexMap::CharacterCode c,                                      FTCharToGlyphIndexMap::GlyphIndex g){  if (!this->Indices)    {    this->Indices = new GlyphIndex* [FTCharToGlyphIndexMap::NumberOfBuckets];    for (int i = 0; i < FTCharToGlyphIndexMap::NumberOfBuckets; i++)      {        this->Indices[i] = 0;      }    }  // Find position of char code in buckets  div_t pos = div(c, FTCharToGlyphIndexMap::BucketSize);  // Allocate bucket if does not exist yet  if (!this->Indices[pos.quot])    {    this->Indices[pos.quot] = new GlyphIndex [FTCharToGlyphIndexMap::BucketSize];    for (int i = 0; i < FTCharToGlyphIndexMap::BucketSize; i++)      {      this->Indices[pos.quot][i] = FTCharToGlyphIndexMap::IndexNotFound;      }    }    this->Indices[pos.quot][pos.rem] = g;}#endif  //  __FTCharToGlyphIndexMap__

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
六月丁香婷婷久久| 国产自产视频一区二区三区| 精品国产免费久久| 一本色道久久综合亚洲精品按摩| 日韩专区一卡二卡| 国产精品伦理一区二区| 日韩一级二级三级| 在线观看日韩国产| 成年人午夜久久久| 国产一区二区三区久久久| 亚洲午夜精品在线| 国产精品国模大尺度视频| 精品久久久久久久久久久院品网| 欧美午夜不卡视频| 99精品热视频| 大陆成人av片| 国产精品一品二品| 看国产成人h片视频| 香蕉久久夜色精品国产使用方法| 自拍偷拍国产精品| 国产精品麻豆网站| 国产精品天干天干在线综合| www激情久久| 日韩免费电影网站| 欧美一区二区视频网站| 欧美伊人久久大香线蕉综合69 | 亚洲视频一区在线| 欧美激情一区二区三区| 久久综合成人精品亚洲另类欧美 | 欧美午夜寂寞影院| 在线一区二区视频| 91福利精品视频| 99国产精品视频免费观看| 成人精品国产福利| 成人黄色在线网站| 成人av在线资源网| 97精品久久久久中文字幕 | 91福利在线观看| 91久久精品一区二区二区| 99久久精品国产导航| 99国产精品久| 91视频在线看| 日本久久精品电影| 在线观看国产日韩| 欧美日韩一区二区三区视频| 欧美性高清videossexo| 欧美日韩视频在线第一区| 欧美久久一二三四区| 欧美酷刑日本凌虐凌虐| 欧美一区日韩一区| 日韩无一区二区| 欧美成人伊人久久综合网| 久久影院视频免费| 亚洲欧洲国产日韩| 亚洲综合免费观看高清完整版| 亚洲一区二区精品视频| 亚洲va天堂va国产va久| 免费人成网站在线观看欧美高清| 韩国av一区二区三区| 成人晚上爱看视频| 色欧美日韩亚洲| 91精品国产91综合久久蜜臀| 精品国产亚洲一区二区三区在线观看 | 日产精品久久久久久久性色| 麻豆国产欧美日韩综合精品二区| 国产伦精品一区二区三区视频青涩| 国产一区二区导航在线播放| 99re成人在线| 欧美福利一区二区| 久久久99精品免费观看不卡| 亚洲人成在线播放网站岛国 | 国内精品在线播放| 成人免费看黄yyy456| 欧美午夜不卡在线观看免费| 久久夜色精品国产欧美乱极品| 中文字幕在线播放不卡一区| 亚洲成a人在线观看| 国产乱子伦视频一区二区三区 | 波多野结衣精品在线| 欧美丝袜自拍制服另类| 久久日韩精品一区二区五区| 日韩毛片一二三区| 欧美aⅴ一区二区三区视频| 成人永久看片免费视频天堂| 欧美日本在线看| 国产精品乱码妇女bbbb| 日韩电影一二三区| caoporn国产精品| 日韩欧美aaaaaa| 一区二区三区国产| 国产精品一区一区| 欧美日韩亚洲丝袜制服| 久久精品一区二区三区av| 亚洲国产一区在线观看| 国产成人午夜高潮毛片| 538在线一区二区精品国产| 国产精品久久久久久亚洲毛片 | 亚洲丝袜美腿综合| 精品一区二区三区免费播放| 91麻豆国产福利在线观看| 日韩欧美中文一区二区| 一区二区三区在线视频观看| 国产精品资源在线观看| 7777精品伊人久久久大香线蕉超级流畅 | 丝袜亚洲另类欧美综合| av爱爱亚洲一区| 国产网站一区二区| 看国产成人h片视频| 欧美日韩国产免费一区二区| 日韩一区在线看| 国产精品1区2区| 日韩欧美国产三级| 亚洲成年人网站在线观看| 色婷婷av一区二区三区gif| 国产精品免费网站在线观看| 久久爱www久久做| 欧美一区二区观看视频| 亚洲国产欧美在线人成| 在线免费观看成人短视频| 日韩伦理av电影| 成人免费视频视频在线观看免费 | 欧美男男青年gay1069videost | 色综合咪咪久久| 亚洲视频在线一区二区| 成人伦理片在线| 国产精品久久久久9999吃药| 国产精品888| xnxx国产精品| 国产一区在线精品| 欧美精品一区二区三区久久久| 久久超碰97中文字幕| 精品久久免费看| 韩国av一区二区| 国产欧美日韩精品a在线观看| 国产在线观看一区二区| 亚洲欧洲韩国日本视频| 95精品视频在线| 亚洲精品成人精品456| 日本韩国一区二区三区| 亚洲一区中文日韩| 欧美日韩三级一区二区| 午夜日韩在线电影| 91精品国产免费| 九色综合国产一区二区三区| 久久久99精品久久| 成人福利视频网站| 亚洲免费av高清| 欧美日韩国产免费一区二区| 男女视频一区二区| 久久先锋资源网| eeuss鲁片一区二区三区在线看| 一区二区三区资源| 欧美精品日日鲁夜夜添| 久久99久久99| 国产精品美女视频| 欧美色综合影院| 日日摸夜夜添夜夜添亚洲女人| 日韩亚洲欧美综合| 国产91露脸合集magnet| 亚洲男人的天堂在线观看| 欧美日韩三级一区| 国产一区二区0| 一区二区三区在线免费播放| 欧美一区二区三区免费视频| 国产原创一区二区| 中文字幕亚洲欧美在线不卡| 欧美综合在线视频| 九九精品视频在线看| 中文乱码免费一区二区| 欧美日韩精品三区| 国产一区二区在线观看视频| 亚洲人成在线播放网站岛国| 91精品国产综合久久小美女| 国产成人精品影视| 亚洲成人三级小说| 久久精品夜色噜噜亚洲aⅴ| 在线欧美日韩精品| 国产一区二区三区久久久| 一区二区三区四区在线播放| 精品福利一区二区三区免费视频| 91麻豆高清视频| 国模少妇一区二区三区| 亚洲在线视频一区| 国产日韩欧美高清| 欧美日韩电影一区| av在线播放不卡| 久久99这里只有精品| 亚洲欧美激情插| 久久网这里都是精品| 欧美日韩国产色站一区二区三区| 成人伦理片在线| 黄一区二区三区| 亚州成人在线电影| 专区另类欧美日韩| 久久婷婷国产综合精品青草| 欧美日韩精品久久久| av中文一区二区三区| 蜜臀精品久久久久久蜜臀| 亚洲精品国产一区二区精华液| 久久亚洲春色中文字幕久久久|