(no subject)
Ivan Ivanov <[email protected]> Thu, 2 Oct 2003 07:07:54 -0700 (PDT)
| Newsgroups | gmane.comp.tex.metapost,gmane.comp.tex.metafont |
|---|---|
| Message-ID | <[email protected]> |
At 03:11 PM 9/29/2003 -0700, you wrote: >>I receieve a white gap between red thick graphics and >>the real fraphics of F and the gap is at the point of >>local minimum. This was what I wanted to overcome. >Naturally: the pen has radius .1cm but the distance >between the new >path >and the old varies from almost .2cm at one end to >about .14cm at the >other. Well, I thought that the variation won't be so big. >This is unnecesarily hard work. If I understand what >you want the >following should work very well: >beginfig(3); >path p; p := makepath (H, 0, .1, 1) scaled 5cm; >fill (reverse p)--(p shifted (.2cm*down))--cycle >withcolor red; >draw p; draw p shifted (.2cm*down) withcolor red; >endfig; Thanks, it is really cleaner and shorter. The simple things are so hard to see. >By the way: filling after drawing covers up 1/2 the >line drawn. >Drawing after filling covers up a thin strip of the >fill color. >I would do the second order. In general, I also prefer drawing after filling >The Metapost/Metafont macros that support the mfpic >drawing package >for TeX contain code very similar to makePath and use >the method in >figure 3 above to fill the space between two >functions. I will surely check this. Thank you once again Ivan __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com