Hoogle Search

Within LTS Haskell 24.68 (ghc-9.10.3)

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

  1. setLineCap :: LineCap -> Render ()

    gi-cairo-render GI.Cairo.Render

    Sets the current line cap style within the cairo context. See LineCap for details about how the available line cap styles are drawn. As with the other stroke parameters, the current line cap style is examined by stroke, strokeExtents, and strokeToPath, but does not have any effect during path construction.

  2. setLineJoin :: LineJoin -> Render ()

    gi-cairo-render GI.Cairo.Render

    Sets the current line join style within the cairo context. See LineJoin for details about how the available line join styles are drawn. As with the other stroke parameters, the current line join style is examined by stroke, strokeExtents, and strokeToPath, but does not have any effect during path construction.

  3. setLineWidth :: Double -> Render ()

    gi-cairo-render GI.Cairo.Render

    Sets the current line width within the cairo context. The line width specifies the diameter of a pen that is circular in user-space. As with the other stroke parameters, the current line cap style is examined by stroke, strokeExtents, and strokeToPath, but does not have any effect during path construction.

  4. setMatrix :: Matrix -> Render ()

    gi-cairo-render GI.Cairo.Render

    Modifies the current transformation matrix (CTM) by setting it equal to matrix.

  5. setMiterLimit :: Double -> Render ()

    gi-cairo-render GI.Cairo.Render

    No documentation available.

  6. setOperator :: Operator -> Render ()

    gi-cairo-render GI.Cairo.Render

    Sets the compositing operator to be used for all drawing operations. See Operator for details on the semantics of each available compositing operator.

  7. setSource :: Pattern -> Render ()

    gi-cairo-render GI.Cairo.Render

    Sets the source pattern within the context to source. This pattern will then be used for any subsequent drawing operation until a new source pattern is set. Note: The pattern's transformation matrix will be locked to the user space in effect at the time of setSource. This means that further modifications of the current transformation matrix will not affect the source pattern. See setMatrix.

  8. setSourceRGB :: Double -> Double -> Double -> Render ()

    gi-cairo-render GI.Cairo.Render

    Sets the source pattern within the context to an opaque color. This opaque color will then be used for any subsequent drawing operation until a new source pattern is set. The color components are floating point numbers in the range 0 to 1. If the values passed in are outside that range, they will be clamped.

  9. setSourceRGBA :: Double -> Double -> Double -> Double -> Render ()

    gi-cairo-render GI.Cairo.Render

    Sets the source pattern within the context to a translucent color. This color will then be used for any subsequent drawing operation until a new source pattern is set. The color and alpha components are floating point numbers in the range 0 to 1. If the values passed in are outside that range, they will be clamped.

  10. setSourceSurface :: Surface -> Double -> Double -> Render ()

    gi-cairo-render GI.Cairo.Render

    This is a convenience function for creating a pattern from surface and setting it as the source in the context with setSource. The x and y parameters give the user-space coordinate at which the surface origin should appear. (The surface origin is its upper-left corner before any transformation has been applied.) The x and y patterns are negated and then set as translation values in the pattern matrix. Other than the initial translation pattern matrix, as described above, all other pattern attributes, (such as its extend mode), are set to the default values as in patternCreateForSurface. The resulting pattern can be queried with getSource so that these attributes can be modified if desired, (eg. to create a repeating pattern with patternSetExtent.

Page 780 of many | Previous | Next