Hoogle Search

Within LTS Haskell 24.52 (ghc-9.10.3)

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

  1. 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.

  2. 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.

  3. 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.

  4. 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.

  5. setTolerance :: Double -> Render ()

    gi-cairo-render GI.Cairo.Render

    Sets the tolerance used when converting paths into trapezoids. Curved segments of the path will be subdivided until the maximum deviation between the original path and the polygonal approximation is less than tolerance. The default value is 0.1. A larger value will give better performance, a smaller value, better appearance. (Reducing the value from the default value of 0.1 is unlikely to improve appearance significantly.)

  6. setClientGroupEvents :: (MonadIO m, IsClient o) => o -> Bool -> m ()

    gi-dbusmenu GI.Dbusmenu.Objects.Client

    Set the value of the “group-events” property. When overloading is enabled, this is equivalent to

    set client [ #groupEvents := value ]
    

  7. setServerRootNode :: (MonadIO m, IsServer o, IsMenuitem a) => o -> a -> m ()

    gi-dbusmenu GI.Dbusmenu.Objects.Server

    Set the value of the “root-node” property. When overloading is enabled, this is equivalent to

    set server [ #rootNode := value ]
    

  8. setColorStopOffset :: MonadIO m => ColorStop -> Float -> m ()

    gi-gsk GI.Gsk.Structs.ColorStop

    Set the value of the “offset” field. When overloading is enabled, this is equivalent to

    set colorStop [ #offset := value ]
    

  9. setParseLocationBytes :: MonadIO m => ParseLocation -> CSize -> m ()

    gi-gsk GI.Gsk.Structs.ParseLocation

    Set the value of the “bytes” field. When overloading is enabled, this is equivalent to

    set parseLocation [ #bytes := value ]
    

  10. setParseLocationChars :: MonadIO m => ParseLocation -> CSize -> m ()

    gi-gsk GI.Gsk.Structs.ParseLocation

    Set the value of the “chars” field. When overloading is enabled, this is equivalent to

    set parseLocation [ #chars := value ]
    

Page 781 of many | Previous | Next