Skip to content

feat: Pattern color space and tiling patterns (ISO 32000-2 §8.7.3) (Block F) #30

@ralflang

Description

@ralflang

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions