星火微课系统客户端
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

cropmarks.inc 1.3KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. /cropmarks {
  2. /cm {72 mul 0.3937 mul} def
  3. /mm {72 mul 0.3937 mul 0.1 mul} def
  4. /markLength 1.5 cm def
  5. /spaceFromCenter 0.5 cm def
  6. /height exch def
  7. /width exch def
  8. /lineWidthBig 0.1 mm def
  9. /lineWidthSmall 0.05 mm def
  10. /doACircle
  11. {0 360 arc stroke } def
  12. /setMark{
  13. newpath
  14. 0 cm 0 cm moveto
  15. 0 cm 0 cm spaceFromCenter add moveto
  16. 0 cm 0 cm spaceFromCenter add markLength add lineto
  17. stroke
  18. newpath
  19. 0 cm spaceFromCenter add 0 cm moveto
  20. 0 cm spaceFromCenter add markLength add 0 cm lineto
  21. stroke
  22. } def
  23. /setRegistrationMark {
  24. lineWidthSmall setlinewidth
  25. 0 0 0.2 cm doACircle
  26. lineWidthBig setlinewidth
  27. 0 0 0.4 cm doACircle
  28. lineWidthSmall setlinewidth
  29. /length1 0.7 cm def
  30. newpath
  31. 0 length1 moveto
  32. 0 cm length1 -1 mul lineto
  33. stroke
  34. newpath
  35. length1 0 moveto
  36. length1 -1 mul 0 cm lineto
  37. stroke
  38. -0.6 1.4142 div cm -0.6 1.4142 div cm translate
  39. } def
  40. gsave
  41. lineWidthSmall mm setlinewidth
  42. 180 rotate
  43. setMark
  44. -180 rotate
  45. 0 cm height translate
  46. 90 rotate
  47. setMark
  48. -90 rotate
  49. -0 cm -1 height mul translate
  50. width 0 cm translate
  51. 270 rotate
  52. setMark
  53. -270 rotate
  54. -1 width mul -0 cm translate
  55. width height translate
  56. setMark
  57. -1 width mul -1 height mul translate
  58. gsave
  59. width 2 div spaceFromCenter -1 mul markLength -2 div add translate
  60. setRegistrationMark
  61. grestore
  62. width 2 div markLength 2 div height spaceFromCenter add add translate
  63. setRegistrationMark
  64. grestore
  65. }def