分享
 
 
 

取得汉字的笔画的源码(1)

王朝other·作者佚名  2008-06-01
窄屏简体版  字體: |||超大  

// 取得汉字的笔画

/*

gb2312_stkcnt.cpp

Retrieve the stroke count of Chinese character.

Support GB2312_80.

Chunhua Liu

Last updated: 2001-11-22/1500

*/

static int gb2312_stroke_count[] =

{

/* B0 */

10, 7, 10, 10, 8, 10, 9, 11,

17, 14, 13, 5, 13, 10, 12, 15,

10, 6, 10, 9, 13, 8, 10, 10,

8, 8, 10, 5, 10, 14, 16, 9,

12, 12, 15, 15, 7, 10, 5, 5,

7, 10, 2, 9, 4, 8, 12, 13,

7, 10, 7, 21, 10, 8, 5, 9,

6, 13, 8, 8, 9, 13, 12, 10,

13, 7, 10, 10, 8, 8, 7, 8,

7, 19, 5, 4, 8, 5, 9, 10,

14, 14, 9, 12, 15, 10, 15, 12,

12, 8, 9, 5, 15, 10,

/* B1 */

16, 13, 9, 12, 8, 8, 8, 7,

15, 10, 13, 19, 8, 13, 12, 8,

5, 12, 9, 4, 9, 10, 7, 8,

12, 12, 10, 8, 8, 5, 11, 11,

11, 9, 9, 18, 9, 12, 14, 4,

13, 10, 8, 14, 13, 14, 6, 10,

9, 4, 7, 13, 6, 11, 14, 5,

13, 16, 17, 16, 9, 18, 5, 12,

8, 9, 9, 8, 4, 16, 16, 17,

12, 9, 11, 15, 8, 19, 16, 7,

15, 11, 12, 16, 13, 10, 13, 7,

6, 9, 5, 8, 9, 9,

/* B2 */

10, 6, 8, 11, 15, 8, 10, 8,

12, 9, 13, 10, 14, 7, 8, 11,

11, 14, 12, 8, 7, 10, 2, 10,

7, 11, 4, 5, 7, 19, 10, 8,

17, 11, 12, 7, 3, 7, 12, 15,

8, 11, 11, 14, 16, 8, 10, 9,

11, 11, 7, 7, 10, 4, 7, 17,

16, 16, 15, 11, 9, 8, 12, 8,

5, 9, 7, 19, 12, 3, 9, 9,

9, 14, 12, 14, 7, 9, 8, 8,

10, 10, 12, 11, 14, 12, 11, 13,

11, 6, 11, 19, 8, 11,

/* B3 */

6, 9, 11, 4, 11, 7, 2, 12,

8, 11, 10, 12, 7, 9, 12, 15,

15, 11, 7, 8, 4, 7, 15, 12,

7, 15, 10, 6, 7, 6, 11, 7,

7, 7, 12, 8, 15, 10, 9, 16,

6, 7, 10, 12, 12, 15, 8, 8,

10, 10, 10, 6, 13, 9, 11, 6,

7, 6, 6, 10, 8, 8, 4, 7,

10, 5, 9, 6, 6, 6, 11, 8,

8, 13, 12, 14, 13, 13, 13, 4,

11, 14, 4, 10, 7, 5, 16, 12,

18, 12, 13, 12, 9, 13,

/* B4 */

10, 12, 24, 13, 13, 5, 12, 3,

9, 13, 7, 11, 12, 7, 9, 12,

15, 7, 6, 6, 7, 8, 11, 13,

8, 9, 13, 15, 10, 11, 7, 21,

18, 11, 11, 9, 14, 14, 13, 13,

10, 7, 6, 8, 12, 6, 15, 12,

7, 5, 4, 5, 11, 11, 15, 17,

9, 19, 16, 12, 14, 11, 13, 10,

13, 14, 11, 14, 7, 6, 3, 14,

15, 12, 11, 10, 13, 12, 6, 12,

14, 5, 3, 7, 4, 12, 17, 9,

9, 5, 9, 11, 9, 11,

/* B5 */

9, 10, 8, 4, 8, 10, 11, 9,

5, 12, 7, 11, 11, 8, 11, 11,

6, 9, 10, 9, 10, 2, 10, 17,

10, 7, 11, 6, 8, 15, 11, 12,

11, 15, 11, 8, 19, 6, 12, 12,

17, 14, 4, 12, 7, 14, 8, 10,

11, 7, 10, 14, 14, 8, 8, 6,

12, 11, 9, 7, 10, 12, 16, 11,

13, 13, 9, 8, 16, 9, 5, 7,

7, 8, 11, 12, 11, 13, 13, 5,

16, 10, 2, 11, 6, 8, 10, 12,

10, 14, 15, 8, 11, 13,

/* B6 */

2, 7, 5, 7, 8, 12, 13, 8,

4, 6, 5, 5, 12, 15, 6, 9,

8, 9, 7, 9, 11, 7, 4, 9,

7, 10, 12, 10, 13, 9, 12, 9,

10, 11, 13, 12, 7, 14, 7, 9,

12, 7, 14, 12, 14, 9, 11, 12,

11, 7, 4, 5, 15, 7, 19, 12,

10, 7, 9, 9, 12, 11, 9, 6,

6, 9, 13, 6, 13, 11, 8, 12,

11, 13, 10, 12, 9, 15, 6, 10,

10, 4, 7, 12, 11, 10, 10, 6,

2, 6, 5, 9, 9, 2,

/* B7 */

9, 5, 9, 12, 6, 4, 9, 8,

9, 18, 6, 12, 18, 15, 8, 8,

17, 3, 10, 4, 7, 8, 8, 5,

7, 7, 7, 7, 4, 8, 8, 6,

7, 6, 6, 7, 8, 11, 8, 11,

3, 8, 10, 10, 7, 8, 8, 8,

9, 7, 11, 7, 8, 4, 7, 7,

12, 7, 10, 8, 6, 8, 12, 12,

4, 9, 8, 13, 10, 12, 4, 9,

11, 10, 5, 13, 6, 8, 4, 7,

7, 4, 15, 8, 14, 7, 8, 13,

12, 9, 11, 6, 9, 8,

/* B8 */

10, 11, 13, 11, 5, 7, 7, 11,

10, 10, 8

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
2023年上半年GDP全球前十五强
 百态   2023-10-24
美众议院议长启动对拜登的弹劾调查
 百态   2023-09-13
上海、济南、武汉等多地出现不明坠落物
 探索   2023-09-06
印度或要将国名改为“巴拉特”
 百态   2023-09-06
男子为女友送行,买票不登机被捕
 百态   2023-08-20
手机地震预警功能怎么开?
 干货   2023-08-06
女子4年卖2套房花700多万做美容:不但没变美脸,面部还出现变形
 百态   2023-08-04
住户一楼被水淹 还冲来8头猪
 百态   2023-07-31
女子体内爬出大量瓜子状活虫
 百态   2023-07-25
地球连续35年收到神秘规律性信号,网友:不要回答!
 探索   2023-07-21
全球镓价格本周大涨27%
 探索   2023-07-09
钱都流向了那些不缺钱的人,苦都留给了能吃苦的人
 探索   2023-07-02
倩女手游刀客魅者强控制(强混乱强眩晕强睡眠)和对应控制抗性的关系
 百态   2020-08-20
美国5月9日最新疫情:美国确诊人数突破131万
 百态   2020-05-09
荷兰政府宣布将集体辞职
 干货   2020-04-30
倩女幽魂手游师徒任务情义春秋猜成语答案逍遥观:鹏程万里
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案神机营:射石饮羽
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案昆仑山:拔刀相助
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案天工阁:鬼斧神工
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案丝路古道:单枪匹马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:与虎谋皮
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:李代桃僵
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:指鹿为马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:小鸟依人
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:千金买邻
 干货   2019-11-12
 
推荐阅读
 
 
 
>>返回首頁<<
 
靜靜地坐在廢墟上,四周的荒凉一望無際,忽然覺得,淒涼也很美
© 2005- 王朝網路 版權所有