Portability | portable |
---|---|
Stability | experimental |
Maintainer | misc@NOSPAMalpheccar.org |
PDF Patterns
- data TilingType
- data PDFColoredPattern
- data PDFUncoloredPattern
- createColoredTiling :: PDFFloat -> PDFFloat -> PDFFloat -> PDFFloat -> PDFFloat -> PDFFloat -> TilingType -> Draw a -> PDF (PDFReference PDFColoredPattern)
- createUncoloredTiling :: PDFFloat -> PDFFloat -> PDFFloat -> PDFFloat -> PDFFloat -> PDFFloat -> TilingType -> Draw a -> PDF (PDFReference PDFUncoloredPattern)
- setColoredFillPattern :: PDFReference PDFColoredPattern -> Draw ()
- setColoredStrokePattern :: PDFReference PDFColoredPattern -> Draw ()
- setUncoloredFillPattern :: PDFReference PDFUncoloredPattern -> Color -> Draw ()
- setUncoloredStrokePattern :: PDFReference PDFUncoloredPattern -> Color -> Draw ()
Pattern
data TilingType Source
Tiling type
data PDFColoredPattern Source
PdfObject PDFColoredPattern | |
PdfResourceObject (PDFReference PDFColoredPattern) |
data PDFUncoloredPattern Source
A PDF Pattern
PdfObject PDFUncoloredPattern | |
PdfResourceObject (PDFReference PDFUncoloredPattern) |
:: PDFFloat | Left |
-> PDFFloat | Bottom |
-> PDFFloat | Right |
-> PDFFloat | Top |
-> PDFFloat | Horizontal step |
-> PDFFloat | Vertical step |
-> TilingType | |
-> Draw a | Drawing commands |
-> PDF (PDFReference PDFColoredPattern) |
Create a colored tiling pattern
:: PDFFloat | Left |
-> PDFFloat | Bottom |
-> PDFFloat | Right |
-> PDFFloat | Top |
-> PDFFloat | Horizontal step |
-> PDFFloat | Vertical step |
-> TilingType | |
-> Draw a | Drawing commands |
-> PDF (PDFReference PDFUncoloredPattern) |
Create an uncolored tiling pattern
setColoredFillPattern :: PDFReference PDFColoredPattern -> Draw ()Source
Set the fill pattern
setColoredStrokePattern :: PDFReference PDFColoredPattern -> Draw ()Source
Set the stroke pattern
setUncoloredFillPattern :: PDFReference PDFUncoloredPattern -> Color -> Draw ()Source
Set the fill pattern
setUncoloredStrokePattern :: PDFReference PDFUncoloredPattern -> Color -> Draw ()Source
Set the stroke pattern