Author Topic: How to get pixel vector?  (Read 2391 times)

0 Members and 1 Guest are viewing this topic.

myloveflyer

  • Newt
  • Posts: 152
How to get pixel vector?
« on: December 12, 2010, 11:05:27 PM »
How to get a straight line, arc, polylines and other vector pixels, I want to show the icon above for dialog.
The following procedure is Lee's program:
(Defun logo (key)
    (Start_image key)
    (Mapcar 'vector_image
            '(2,221,100,007,000,016,666 7,433,627,363,021,212,122 22 22
              2,221,212,128,282,827 2,730,292,930,524,343 4,344,444,646,454,545
              4,552,525,251,515,151 5,152,626,566,686,868 6,867,677,575,757,474
              7,366,585,859,595,959 5,257,575,656,565,657 5,865,656,565,669,594
              9,492,919,191,908,989 8,887,868,574,747,575 7,677,787,980,818,283
              8,485,868,788,888,990 9,192,939,495,747,373 7,272,717,171,717,171
              7,172,727,273,848,382 8,180,797,978,777,776 7,676,767,677,777,879
              7,980,818,283,949,495 8,383,828,180,797,877 7,675,748,485,868,788
              89 89 90 91 9,191,919,295,949,392 9,190,898,988,878,685 84)

            '(20 20 2,323,232,424,000,011,201 1,102,247,150,000,112,323
              23 24 24 2,424,242,323,211,000,001 1 7,232,323,242,424,242,423
              23 1 1,101,016,192,122,232,424 24 24 2,424,232,322,445,566,724
              2,424,242,323,221,916,776 5 5,222,222,171,718,181,920 20 20 21 21
              2,121,222,323,232,424 2,425,252,525,252,525 2,524,242,423,232,222
              2,222,788,910,111,213 1,415,161,718,191,920 2,121,212,120,201,919
              18 17 1,615,141,312,121,110,998 8,877,774,444,444,556,677
              8 8 8 9 9 9 10 1,111,111,177,766,554,444 4 of 4)

            '(2,160,000,210,000,116,667 7,364,636,302,121,212,222 22 22 21
              21 2,128,282,827,272,729 2,930,304,343,434,444 4,346,454,545,455,252
              52 5,151,515,151,525,265 5,868,686,868,676,775 7,575,747,473,655,858
              59 5,959,595,157,575,656 5,656,576,662,656,565 6,666,949,495,919,191
              90 8,989,888,786,858,474 7,575,767,778,798,081 8,283,848,586,878,888
              89 9,091,929,394,959,273 7,372,727,171,717,171 7,171,727,272,737,483
              82 8,180,797,978,777,776 7,676,767,677,777,879 7,980,818,283,849,495
              94 8,382,818,079,787,776 7,574,748,586,878,889 8,990,919,191,919,295
              94 93 92 91 9,089,898,887,868,584 83)

            '(20 20 23 2,324,242,400,011,231,110 0 1,572,420,001,123,232,324
              24 24 24 24 2,323,711,000,001,122,323 2,324,242,424,242,323,111
              0 0,161,621,222,324,242,424 24 24 23 23 2,274,556,672,224,242,423
              23 22 19 19 10 7,655,422,222,217,181,819 20 20 2,021,212,121,222,323
              2,324,242,425,252,525 2,525,252,524,242,423 2,322,222,222,178,891,011
              12 13 1,415,161,718,191,920 2,121,212,120,201,919 1,817,161,514,131,212
              11 10 9,988,877,777,444,444,556 6,778,889,991,011,111,111
              77766554444444)

            '(178 178 178 178 178,178,178,178,178 178,178,178,178,178 178,178,178,178,178
              178 178 178 178 178,178,178,178,178 178,178,178,178,178 178,178,178,178,178
              178 178 178 178 178,178,178,178,178 178,178,178,178,178 178,178,178,178,178
              178 178 178 178 178,178,178,178,178 178,178,178,178,178 178,178,178,178,178
              178 178 178 178 178,178,178,178,178 178,178,178,178,178 178,178,178,178,178
              178 178 178 178 178,178,178,178,178 178,178,178,178,178 178,178,178,178,178
              178 178 178 178 178,178,178,178,178 178,178,178,178,178 178,178,178,178,178
              178 178 178 178 178,178,178,178,178 178,178,178,178,178 178,178,178,178,178
              178 178 178 178 178,178,178,178,178 178,178,178,178,178 178,178,178,178,178
              178 178 178 178 178,178,178,178,178 178,178,178,178,178 178,178,178,178,178
              178 178 178 178 178,178,178,178,178 178,178,178,178,178 178,178,178,178,178
              178 178 178 178 178,178,178,178,178))
    
  (End_image))


DCL shown above is LMAC,
I hope you will help me,Thanks
DWG below is what I want the icon in the dialog shown above
« Last Edit: December 13, 2010, 12:58:51 AM by myloveflyer »
Never give up !

CAB

  • Global Moderator
  • Seagull
  • Posts: 10401
Re: How to get pixel vector?
« Reply #1 on: December 13, 2010, 08:37:13 AM »
I've reached the age where the happy hour is a nap. (°¿°)
Windows 10 core i7 4790k 4Ghz 32GB GTX 970
Please support this web site.

CAB

  • Global Moderator
  • Seagull
  • Posts: 10401
Re: How to get pixel vector?
« Reply #2 on: December 13, 2010, 08:51:51 AM »
I've reached the age where the happy hour is a nap. (°¿°)
Windows 10 core i7 4790k 4Ghz 32GB GTX 970
Please support this web site.

myloveflyer

  • Newt
  • Posts: 152
Re: How to get pixel vector?
« Reply #3 on: December 13, 2010, 11:52:37 PM »
Thanks CAB!
Although we are not a country, but to be here I feel very honored to get to know you.
Never give up !