|
|
1.1 ! root 1: //!!! put into resource - kentse. ! 2: ! 3: // The pattern gray table gives the percentage of the ! 4: // input color present in the output color. ! 5: // A value of 100% produces the original color. ! 6: // A value of 0% produces black. ! 7: ! 8: PS_FIX apsfxPatGray[] = ! 9: { ! 10: 0x00000006, // .1 ! 11: 0x0000000C, // .2 ! 12: 0x00000013, // .3 ! 13: 0x00000019, // .4 ! 14: 0x00000026, // .6 NOTE: no .5 ! 15: 0x0000002C, // .7 ! 16: 0x00000033, // .8 ! 17: 0x00000039, // .9 ! 18: }; ! 19: ! 20: static PSZ apszBase[] = { "/getpsize {pathbbox /pt ed", ! 21: "/pr ed /pb ed /pl ed", ! 22: "pt pb sub 36 add /ph ed pr pl sub 36 add /pw ed} bd", ! 23: "/36grid {35 add cvi 36 idiv 1 sub 36 mul} bd", ! 24: "/psize {clip getpsize} bd /rd {round} bd", ! 25: "/eopsize {eoclip getpsize} bd /cpt {currentpoint} bd", ! 26: ! 27: "/phoriz {ph pw add 3.6 div cvi 4 add", ! 28: "n pl pw sub 36grid pb ph sub 36grid M", ! 29: "/pwh {pw ph add dup add} def", ! 30: "{pwh 0 rlt cpt []0 sd s M pwh neg 72 15 div rm} repeat} bd", ! 31: ! 32: NULL ! 33: };
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.