Pattern Color Space and Tiling Patterns
Implement tiling patterns (Type 1) - repeating content cells painted as a color space.
TilingPattern wraps a content stream + BBox + XStep/YStep + paint type.
Reuses Form XObject concepts for the pattern cell content.
Pattern color space registered in /ColorSpace, pattern object in /Pattern resource dictionary.
ContentStreamBuilder: setFillPattern() / setStrokePattern().
PdfWriter: defineTilingPattern() + use via color API.
Tests: tiling pattern renders repeating cells, pattern resources in output, colored vs uncolored patterns.
Pattern Color Space and Tiling Patterns
Implement tiling patterns (Type 1) - repeating content cells painted as a color space.
TilingPattern wraps a content stream + BBox + XStep/YStep + paint type.
Reuses Form XObject concepts for the pattern cell content.
Pattern color space registered in /ColorSpace, pattern object in /Pattern resource dictionary.
ContentStreamBuilder:
setFillPattern()/setStrokePattern().PdfWriter:
defineTilingPattern()+ use via color API.Tests: tiling pattern renders repeating cells, pattern resources in output, colored vs uncolored patterns.