Advertisement
Guest User

Untitled

a guest
Jun 6th, 2012
296
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.98 KB | None | 0 0
  1. Our SMask contains a fill of white square, and a constant alpha of 0.33
  2.  
  3. The PDF code looks as follows:
  4.  
  5. /alpha gs
  6. /redsquare Do
  7. /greensquare Do
  8.  
  9.  
  10. Old code:
  11.  
  12. 1 btm
  13. 3 fill white square
  14. 5 etm
  15. 6 btg
  16. 8 fill red square
  17. A etg
  18. B
  19. C btm
  20. E fill white square
  21. G etm
  22. H btg
  23. J fill green square
  24. L etg
  25.  
  26. New code: Essentially the same sequence of events, but with extra knockout
  27. groups around the fills:
  28.  
  29. 1 btm \
  30. 2 btg |
  31. 3 fill white square > Call this mask M1
  32. 4 etg |
  33. 5 etm /
  34. 6 btg
  35. 7 btg
  36. 8 fill red square
  37. 9 etg
  38. A etg
  39. B
  40. C btm
  41. D btg
  42. E fill white square
  43. F etg <----------------- Problem occurs here.
  44. G etm
  45. H btg
  46. I btg
  47. J fill green square
  48. K etg
  49. L etg
  50.  
  51. When the code comes to do the etg highlighted above, it finds that M1
  52. is still in force.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement