vml纯代码做人物图像
看到一个论坛的 头像,做vml代码简单些,因为眼睛比眼镜复杂些,看效果。<DIV style="LEFT: 0px; OVERFLOW: hidden; WIDTH: 780px; POSITION: relative; TOP: 0px; HEIGHT: 750px"><?import namespace = v urn = "urn:schemas-microsoft-com:vml" implementation = "#default#VML" declareNamespace /><v:shape style="LEFT: 0px; WIDTH: 100px; POSITION: absolute; TOP: 0px; HEIGHT: 100px; rotation: 0" coordsize = "100,100" filled = "t" fillcolor = "#fccaaf" strokecolor = "#f5dfd4" path = " m414,131 c403,137,402,151,384,163,313,153,262,207,209,267,187,307,196,328,190,386,196,441,204,446,224,496,246,527,235,523,273,550,314,563,320,561,358,557,397,544,402,542 441,514,462,497,472,479,478,454,514,472,524,445,535,419,545,375,543,335,529,335,512,335,520,405,492,415,487,413,489,380,490,350,492,294,464,283,465,239,447,206 447,200,425,162,415,139,419,131,414,131 e"><v:fill type = "gradient" opacity = ".5" color2 = "#fbfdfc" angle = "0"></v:fill></v:shape><v:shape style="Z-INDEX: 3033; LEFT: 0px; WIDTH: 100px; POSITION: absolute; TOP: 0px; HEIGHT: 100px; rotation: 0" coordsize = "100,100" filled = "t" fillcolor = "#591a15" strokecolor = "#f5dfd4" path = " m162,419 c170,328,138,299,153,213,172,148,179,141,229,94,259,66,266,57,309,52,400,41,413,37,497,63,528,79,543,115,556,155,582,261,564,245,545,348,521,276,508,393 495,414,486,368,489,347,471,282,472,217,424,183,426,147,417,133,406,149,383,152,348,157,339,165,310,176,280,200,249,217,211,272,182,320,189,352,177,370 e"><v:fill type = "gradient" opacity = ".5" color2 = "#120202" angle = "0"></v:fill></v:shape><v:shape style="Z-INDEX: 3112; LEFT: 0px; WIDTH: 100px; POSITION: absolute; TOP: 0px; HEIGHT: 100px; rotation: 0" coordsize = "100,100" filled = "t" fillcolor = "#591a15" strokecolor = "#f5dfd4" path = " m195,292 c255,281,259,305,323,307,387,268,428,265,484,302,486,302,490,333,480,339,445,373,428,371,383,368,297,346,359,319,298,325,293,364,253,373,204,371,184,373,167,357 164,337,161,317,176,296,195,292 e"><v:fill type = "gradient" opacity = "58982f" color2 = "#010302" angle = "0"></v:fill></v:shape><v:shape style="LEFT: -2px; WIDTH: 100px; POSITION: absolute; TOP: 2px; HEIGHT: 100px; rotation: 0" coordsize = "100,100" filled = "t" fillcolor = "#b31120" strokecolor = "#f5dfd4" path = " m279,469 c289,453,304,433,317,446,329,435,348,450,363,463,355,486,287,485,279,469 e"><v:fill type = "gradient" opacity = "6553f" color2 = "#720b0e" angle = "0"></v:fill></v:shape><v:shape style="LEFT: 0px; WIDTH: 100px; POSITION: absolute; TOP: -1px; HEIGHT: 100px; rotation: 0" coordsize = "100,100" filled = "t" fillcolor = "#b31120" strokecolor = "#f5dfd4" path = " m279,469 c289,453,304,433,317,446,329,435,348,450,363,463,357,490,275,492,279,469 e"><v:fill type = "gradient" opacity = "6553f" color2 = "#720b0e" angle = "180"></v:fill></v:shape><v:shape style="LEFT: 0px; WIDTH: 100px; POSITION: absolute; TOP: 0px; HEIGHT: 100px; rotation: 0" coordsize = "100,100" filled = "t" fillcolor = "#591a15" strokecolor = "#f5dfd4" path = " m291,290 c284,273,231,267,201,265,246,261,291,259,294,291 e"><v:fill type = "frame" opacity = "1"></v:fill></v:shape><v:shape style="LEFT: 0px; WIDTH: 100px; POSITION: absolute; TOP: 0px; HEIGHT: 100px; rotation: 0" coordsize = "100,100" filled = "t" fillcolor = "#591a15" strokecolor = "#f5dfd4" path = " m348,280 c384,264,408,236,450,271,425,241,394,248,345,275 e"><v:fill type = "frame" opacity = "1"></v:fill></v:shape><v:shape style="Z-INDEX: 3055; LEFT: 0px; WIDTH: 100px; POSITION: absolute; TOP: 0px; HEIGHT: 100px; rotation: 0" coordsize = "100,100" filled = "t" fillcolor = "#631b04" strokecolor = "#f5dfd4" path = " m269,548 c288,577,327,639,340,663,370,592,385,597,478,507,480,497,476,460,478,459,428,527,337,571,269,548 e"><v:fill type = "gradient" opacity = ".5" color2 = "#c78a53" angle = "80"></v:fill></v:shape><v:shape style="Z-INDEX: 2993; LEFT: -4px; WIDTH: 100px; POSITION: absolute; TOP: 5px; HEIGHT: 100px; rotation: 0" coordsize = "100,100" filled = "t" fillcolor = "#f5ddd1" strokecolor = "#f5dfd4" path = " m477,479 c487,474,486,499,496,513,551,458,564,354,667,376,665,480,670,599,667,667,406,672,329,669,65,666,57,638,69,551,59,459,85,442,124,433,178,420,194,434,186,453 203,480,229,519,231,518,262,552,278,576,300,592,303,606,276,596,263,580,232,553,221,527,195,501,177,502,119,525,122,524,65,563,59,567,58,595,62,596,158,613 162,590,260,601,294,614,301,634,328,625,387,605,385,590,432,544,460,517,446,496,477,479 e"><v:fill type = "gradient" opacity = "1" color2 = "#e6bf97" angle = "85"></v:fill></v:shape><v:shape style="Z-INDEX: 3064; LEFT: 0px; WIDTH: 100px; POSITION: absolute; TOP: 0px; HEIGHT: 100px; rotation: 0" coordsize = "100,100" filled = "t" fillcolor = "#d12a2f" strokecolor = "red" path = " m60,606 c173,597,189,610,300,613,346,667,344,675,451,667,448,538,489,606,490,500,490,499,504,500,506,505,497,545,501,557,517,564,579,588,605,580,664,574,668,601,669,664 664,665,476,669,345,676,59,668,58,665,59,623,60,606 e"><v:fill type = "gradient" opacity = "1" color2 = "#020001" angle = "175"></v:fill></v:shape><v:shape style="LEFT: 0px; WIDTH: 100px; POSITION: absolute; TOP: 0px; HEIGHT: 100px; rotation: 0" coordsize = "100,100" filled = "t" fillcolor = "#2c1010" strokecolor = "#2c1010" path = " m294,410 c292,392,298,389,308,408 e"><v:fill type = "frame" opacity = "1"></v:fill></v:shape><v:shape style="LEFT: -5px; WIDTH: 100px; POSITION: absolute; TOP: 2px; HEIGHT: 100px; rotation: 0" coordsize = "100,100" filled = "t" fillcolor = "#2c1010" strokecolor = "#2c1010" path = " m326,405 c328,393,332,387,344,409 e"><v:fill type = "frame" opacity = "1"></v:fill></v:shape></DIV>
<P>看到一个论坛的 头像,做vml代码简单些,因为眼睛比眼镜复杂些,看效果。<DIV style="LEFT: 0px; OVERFLOW: hidden; WIDTH: 780px; POSITION: relative; TOP: 0px; HEIGHT: 750px"><?import namespace = v urn = "urn:schemas-microsoft-com:vml" implementation = "#default#VML" declareNamespace /><v:shape style="LEFT: 0px; WIDTH: 100px; POSITION: absolute; TOP: 0px; HEIGHT: 100px; rotation: 0" coordsize = "100,100" filled = "t" fillcolor = "#fccaaf" strokecolor = "#f5dfd4" path = " m414,131 c403,137,402,151,384,163,313,153,262,207,209,267,187,307,196,328,190,386,196,441,204,446,224,496,246,527,235,523,273,550,314,563,320,561,358,557,397,544,402,542 441,514,462,497,472,479,478,454,514,472,524,445,535,419,545,375,543,335,529,335,512,335,520,405,492,415,487,413,489,380,490,350,492,294,464,283,465,239,447,206 447,200,425,162,415,139,419,131,414,131 e"><v:fill type = "gradient" opacity = ".5" color2 = "#fbfdfc" angle = "0"></v:fill></v:shape><v:shape style="Z-INDEX: 3033; LEFT: 0px; WIDTH: 100px; POSITION: absolute; TOP: 0px; HEIGHT: 100px; rotation: 0" coordsize = "100,100" filled = "t" fillcolor = "#591a15" strokecolor = "#f5dfd4" path = " m162,419 c170,328,138,299,153,213,172,148,179,141,229,94,259,66,266,57,309,52,400,41,413,37,497,63,528,79,543,115,556,155,582,261,564,245,545,348,521,276,508,393 495,414,486,368,489,347,471,282,472,217,424,183,426,147,417,133,406,149,383,152,348,157,339,165,310,176,280,200,249,217,211,272,182,320,189,352,177,370 e"><v:fill type = "gradient" opacity = ".5" color2 = "#120202" angle = "0"></v:fill></v:shape><v:shape style="Z-INDEX: 3112; LEFT: 0px; WIDTH: 100px; POSITION: absolute; TOP: 0px; HEIGHT: 100px; rotation: 0" coordsize = "100,100" filled = "t" fillcolor = "#591a15" strokecolor = "#f5dfd4" path = " m195,292 c255,281,259,305,323,307,387,268,428,265,484,302,486,302,490,333,480,339,445,373,428,371,383,368,297,346,359,319,298,325,293,364,253,373,204,371,184,373,167,357 164,337,161,317,176,296,195,292 e"><v:fill type = "gradient" opacity = "58982f" color2 = "#010302" angle = "0"></v:fill></v:shape><v:shape style="LEFT: -2px; WIDTH: 100px; POSITION: absolute; TOP: 2px; HEIGHT: 100px; rotation: 0" coordsize = "100,100" filled = "t" fillcolor = "#b31120" strokecolor = "#f5dfd4" path = " m279,469 c289,453,304,433,317,446,329,435,348,450,363,463,355,486,287,485,279,469 e"><v:fill type = "gradient" opacity = "6553f" color2 = "#720b0e" angle = "0"></v:fill></v:shape><v:shape style="LEFT: 0px; WIDTH: 100px; POSITION: absolute; TOP: -1px; HEIGHT: 100px; rotation: 0" coordsize = "100,100" filled = "t" fillcolor = "#b31120" strokecolor = "#f5dfd4" path = " m279,469 c289,453,304,433,317,446,329,435,348,450,363,463,357,490,275,492,279,469 e"><v:fill type = "gradient" opacity = "6553f" color2 = "#720b0e" angle = "180"></v:fill></v:shape><v:shape style="LEFT: 0px; WIDTH: 100px; POSITION: absolute; TOP: 0px; HEIGHT: 100px; rotation: 0" coordsize = "100,100" filled = "t" fillcolor = "#591a15" strokecolor = "#f5dfd4" path = " m291,290 c284,273,231,267,201,265,246,261,291,259,294,291 e"><v:fill type = "frame" opacity = "1"></v:fill></v:shape><v:shape style="LEFT: 0px; WIDTH: 100px; POSITION: absolute; TOP: 0px; HEIGHT: 100px; rotation: 0" coordsize = "100,100" filled = "t" fillcolor = "#591a15" strokecolor = "#f5dfd4" path = " m348,280 c384,264,408,236,450,271,425,241,394,248,345,275 e"><v:fill type = "frame" opacity = "1"></v:fill></v:shape><v:shape style="Z-INDEX: 3055; LEFT: 0px; WIDTH: 100px; POSITION: absolute; TOP: 0px; HEIGHT: 100px; rotation: 0" coordsize = "100,100" filled = "t" fillcolor = "#631b04" strokecolor = "#f5dfd4" path = " m269,548 c288,577,327,639,340,663,370,592,385,597,478,507,480,497,476,460,478,459,428,527,337,571,269,548 e"><v:fill type = "gradient" opacity = ".5" color2 = "#c78a53" angle = "80"></v:fill></v:shape><v:shape style="Z-INDEX: 2993; LEFT: -4px; WIDTH: 100px; POSITION: absolute; TOP: 5px; HEIGHT: 100px; rotation: 0" coordsize = "100,100" filled = "t" fillcolor = "#f5ddd1" strokecolor = "#f5dfd4" path = " m477,479 c487,474,486,499,496,513,551,458,564,354,667,376,665,480,670,599,667,667,406,672,329,669,65,666,57,638,69,551,59,459,85,442,124,433,178,420,194,434,186,453 203,480,229,519,231,518,262,552,278,576,300,592,303,606,276,596,263,580,232,553,221,527,195,501,177,502,119,525,122,524,65,563,59,567,58,595,62,596,158,613 162,590,260,601,294,614,301,634,328,625,387,605,385,590,432,544,460,517,446,496,477,479 e"><v:fill type = "gradient" opacity = "1" color2 = "#e6bf97" angle = "85"></v:fill></v:shape><v:shape style="Z-INDEX: 3064; LEFT: 0px; WIDTH: 100px; POSITION: absolute; TOP: 0px; HEIGHT: 100px; rotation: 0" coordsize = "100,100" filled = "t" fillcolor = "#d12a2f" strokecolor = "red" path = " m60,606 c173,597,189,610,300,613,346,667,344,675,451,667,448,538,489,606,490,500,490,499,504,500,506,505,497,545,501,557,517,564,579,588,605,580,664,574,668,601,669,664 664,665,476,669,345,676,59,668,58,665,59,623,60,606 e"><v:fill type = "gradient" opacity = "1" color2 = "#020001" angle = "175"></v:fill></v:shape><v:shape style="LEFT: 0px; WIDTH: 100px; POSITION: absolute; TOP: 0px; HEIGHT: 100px; rotation: 0" coordsize = "100,100" filled = "t" fillcolor = "#2c1010" strokecolor = "#2c1010" path = " m294,410 c292,392,298,389,308,408 e"><v:fill type = "frame" opacity = "1"></v:fill></v:shape><v:shape style="LEFT: -5px; WIDTH: 100px; POSITION: absolute; TOP: 2px; HEIGHT: 100px; rotation: 0" coordsize = "100,100" filled = "t" fillcolor = "#2c1010" strokecolor = "#2c1010" path = " m326,405 c328,393,332,387,344,409 e"><v:fill type = "frame" opacity = "1"></v:fill></v:shape></DIV></P>
<P> </P>
[ 本帖最后由 沐月乘风 于 2009-6-6 01:04 编辑 ] 代码呢
页:
[1]