One of the problems with patterns is that you never know how individual tiles are going to be laid over the area. E.g. if you use star pattern, sometimes stars on the left side of the area shall be broken in half, and sometimes they shall be whole. Is there any way to control how tiles are laid over the area?
|
The patterns are not drawn at tikz/pgf level, but instead they are "passed" to the driver language (pdf, postscript), which uses its own pattern procedures, for the sake of efficiency. You can imagine those patterns as "already drawn" in a invisible bottom layer and covering all the page. When you fill a shape with that pattern, you merely are cutting a "hole" with that shape, through which the udnerlying pattern can be seen. This MWE should clarify what I mean. Note how the pattern appears to be "continued" from one rectangle to another, even if they belong to different tikz figures.
Even worse, the "underlying pattern" is different depending on the final driver (PostScript, PDF or SVG). Quoting TikZ manual:
So the answer apparently is that you cannot affect this mapping from tikz/pgf. |
||||
|
|

