| Portability | portable | 
|---|---|
| Stability | experimental | 
| Maintainer | misc@NOSPAMalpheccar.org | 
| Safe Haskell | None | 
Graphics.PDF.Pattern
Contents
Description
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
Constructors
| ConstantSpacing | |
| NoDistortion | |
| ConstantSpacingAndFaster | 
Instances
data PDFColoredPattern Source
data PDFUncoloredPattern Source
A PDF Pattern
Arguments
| :: 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
Arguments
| :: 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