Hoogle Search
Within LTS Haskell 24.67 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
setLineWidth :: Double -> Render ()cairo Graphics.Rendering.Cairo 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.
setMatrix :: Matrix -> Render ()cairo Graphics.Rendering.Cairo Modifies the current transformation matrix (CTM) by setting it equal to matrix.
setMiterLimit :: Double -> Render ()cairo Graphics.Rendering.Cairo No documentation available.
setOperator :: Operator -> Render ()cairo Graphics.Rendering.Cairo Sets the compositing operator to be used for all drawing operations. See Operator for details on the semantics of each available compositing operator.
setSource :: Pattern -> Render ()cairo Graphics.Rendering.Cairo 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.
setSourceRGB :: Double -> Double -> Double -> Render ()cairo Graphics.Rendering.Cairo 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.
setSourceRGBA :: Double -> Double -> Double -> Double -> Render ()cairo Graphics.Rendering.Cairo 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.
setSourceSurface :: Surface -> Double -> Double -> Render ()cairo Graphics.Rendering.Cairo 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.
setTolerance :: Double -> Render ()cairo Graphics.Rendering.Cairo 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.)
setAddrRange# :: Addr# -> Int# -> Int# -> State# RealWorld -> State# RealWorldghc-internal GHC.Internal.Base setAddrRange# dest len c sets all of the bytes in [dest, dest+len) to the value c. Analogous to the standard C function memset, but with a different argument order. Warning: this can fail with an unchecked exception.