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. setField :: forall (f :: Symbol) s a . HasField' f s a => a -> s -> s

    generic-optics Data.Generics.Product.Fields

    >>> setField @"age" 60 human
    Human {name = "Tunyasz", age = 60, address = "London", other = False}
    

  2. setPosition :: forall (i :: Nat) s a . HasPosition' i s a => a -> s -> s

    generic-optics Data.Generics.Product.Positions

    >>> setPosition @2 60 human
    Human {name = "Tunyasz", age = 60, address = "London"}
    

  3. setTyped :: HasType a s => a -> s -> s

    generic-optics Data.Generics.Product.Typed

    Set field at type.

  4. setAltitude :: HasAltitude a => Double -> a -> a

    geodetics Geodetics.Altitude

    No documentation available.

  5. setAntialias :: Antialias -> Render ()

    gi-cairo-render GI.Cairo.Render

    Set the antialiasing mode of the rasterizer used for drawing shapes. This value is a hint, and a particular backend may or may not support a particular value. At the current time, no backend supports AntialiasSubpixel when drawing shapes. Note that this option does not affect text rendering, instead see fontOptionsSetAntilias.

  6. setDash :: [Double] -> Double -> Render ()

    gi-cairo-render GI.Cairo.Render

    Sets the dash pattern to be used by stroke. A dash pattern is specified by dashes, a list of positive values. Each value provides the user-space length of altenate "on" and "off" portions of the stroke. The offset specifies an offset into the pattern at which the stroke begins. If dashes is [] then dashing is disabled.

  7. setFillRule :: FillRule -> Render ()

    gi-cairo-render GI.Cairo.Render

    Set the current fill rule within the cairo context. The fill rule is used to determine which regions are inside or outside a complex (potentially self-intersecting) path. The current fill rule affects both fill and clip. See FillRule for details on the semantics of each available fill rule.

  8. setFontMatrix :: Matrix -> Render ()

    gi-cairo-render GI.Cairo.Render

    Sets the current font matrix to matrix. The font matrix gives a transformation from the design space of the font (in this space, the em-square is 1 unit by 1 unit) to user space. Normally, a simple scale is used (see setFontSize), but a more complex font matrix can be used to shear the font or stretch it unequally along the two axes.

  9. setFontOptions :: FontOptions -> Render ()

    gi-cairo-render GI.Cairo.Render

    Sets a set of custom font rendering options. Rendering options are derived by merging these options with the options derived from underlying surface; if the value in options has a default value (like AntialiasDefault), then the value from the surface is used.

  10. setFontSize :: Double -> Render ()

    gi-cairo-render GI.Cairo.Render

    Sets the current font matrix to a scale by a factor of size, replacing any font matrix previously set with setFontSize or setFontMatrix. This results in a font size of size user space units. (More precisely, this matrix will result in the font's em-square being a size by size square in user space.)

Page 779 of many | Previous | Next