Hoogle Search

Within LTS Haskell 24.69 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. meshPatternSetCornerColorRGBA :: MonadIO m => Pattern -> Int -> Double -> Double -> Double -> Double -> m ()

    cairo Graphics.Rendering.Cairo

    Sets the color of a corner of the current patch in a mesh pattern. qv https://www.cairographics.org/manual/cairo-cairo-pattern-t.html#cairo-mesh-pattern-set-corner-color-rgba

  2. patternSetExtend :: MonadIO m => Pattern -> Extend -> m ()

    cairo Graphics.Rendering.Cairo

    No documentation available.

  3. patternSetFilter :: MonadIO m => Pattern -> Filter -> m ()

    cairo Graphics.Rendering.Cairo

    No documentation available.

  4. patternSetMatrix :: MonadIO m => Pattern -> Matrix -> m ()

    cairo Graphics.Rendering.Cairo

    Sets the pattern's transformation matrix to matrix. This matrix is a transformation from user space to pattern space. When a pattern is first created it always has the identity matrix for its transformation matrix, which means that pattern space is initially identical to user space. Important: Please note that the direction of this transformation matrix is from user space to pattern space. This means that if you imagine the flow from a pattern to user space (and on to device space), then coordinates in that flow will be transformed by the inverse of the pattern matrix. Also, please note the discussion of the user-space locking semantics of setSource.

  5. pdfSurfaceSetSize :: MonadIO m => Surface -> Double -> Double -> m ()

    cairo Graphics.Rendering.Cairo

    Changes the size of a PDF surface for the current (and subsequent) pages. This function should only be called before any drawing operations have been performed on the current page. The simplest way to do this is to call this function immediately after creating the surface or immediately after completing a page with either showPage or copyPage.

  6. psSurfaceSetSize :: MonadIO m => Surface -> Double -> Double -> m ()

    cairo Graphics.Rendering.Cairo

    Changes the size of a PostScript surface for the current (and subsequent) pages. This function should only be called before any drawing operations have been performed on the current page. The simplest way to do this is to call this function immediately after creating the surface or immediately after completing a page with either showPage or copyPage.

  7. resetClip :: Render ()

    cairo Graphics.Rendering.Cairo

    Reset the current clip region to its original, unrestricted state. That is, set the clip region to an infinitely large shape containing the target surface. Equivalently, if infinity is too hard to grasp, one can imagine the clip region being reset to the exact bounds of the target surface. Note that code meant to be reusable should not call resetClip as it will cause results unexpected by higher-level code which calls clip. Consider using save and restore around clip as a more robust means of temporarily restricting the clip region.

  8. surfaceSetDeviceOffset :: MonadIO m => Surface -> Double -> Double -> m ()

    cairo Graphics.Rendering.Cairo

    Sets an offset that is added to the device coordinates determined by the CTM when drawing to surface. One use case for this function is when we want to create a Surface that redirects drawing for a portion of an onscreen surface to an offscreen surface in a way that is completely invisible to the user of the cairo API. Setting a transformation via translate isn't sufficient to do this, since functions like deviceToUser will expose the hidden offset. Note that the offset only affects drawing to the surface, not using the surface in a surface pattern.

  9. svgSurfaceSetDocumentUnit :: MonadIO m => Surface -> SvgUnit -> m ()

    cairo Graphics.Rendering.Cairo

    Use the specified unit for the width and height of the generated SVG file.

  10. package enummapset

    IntMap and IntSet with Enum keys/elements. This package contains simple wrappers around Data.IntMap and Data.IntSet with Enum keys and elements respectively. Especially useful for Ints wrapped with `newtype`.

Page 1289 of many | Previous | Next