首页新闻找找看学习计划

汉字笔画内部点阵信息怎么获取?

0
悬赏园豆:60 [待解决问题]

c#通过路径函数可以获取到某路径的单笔画信息:

this.singleStrokePath.PathData.Points[i]

可是我想获取到笔画内部的点阵信息诸如一下:

//示例字符“龙飞凤舞”的笔划数据
    //
    static _STROKE lffw[]={{34,13,39,18,3,10,1},{39,18,45,24,12,9,1},{45,16,45,27,1,6,1},{20,33,28,32,1,10,1},{29,31,48,29,10,7,1},{51,28,70,30,5,6,1},{37,31,40,52,7,6,1},{52,35,51,42,2,7,1},
                            {52,41,44,50,3,7,1},{9,71,15,66,2,9,1},{19,64,27,58,13,7,1},{29,56,58,54,5,5,1},{41,53,41,66,5,8,1},{41,68,26,89,7,7,1},{26,88,23,137,7,5,2},{41,65,48,76,3,4,1},
                            {46,73,46,132,6,7,3},{48,118,35,101,8,4,3},{34,99,31,69,3,7,3},{36,70,73,71,5,9,3},{73,68,90,64,5,7,2},{90,61,83,54,2,5,1},{83,54,75,58,3,5,1},{76,56,70,103,5,5,3},
                            {71,94,83,85,8,7,2},{82,86,97,85,8,7,1},{97,86,81,102,7,7,1},{82,101,82,121,6,7,2},{84,119,120,121,6,9,3},{119,119,130,110,7,9,1},{130,110,130,100,6,5,1},{131,100,124,98,5,7,1},
                            {124,95,113,97,5,6,1},{108,96,109,90,6,6,1},{110,88,119,80,6,8,1},{118,79,119,71,5,6,1},{119,72,113,73,2,6,1},{116,72,106,63,5,5,1},{107,61,106,53,7,5,1},{107,53,102,47,7,7,1},
                            {103,48,83,44,5,5,1},{82,42,112,37,10,9,1},{113,37,118,33,9,1,1},
                            {132,25,164,24,8,7,1},{162,22,162,49,6,5,1},{164,49,196,50,6,8,3},{198,50,198,23,6,3,3},{198,21,196,17,3,7,1},{194,17,189,18,5,4,1},{188,17,180,26,4,6,1},{180,25,186,31,4,3,1},
                            {188,30,201,31,3,3,1},{204,30,213,39,7,7,1},{210,36,210,53,8,9,1},{212,51,177,89,10,6,3},{176,88,176,109,4,6,2},{176,107,189,117,5,6,1},{188,113,230,114,6,5,2},{229,113,215,101,8,8,2},
                            {217,101,204,102,5,8,1},{205,98,189,111,8,6,2},{187,110,187,91,3,3,2},{186,89,176,85,4,4,1},{117,84,162,73,5,5,2},{162,73,142,74,6,5,1},{143,73,140,71,4,6,1},{140,69,136,55,8,8,1},
                            {135,54,143,51,7,8,1},{143,50,155,59,7,7,1},{153,58,153,91,7,6,2},{152,89,144,129,7,12,1},{144,122,127,143,10,7,2},{130,139,127,143,6,1,1},{236,28,237,40,2,5,1},{237,38,241,52,6,7,1},
                            {241,50,243,80,6,5,1},{253,35,277,37,6,7,2},{275,37,276,48,7,5,1},{276,47,277,87,6,5,1},{277,87,292,91,5,7,1},{290,89,312,91,5,6,3},{311,89,313,85,8,6,1},{312,83,312,71,6,6,2},
                            {312,72,295,42,5,6,2},{294,40,290,14,5,5,3},{290,12,279,14,6,5,1},{280,14,261,32,5,7,3},{261,31,260,47,6,6,2},{256,45,259,86,6,9,3},{259,83,268,96,6,10,3},{266,93,254,102,5,8,2},
                            {254,101,254,117,12,7,2},{253,116,266,129,6,7,1},{267,126,275,131,5,3,1},
                            {308,27,315,43,7,4,1},{313,39,326,22,9,5,1},{326,20,340,22,7,5,1},{339,21,345,31,5,4,1},{344,28,352,28,6,6,1},{350,26,371,24,10,5,1},{371,24,379,36,7,6,1},{377,32,389,31,4,9,1},
                            {387,28,401,24,9,5,1},{402,24,422,16,9,8,1},{333,43,344,69,7,6,1},{360,43,361,74,11,8,1},{382,43,380,54,5,5,1},{407,42,392,57,5,7,1},{392,56,384,78,10,5,1},{384,77,378,80,3,6,1},
                            {377,79,375,77,5,4,1},{325,63,406,57,10,7,1},{350,78,335,99,7,7,3},{343,90,355,108,7,7,2},{353,105,352,126,4,8,2},{351,123,336,129,9,8,2},{338,127,328,128,6,8,1},{331,127,320,121,7,8,2},
                            {314,120,334,118,8,7,3},{333,115,413,93,8,5,3},{414,91,414,73,4,4,2},{415,74,406,70,5,5,2},{405,67,399,95,7,10,2},{399,87,399,153,11,8,3},{377,104,377,122,8,6,2},{376,118,407,121,8,8,3},
                            {406,121,414,117,7,4,3},{-1,0,0,0,0,0,0}};

该如何获取?谢谢!

竹木人的主页 竹木人 | 初学一级 | 园豆:91
提问于:2012-03-08 17:57
< >
分享
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册